URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 17 |
Rev 161 |
Line 51... |
Line 51... |
{
|
{
|
return (x == 0) || (x == M_IS) || (x == M_FU) || (x == M_IU) || (x == M_T)
|
return (x == 0) || (x == M_IS) || (x == M_FU) || (x == M_IU) || (x == M_T)
|
|| (x == M_TFU) || (x == M_S2RND) || (x == M_ISS2) || (x == M_IH);
|
|| (x == M_TFU) || (x == M_S2RND) || (x == M_ISS2) || (x == M_IH);
|
}
|
}
|
|
|
|
static inline int is_macmod_signed (int x)
|
|
{
|
|
return (x == 0) || (x == M_IS) || (x == M_T) || (x == M_S2RND)
|
|
|| (x == M_ISS2) || (x == M_IH) || (x == M_W32);
|
|
}
|
|
|
/* dsp32mac
|
/* dsp32mac
|
+----+----+---+---|---+----+----+---|---+---+---+---|---+---+---+---+
|
+----+----+---+---|---+----+----+---|---+---+---+---|---+---+---+---+
|
| 1 | 1 | 0 | 0 |.M.| 0 | 0 |.mmod..........|.MM|.P.|.w1|.op1...|
|
| 1 | 1 | 0 | 0 |.M.| 0 | 0 |.mmod..........|.MM|.P.|.w1|.op1...|
|
|.h01|.h11|.w0|.op0...|.h00|.h10|.dst.......|.src0......|.src1......|
|
|.h01|.h11|.w0|.op0...|.h00|.h10|.dst.......|.src0......|.src1......|
|
+----+----+---+---|---+----+----+---|---+---+---+---|---+---+---+---+
|
+----+----+---+---|---+----+----+---|---+---+---+---|---+---+---+---+
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.