This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] m32r-*-as bad instruction 'seth r0, #shigh(0xffff8000)'


Hi Nick,

I generated test case.
Please commit them.

gas/testsuite/ChangeLog
2004-04-13  Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>

*gas/m32r/seth.s, gas/m32r/seth.d: Add a new test for seth.

Regards,
Kazuhiro Inaoka

Nick Clifton wrote:
Hi Kazuhiro,


2004-03-29 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com >

* cpu/m32r.opc (parse_hi16): Fixed shigh(0xffff8000) bug.


Approved and applied.

Note - if you have the time, it would be a good idea if you could
generate a patch to add the test case for this bug to the m32r
specific part of the GAS testsuite.

Cheers
Nick



	.text
	seth	r0, #shigh(0xffff8000)
	.end
#objdump: -dr

.*: +file format .*

Disassembly of section .text:

0+000 <.text>:
   0:	d0 c0 00 00 	seth r0,[#]0x0
Index: m32r.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m32r/m32r.exp,v
retrieving revision 1.2
diff -c -r1.2 m32r.exp
*** m32r.exp	8 Apr 2003 12:47:08 -0000	1.2
--- m32r.exp	13 Apr 2004 06:34:24 -0000
***************
*** 6,9 ****
--- 6,10 ----
      run_dump_test "uppercase"
      run_dump_test "fslot"
      run_dump_test "signed-relocs"
+     run_dump_test "seth"
  }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]