mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
DynASM/x86: Add endbr instruction.
Thanks to Dmitry Stogov. #1143 #1142
This commit is contained in:
parent
2f35cb45fd
commit
3ca0a80711
@ -1151,6 +1151,8 @@ local map_op = {
|
|||||||
rep_0 = "F3",
|
rep_0 = "F3",
|
||||||
repe_0 = "F3",
|
repe_0 = "F3",
|
||||||
repz_0 = "F3",
|
repz_0 = "F3",
|
||||||
|
endbr32_0 = "F30F1EFB",
|
||||||
|
endbr64_0 = "F30F1EFA",
|
||||||
-- F4: *hlt
|
-- F4: *hlt
|
||||||
cmc_0 = "F5",
|
cmc_0 = "F5",
|
||||||
-- F6: test... mb,i; div... mb
|
-- F6: test... mb,i; div... mb
|
||||||
|
@ -75,7 +75,7 @@ local function wline(line, needindent)
|
|||||||
g_synclineno = g_synclineno + 1
|
g_synclineno = g_synclineno + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Write assembler line as a comment, if requestd.
|
-- Write assembler line as a comment, if requested.
|
||||||
local function wcomment(aline)
|
local function wcomment(aline)
|
||||||
if g_opt.comment then
|
if g_opt.comment then
|
||||||
wline(g_opt.comment..aline..g_opt.endcomment, true)
|
wline(g_opt.comment..aline..g_opt.endcomment, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user