]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
PPC: Add y-bit variants of conditional branches to DynASM.
authorMike Pall <mike>
Mon, 5 Sep 2011 16:26:08 +0000 (18:26 +0200)
committerMike Pall <mike>
Mon, 5 Sep 2011 16:26:08 +0000 (18:26 +0200)
dynasm/dasm_ppc.lua

index 4e078827f30da342ba6e5feb474744460576e75d..b2bee2cfd8ab3f2f01604d89f58d6ca478e77392 100644 (file)
@@ -832,8 +832,10 @@ for cond,c in pairs(map_cond) do
   local c1 = (c%4)*0x00010000 + (c < 4 and 0x01000000 or 0)
   -- bX[l]
   map_op[b1.."_1"] = tohex(0x40800000 + c1).."K"
+  map_op[b1.."y_1"] = tohex(0x40a00000 + c1).."K"
   map_op[b1.."l_1"] = tohex(0x40800001 + c1).."K"
   map_op[b1.."_2"] = tohex(0x40800000 + c1).."-XK"
+  map_op[b1.."y_2"] = tohex(0x40a00000 + c1).."-XK"
   map_op[b1.."l_2"] = tohex(0x40800001 + c1).."-XK"
   -- bXlr[l]
   map_op[b1.."lr_0"] = tohex(0x4c800020 + c1)