diff options
author | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:15:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:15:25 +0000 |
commit | be312e5984ced5da25d8e5e78a45527d8f292b0b (patch) | |
tree | 98448c4c1d5a46f8964b36234a1bcb7b0dd9cf77 /opcodes/frv-opc.c | |
parent | 64e05c8948a2b2d8c0e3e88768b69b28ca831276 (diff) | |
download | binutils-redhat-be312e5984ced5da25d8e5e78a45527d8f292b0b.tar.gz |
FRV: Use a signed 6-bit immediate value not unsigned for mdrotli insn.
Use maintainer mode to regenerate ports.
Diffstat (limited to 'opcodes/frv-opc.c')
-rw-r--r-- | opcodes/frv-opc.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/frv-opc.c b/opcodes/frv-opc.c index 5e56e35764..545056b692 100644 --- a/opcodes/frv-opc.c +++ b/opcodes/frv-opc.c @@ -1033,6 +1033,10 @@ static const CGEN_IFMT ifmt_mcuti = { 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_ACC40SI) }, { F (F_OPE1) }, { F (F_S6) }, { 0 } } }; +static const CGEN_IFMT ifmt_mdrotli = { + 32, 32, 0x1fc0fc0, { { F (F_PACK) }, { F (F_FRK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_S6) }, { 0 } } +}; + static const CGEN_IFMT ifmt_mcmpsh = { 32, 32, 0x79fc0fc0, { { F (F_PACK) }, { F (F_COND_NULL) }, { F (F_FCCK) }, { F (F_OP) }, { F (F_FRI) }, { F (F_OPE1) }, { F (F_FRJ) }, { 0 } } }; @@ -5008,11 +5012,11 @@ static const CGEN_OPCODE frv_cgen_insn_opcode_table[MAX_INSNS] = { { MNEM, OP (PACK), ' ', OP (FRINTI), ',', OP (U6), ',', OP (FRINTK), 0 } }, & ifmt_mrotli, { 0x1ec02c0 } }, -/* mdrotli$pack $FRinti,$u6,$FRintk */ +/* mdrotli$pack $FRinti,$s6,$FRintk */ { { 0, 0, 0, 0 }, - { { MNEM, OP (PACK), ' ', OP (FRINTI), ',', OP (U6), ',', OP (FRINTK), 0 } }, - & ifmt_mrotli, { 0x1e002c0 } + { { MNEM, OP (PACK), ' ', OP (FRINTI), ',', OP (S6), ',', OP (FRINTK), 0 } }, + & ifmt_mdrotli, { 0x1e002c0 } }, /* mcplhi$pack $FRinti,$u6,$FRintk */ { |