diff options
author | Nick Clifton <nickc@redhat.com> | 2006-11-01 10:29:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-11-01 10:29:49 +0000 |
commit | 06d2da930da0c71b4ef494894382b62c6b5bd1e9 (patch) | |
tree | d172ce8a90e7ce2a9b449f8f3c9fa8c16dac7c3c /gas | |
parent | e916811ac68f772700e2a974459599c289ce5d11 (diff) | |
download | gdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.zip gdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.tar.gz gdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.tar.bz2 |
* tc-score.c (do16_rdrs): Handle not! instruction especially.
* score-opc.h (score_opcodes): Delete modifier '0x'.
* gas/score/rD_rA.d: Correct not! and not.c instruction disassembly.
* gas/score/b.d: Correct b! and b instruction disassembly.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-score.c | 5 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 17 | ||||
-rw-r--r-- | gas/testsuite/gas/score/b.d | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/score/rD_rA.d | 6 |
5 files changed, 30 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 1a8148b..9ae2eb2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2006-11-01 Mei Ligang <ligang@sunnorth.com.cn> + + * tc-score.c (do16_rdrs): Handle not! instruction especially. + 2006-10-31 Paul Brook <paul@codesourcery.com> * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c index 66c3031..385e9ce 100644 --- a/gas/config/tc-score.c +++ b/gas/config/tc-score.c @@ -1761,6 +1761,11 @@ do16_rdrs (char *str) inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 15) | (((inst.instruction >> 4) & 0xf) << 10); } + else if ((inst.instruction & 0x700f) == 0x2006) /* not! */ + { + inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 20) + | (((inst.instruction >> 4) & 0xf) << 15); + } else { inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 20) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 23dc6a9..87cfb1a 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-11-01 Mei Ligang <ligang@sunnorth.com.cn> + + * gas/score/rD_rA.d: Correct not! and not.c instruction disassembly. + * gas/score/b.d: Correct b! and b instruction disassembly. + 2006-10-29 Randolph Chung <tausq@debian.org> * gas/cfi/cfi.exp [hppa*-linux*]: Run hppa CFI test. @@ -37,9 +42,9 @@ 2006-10-08 Paul Brook <paul@codesourcery.com> - * testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of + * gas/arm/neon-cov.s: Test pseudo-instruction forms of vmov, vmvn and logic immediate instructions. - * testsuite/gas/arm/neon-cov.d: ditto. + * gas/arm/neon-cov.d: ditto. 2006-09-28 Bridge Wu <mingqiao.wu@gmail.com> @@ -828,8 +833,8 @@ 2006-02-07 Nathan Sidwell <nathan@codesourcery.com> - * testsuite/gas/m68k/all.exp: Add arch-cpu-1 test. - * testsuite/gas/m68k/arch-cpu-1.[sd]: New. + * gas/m68k/all.exp: Add arch-cpu-1 test. + * gas/m68k/arch-cpu-1.[sd]: New. 2005-02-02 Paul Brook <paul@codesourcery.com> @@ -838,8 +843,8 @@ 2006-01-31 Paul Brook <paul@codesourcery.com> - * gas/testsuite/gas/arm/iwmmxt-bad.s: Add check for bad register name. - * gas/testsuite/gas/arm/iwmmxt-bad.l: Ditto. + * gas/arm/iwmmxt-bad.s: Add check for bad register name. + * gas/arm/iwmmxt-bad.l: Ditto. 2006-01-18 Arnold Metselaar <arnoldm@sourceware.org> diff --git a/gas/testsuite/gas/score/b.d b/gas/testsuite/gas/score/b.d index ae2b07a..133540e 100644 --- a/gas/testsuite/gas/score/b.d +++ b/gas/testsuite/gas/score/b.d @@ -7,12 +7,12 @@ Disassembly of section \.text: 00000000 <L1>: - 0: 4f00 b! 0x0 <L1> - 2: 4fff b! 0x0 <L1> - 4: 4ffe b! 0x0 <L1> - 6: 4ffd b! 0x0 <L1> - 8: 4ffc b! 0x0 <L1> - a: 4ffb b! 0x0 <L1> - c: 93ffbff4 b 0x0 <L1> + 0: 4f00 b! 0 <L1> + 2: 4fff b! 0 <L1> + 4: 4ffe b! 0 <L1> + 6: 4ffd b! 0 <L1> + 8: 4ffc b! 0 <L1> + a: 4ffb b! 0 <L1> + c: 93ffbff4 b 0 <L1> 10: 8254e010 add r18, r20, r24 #pass diff --git a/gas/testsuite/gas/score/rD_rA.d b/gas/testsuite/gas/score/rD_rA.d index 3a31869..36f29f6 100644 --- a/gas/testsuite/gas/score/rD_rA.d +++ b/gas/testsuite/gas/score/rD_rA.d @@ -49,11 +49,11 @@ Disassembly of section \.text: 58: 807adc19 cmp.c r26, r23 5c: 0000 nop! 5e: 0000 nop! - 60: 80008825 not.c r0, r0 + 60: 80028025 not.c r0, r2 64: 82958025 not.c r20, r21 - 68: 81ef9025 not.c r15, r15 + 68: 81e48025 not.c r15, r4 6c: 83358025 not.c r25, r21 - 70: 81ef8c25 not.c r15, r15 + 70: 81e38025 not.c r15, r3 74: 83368025 not.c r25, r22 78: 2836 not! r8, r3 7a: 2836 not! r8, r3 |