mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask. (set_s_system): Correct Mask. * sim/fr30/ld.cgs (ld): Move previously failing test back into place.
This commit is contained in:
@ -1,5 +1,17 @@
|
|||||||
|
Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
|
||||||
|
|
||||||
|
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
|
||||||
|
(set_s_system): Correct Mask.
|
||||||
|
* sim/fr30/ld.cgs (ld): Move previously failing test back
|
||||||
|
into place.
|
||||||
|
|
||||||
Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
|
Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
|
||||||
|
|
||||||
|
* sim/fr30/ld.cgs: Implement more loads.
|
||||||
|
* sim/fr30/call.cgs: New testcase.
|
||||||
|
* sim/fr30/testutils.inc (testr_h_dr): New macro.
|
||||||
|
(set_s_user,set_s_system): New macros.
|
||||||
|
|
||||||
* sim/fr30: New Directory.
|
* sim/fr30: New Directory.
|
||||||
|
|
||||||
Wed Nov 18 10:50:19 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
Wed Nov 18 10:50:19 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
@ -151,6 +151,12 @@ ld:
|
|||||||
test_h_gr 0xdeadbeef,r7
|
test_h_gr 0xdeadbeef,r7
|
||||||
testr_h_gr sp,r9 ; should have been incremented
|
testr_h_gr sp,r9 ; should have been incremented
|
||||||
|
|
||||||
|
mvr_h_gr r8,sp ; restore original stack pointer
|
||||||
|
set_cc 0x0f ; condition codes should not change
|
||||||
|
ld @r15+,sp
|
||||||
|
test_cc 1 1 1 1
|
||||||
|
test_h_gr 0xdeadbeef,sp ; should not have been incremented
|
||||||
|
|
||||||
; Test ld @$R15+,$Rs
|
; Test ld @$R15+,$Rs
|
||||||
mvr_h_gr r8,sp ; restore original stack pointer
|
mvr_h_gr r8,sp ; restore original stack pointer
|
||||||
set_cc 0x0f ; condition codes should not change
|
set_cc 0x0f ; condition codes should not change
|
||||||
@ -211,10 +217,4 @@ ld:
|
|||||||
test_h_dr 0xdeadbeef,ssp
|
test_h_dr 0xdeadbeef,ssp
|
||||||
test_h_gr 0xdeadbeef,sp ; should not have been incremented
|
test_h_gr 0xdeadbeef,sp ; should not have been incremented
|
||||||
|
|
||||||
mvr_h_gr r8,sp ; restore original stack pointer
|
|
||||||
set_cc 0x0f ; condition codes should not change
|
|
||||||
ld @r15+,sp
|
|
||||||
test_cc 1 1 1 1
|
|
||||||
test_h_gr 0xdeadbeef,sp ; should not have been incremented
|
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
@ -120,6 +120,12 @@ testr_gr\@:
|
|||||||
test_h_gr \val r5
|
test_h_gr \val r5
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
|
; Compare a general register with word in memory
|
||||||
|
.macro testr_h_mem reg addr
|
||||||
|
ldmem_h_gr \addr r5
|
||||||
|
testr_h_gr \reg r5
|
||||||
|
.endm
|
||||||
|
|
||||||
; Set the condition codes
|
; Set the condition codes
|
||||||
.macro set_cc mask
|
.macro set_cc mask
|
||||||
andccr 0xf0
|
andccr 0xf0
|
||||||
@ -128,11 +134,11 @@ testr_gr\@:
|
|||||||
|
|
||||||
; Set the stack mode
|
; Set the stack mode
|
||||||
.macro set_s_user
|
.macro set_s_user
|
||||||
orccr 0x10
|
orccr 0x20
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro set_s_system
|
.macro set_s_system
|
||||||
andccr 0xef
|
andccr 0x1f
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
; Test the condition codes
|
; Test the condition codes
|
||||||
|
Reference in New Issue
Block a user