2003-09-03 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 3 Sep 2003 21:51:57 +0000 (21:51 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 3 Sep 2003 21:51:57 +0000 (21:51 +0000)
* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).

sim/testsuite/ChangeLog
sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs [new file with mode: 0644]
sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs [new file with mode: 0644]
sim/testsuite/sim/frv/interrupts/Ipipe.cgs [deleted file]

index 55fb6289c8f6ae16d1be7e12a73c2851cd5201c2..cc018d3d32411b2093ada15f672c4fc5bd940d01 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-03  Michael Snyder  <msnyder@redhat.com>
+
+       * sim/frv/interrupts/Ipipe-fr400.cgs: New file.
+       * sim/frv/interrupts/Ipipe-fr500.cgs: New file.
+       * sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
+
 2003-08-20  Michael Snyder  <msnyder@redhat.com>
             On behalf of Dave Brolley
   
diff --git a/sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs b/sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs
new file mode 100644 (file)
index 0000000..dad9f0e
--- /dev/null
@@ -0,0 +1,35 @@
+# frv testcase
+# mach: fr400 
+
+       .include "testutils.inc"
+
+       start
+
+       .global Ipipe
+Ipipe:
+       ; Clear the packing bit of the insn at 'pack:'. We can't
+       ; simply use '.p' because the assembler will catch the error.
+       set_gr_mem      pack,gr10
+       and_gr_immed    0x7fffffff,gr10
+       set_mem_gr      gr10,pack
+       set_gr_addr     pack,gr10
+       flush_data_cache gr10
+
+       and_spr_immed   -4081,tbr               ; clear tbr.tt
+       set_gr_spr      tbr,gr7
+       inc_gr_immed    0x070,gr7               ; address of exception handler
+       set_bctrlr_0_0  gr7
+       set_spr_immed   128,lcr
+       set_spr_addr    ok0,lr
+       set_psr_et      1
+
+bundle:        add.p           gr1,gr1,gr1
+pack:  add             gr2,gr2,gr2
+bad:   add             gr3,gr3,gr3
+       fail
+ok0:
+       test_spr_immed  1,esfr1
+       test_spr_bits   0x3f,0,0xb,esr0
+       test_spr_addr   bundle,epcr0
+
+       pass
diff --git a/sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs b/sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs
new file mode 100644 (file)
index 0000000..41b137b
--- /dev/null
@@ -0,0 +1,35 @@
+# frv testcase
+# mach: fr500 
+
+       .include "testutils.inc"
+
+       start
+
+       .global Ipipe
+Ipipe:
+       ; Clear the packing bit of the insn at 'pack:'. We can't
+       ; simply use '.p' because the assembler will catch the error.
+       set_gr_mem      pack,gr10
+       and_gr_immed    0x7fffffff,gr10
+       set_mem_gr      gr10,pack
+       set_gr_addr     pack,gr10
+       flush_data_cache gr10
+
+       and_spr_immed   -4081,tbr               ; clear tbr.tt
+       set_gr_spr      tbr,gr7
+       inc_gr_immed    0x070,gr7               ; address of exception handler
+       set_bctrlr_0_0  gr7
+       set_spr_immed   128,lcr
+       set_spr_addr    ok0,lr
+       set_psr_et      1
+
+       add.p           gr1,gr1,gr1
+pack:  add             gr2,gr2,gr2
+bad:   add             gr3,gr3,gr3
+       fail
+ok0:
+       test_spr_immed  1,esfr1
+       test_spr_bits   0x3f,0,0xb,esr0
+       test_spr_addr   bad,epcr0
+
+       pass
diff --git a/sim/testsuite/sim/frv/interrupts/Ipipe.cgs b/sim/testsuite/sim/frv/interrupts/Ipipe.cgs
deleted file mode 100644 (file)
index aeeabd9..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# FRV testcase
-# mach: fr400,fr500
-
-       .include "testutils.inc"
-
-       start
-
-       .global Ipipe
-Ipipe:
-       ; clear the packing bit if the insn at 'pack:'. We can't simply use
-       ; '.p' because the assembler will catch the error.
-       set_gr_mem      pack,gr10
-       and_gr_immed    0x7fffffff,gr10
-       set_mem_gr      gr10,pack
-       set_gr_addr     pack,gr10
-       flush_data_cache gr10
-
-       and_spr_immed   -4081,tbr               ; clear tbr.tt
-       set_gr_spr      tbr,gr7
-       inc_gr_immed    0x070,gr7               ; address of exception handler
-       set_bctrlr_0_0  gr7
-       set_spr_immed   128,lcr
-       set_spr_addr    ok0,lr
-       set_psr_et      1
-
-       add.p           gr1,gr1,gr1
-pack:  add             gr2,gr2,gr2
-bad:   add             gr3,gr3,gr3
-       fail
-ok0:
-       test_spr_immed  1,esfr1
-       test_spr_bits   0x3f,0,0xb,esr0
-       test_spr_addr   bad,epcr0
-
-       pass