2004-06-17 Alexandre Oliva <aoliva@redhat.com>
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 24 Jun 2004 21:08:11 +0000 (21:08 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 24 Jun 2004 21:08:11 +0000 (21:08 +0000)
* band.s, biand.s: imm3_abs16 is not available on h8300h.
* bset.s: Likewise.  Ditto for rn_abs32.

sim/testsuite/sim/h8300/ChangeLog
sim/testsuite/sim/h8300/band.s
sim/testsuite/sim/h8300/biand.s
sim/testsuite/sim/h8300/bset.s

index 4dc6559..a90793a 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       2004-06-17  Alexandre Oliva  <aoliva@redhat.com>
+       * band.s, biand.s: imm3_abs16 is not available on h8300h.
+       * bset.s: Likewise.  Ditto for rn_abs32.
+
 2003-07-22  Michael Snyder  <msnyder@redhat.com>
 
        * cmpw.s: Add test for less-than-zero immediate.
index f3455ad..3c7e5a3 100644 (file)
@@ -104,7 +104,7 @@ band_imm3_abs8:
 
        test_grs_a5a5           ; general registers should not be changed.
 
-.if (sim_cpu)                  ; non-zero means not h8300
+.if (sim_cpu > h8300h)
 band_imm3_abs16:
        set_grs_a5a5
        set_ccr_zero
@@ -314,7 +314,7 @@ bld_imm3_abs8:
 
        test_grs_a5a5           ; general registers should not be changed.
 
-.if (sim_cpu)                  ; non-zero means not h8300
+.if (sim_cpu > h8300h)
 bld_imm3_abs16:
        set_grs_a5a5
        set_ccr_zero
@@ -491,7 +491,7 @@ btst_imm3_abs8:
 
        test_grs_a5a5           ; general registers should not be changed.
 
-.if (sim_cpu)                  ; non-zero means not h8300
+.if (sim_cpu > h8300h)
 btst_imm3_abs16:
        set_grs_a5a5
        set_ccr_zero
index 07d3ecf..c4cf285 100644 (file)
@@ -104,7 +104,7 @@ biand_imm3_abs8:
 
        test_grs_a5a5           ; general registers should not be changed.
 
-.if (sim_cpu)                  ; non-zero means not h8300
+.if (sim_cpu > h8300h)
 biand_imm3_abs16:
        set_grs_a5a5
        set_ccr_zero
@@ -314,7 +314,7 @@ bild_imm3_abs8:
 
        test_grs_a5a5           ; general registers should not be changed.
 
-.if (sim_cpu)                  ; non-zero means not h8300
+.if (sim_cpu > h8300h)
 bild_imm3_abs16:
        set_grs_a5a5
        set_ccr_zero
index a94e916..0e16fc1 100644 (file)
@@ -263,6 +263,7 @@ bclr_imm3_ind:
        test_gr_a5a5 6
        test_gr_a5a5 7
 
+.if (sim_cpu > h8300h)
 bset_imm3_abs16:
        set_grs_a5a5            ; Fill all general regs with a fixed pattern
 
@@ -383,6 +384,7 @@ bclr_imm3_abs16:
        test_gr_a5a5 6
        test_gr_a5a5 7
 .endif
+.endif
 
 bset_rs8_rd8:
        set_grs_a5a5            ; Fill all general regs with a fixed pattern
@@ -644,6 +646,7 @@ bclr_rs8_ind:
        test_gr_a5a5 6
        test_gr_a5a5 7
 
+.if (sim_cpu > h8300h)
 bset_rs8_abs32:
        set_grs_a5a5            ; Fill all general regs with a fixed pattern
 
@@ -780,6 +783,7 @@ bclr_rs8_abs32:
        test_gr_a5a5 6
        test_gr_a5a5 7
 .endif
+.endif
 
 .if (sim_cpu == h8sx)
 bset_eq_imm3_abs16: