Fix xor in simulator
authorMichael Meissner <gnu@the-meissners.org>
Fri, 9 May 1997 20:16:01 +0000 (20:16 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Fri, 9 May 1997 20:16:01 +0000 (20:16 +0000)
sim/tic80/ChangeLog
sim/tic80/insns

index aeaa4310688ab3bdd649c5c43df40763720e4c87..131098fd4d542207388d3b735e720ba2e1226c77 100644 (file)
@@ -2,6 +2,7 @@ Fri May  9 15:47:36 1997  Mike Meissner  <meissner@cygnus.com>
 
        * insns (cmp_vals,do_cmp): Produce the correct bits as specified
        by the architecture.
+       (xor): Fix xor immediate patterns to use the correct bits.
 
 Fri May  9 09:55:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
index f7edef1c87d4fe3c66a5b014e6897a123537b48b..4e91cb6c3e0afcd7686e67aa52246d7ba6bf98ce 100644 (file)
@@ -1136,8 +1136,8 @@ void::function::do_xor:signed32 *rDest, signed32 Source1, signed32 Source2
        *rDest = result;
 31.Dest,26.Source2,21.0b0010110,14.UnsignedImmediate::::xor i
        do_xor (_SD, rDest, vSource1, rSource2);
-31.Dest,26.Source2,21.0b110010110,13.0,12.0,11./,4.Source1::::xor r
+31.Dest,26.Source2,21.0b110010110,12.0,11./,4.Source1::::xor r
        do_xor (_SD, rDest, rSource1, rSource2);
-31.Dest,26.Source2,21.0b110010110,13.0,12.1,11./::::xor l
+31.Dest,26.Source2,21.0b110010110,12.1,11./::::xor l
        long_immediate (LongUnsignedImmediate);
        do_xor (_SD, rDest, LongUnsignedImmediate, rSource2);