diff options
author | Mike Pall <mike> | 2011-09-05 18:26:08 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-09-05 18:26:08 +0200 |
commit | e2b89de92d8bf581bc68843f5c789ec261349d33 (patch) | |
tree | 49f3cbae31fd9b3e89b43ff03fd42ca3ce5418b2 /dynasm | |
parent | 25a0e663db2e671bd3e90ab8a40d6acd5319539f (diff) | |
download | luajit-e2b89de92d8bf581bc68843f5c789ec261349d33.tar.gz luajit-e2b89de92d8bf581bc68843f5c789ec261349d33.tar.bz2 luajit-e2b89de92d8bf581bc68843f5c789ec261349d33.zip |
PPC: Add y-bit variants of conditional branches to DynASM.
Diffstat (limited to 'dynasm')
-rw-r--r-- | dynasm/dasm_ppc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dynasm/dasm_ppc.lua b/dynasm/dasm_ppc.lua index 4e078827..b2bee2cf 100644 --- a/dynasm/dasm_ppc.lua +++ b/dynasm/dasm_ppc.lua | |||
@@ -832,8 +832,10 @@ for cond,c in pairs(map_cond) do | |||
832 | local c1 = (c%4)*0x00010000 + (c < 4 and 0x01000000 or 0) | 832 | local c1 = (c%4)*0x00010000 + (c < 4 and 0x01000000 or 0) |
833 | -- bX[l] | 833 | -- bX[l] |
834 | map_op[b1.."_1"] = tohex(0x40800000 + c1).."K" | 834 | map_op[b1.."_1"] = tohex(0x40800000 + c1).."K" |
835 | map_op[b1.."y_1"] = tohex(0x40a00000 + c1).."K" | ||
835 | map_op[b1.."l_1"] = tohex(0x40800001 + c1).."K" | 836 | map_op[b1.."l_1"] = tohex(0x40800001 + c1).."K" |
836 | map_op[b1.."_2"] = tohex(0x40800000 + c1).."-XK" | 837 | map_op[b1.."_2"] = tohex(0x40800000 + c1).."-XK" |
838 | map_op[b1.."y_2"] = tohex(0x40a00000 + c1).."-XK" | ||
837 | map_op[b1.."l_2"] = tohex(0x40800001 + c1).."-XK" | 839 | map_op[b1.."l_2"] = tohex(0x40800001 + c1).."-XK" |
838 | -- bXlr[l] | 840 | -- bXlr[l] |
839 | map_op[b1.."lr_0"] = tohex(0x4c800020 + c1) | 841 | map_op[b1.."lr_0"] = tohex(0x4c800020 + c1) |