* compile.c (sim_resume): Fix the handling of bxor.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 1 Feb 2003 03:00:14 +0000 (03:00 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Sat, 1 Feb 2003 03:00:14 +0000 (03:00 +0000)
sim/h8300/ChangeLog
sim/h8300/compile.c

index 227966e5195609b6460d6be5b6fe7f9b2c458052..62fd0735cc0a00f132dca87922d707f2b1a145b4 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-31  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * compile.c (sim_resume): Fix the handling of bxor.
+
 2003-01-16  Michael Snyder  <msnyder@redhat.com>
 
        * compile.c: Change K&R function definitions to ISO.
index e36a0ed104e23c2156623386558418236d5f061e..e84589904a6b304f85f82778e4d81ba84aeaf27a 100644 (file)
@@ -1505,7 +1505,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
          OBITOP (O_BIAND, 1, 0, c = !(ea & m) && C);
          OBITOP (O_BOR, 1, 0, c = (ea & m) || C);
          OBITOP (O_BIOR, 1, 0, c = !(ea & m) || C);
-         OBITOP (O_BXOR, 1, 0, c = (ea & m) != C);
+         OBITOP (O_BXOR, 1, 0, c = ((ea & m) != 0) != C);
          OBITOP (O_BIXOR, 1, 0, c = !(ea & m) != C);
 
 #define MOP(bsize, signed)                     \
This page took 0.029028 seconds and 4 git commands to generate.