summaryrefslogtreecommitdiff
path: root/opcodes/mt-ibld.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-06 05:30:19 +0000
committerDoug Evans <dje@google.com>2010-01-06 05:30:19 +0000
commitfe8afbc48fd3fba73600670fd2b0fcbfd45c440a (patch)
treec9237754fd594908f3f099468e86daa793096487 /opcodes/mt-ibld.c
parent7c5b2b7a2509d8cdf94a59cbbb44c13cbe6c6183 (diff)
downloadbinutils-gdb-fe8afbc48fd3fba73600670fd2b0fcbfd45c440a.tar.gz
cpu/
* m32c.cpu (f-dsp-32-u24): Fix mode of extract handler. (f-dsp-40-u20, f-dsp-40-u24): Ditto. opcodes/ * cgen-ibld.in: #include "cgen/basic-modes.h". * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
Diffstat (limited to 'opcodes/mt-ibld.c')
-rw-r--r--opcodes/mt-ibld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/mt-ibld.c b/opcodes/mt-ibld.c
index 162800b8797..d5cd14e4d0d 100644
--- a/opcodes/mt-ibld.c
+++ b/opcodes/mt-ibld.c
@@ -33,6 +33,7 @@
#include "symcat.h"
#include "mt-desc.h"
#include "mt-opc.h"
+#include "cgen/basic-modes.h"
#include "opintl.h"
#include "safe-ctype.h"
@@ -681,7 +682,7 @@ mt_cgen_insert_operand (CGEN_CPU_DESC cd,
case MT_OPERAND_LOOPSIZE :
{
long value = fields->f_loopo;
- value = ((unsigned int) (value) >> (2));
+ value = ((USI) (value) >> (2));
errmsg = insert_normal (cd, value, 0, 0, 7, 8, 32, total_length, buffer);
}
break;