mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* gas/m32r/high-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Mon Sep 8 14:21:23 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* gas/m32r/high-1.[ds]: New testcase.
|
||||
* gas/m32r/m32r.exp: Run it.
|
||||
|
||||
Mon Aug 25 11:04:24 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* gas/m32r/relax-1.[ds]: New testcase.
|
||||
|
@ -26,6 +26,8 @@ Things-to-keep:
|
||||
allinsn.exp
|
||||
allinsn.d
|
||||
allinsn.s
|
||||
high-1.d
|
||||
high-1.s
|
||||
m32r.exp
|
||||
relax-1.d
|
||||
relax-1.s
|
||||
|
14
gas/testsuite/gas/m32r/high-1.s
Normal file
14
gas/testsuite/gas/m32r/high-1.s
Normal file
@ -0,0 +1,14 @@
|
||||
; Test high/shigh handling.
|
||||
|
||||
foo:
|
||||
seth r4,#high(foo+0x10000)
|
||||
or3 r4,r4,#low(foo+0x10000)
|
||||
|
||||
seth r4,#high(0x12348765)
|
||||
or3 r4,r4,#low(0x12348765)
|
||||
|
||||
seth r4,#shigh(0x12348765)
|
||||
or3 r4,r4,#low(0x12348765)
|
||||
|
||||
seth r4,#shigh(0x87654321)
|
||||
or3 r4,r4,#low(0x87654321)
|
Reference in New Issue
Block a user