diff options
-rw-r--r-- | opcodes/ChangeLog | 7 | ||||
-rw-r--r-- | opcodes/cgen-ibld.in | 4 | ||||
-rw-r--r-- | opcodes/fr30-ibld.c | 4 | ||||
-rw-r--r-- | opcodes/m32r-ibld.c | 4 | ||||
-rw-r--r-- | opcodes/openrisc-ibld.c | 4 |
5 files changed, 15 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6ac5498..a319183 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,10 @@ +2001-11-09 Nick Clifton <nickc@cambridge.redhat.com> + + * cgen-ibld.in (extract_1): Fix badly placed #if 0. + * fr30-ibld.c: Regenerate. + * m32r-ibld.c: Regenerate. + * openrisc-ibld.c: Regenerate. + 2001-11-04 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (print_insn_mips): Remove spaces at end of line. diff --git a/opcodes/cgen-ibld.in b/opcodes/cgen-ibld.in index d958785..d2bfd02 100644 --- a/opcodes/cgen-ibld.in +++ b/opcodes/cgen-ibld.in @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c index 92e7ee3..3a72fc2 100644 --- a/opcodes/fr30-ibld.c +++ b/opcodes/fr30-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/m32r-ibld.c b/opcodes/m32r-ibld.c index 4d083a1..59bc058 100644 --- a/opcodes/m32r-ibld.c +++ b/opcodes/m32r-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/openrisc-ibld.c b/opcodes/openrisc-ibld.c index 8a2a28a..4439077 100644 --- a/opcodes/openrisc-ibld.c +++ b/opcodes/openrisc-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else |