mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 19:24:09 +02:00
Recompile LuaJIT after commit 93d28eb.
NDK r29 is used to compile the binaries. It's 16KB-aligned for x86-64 and arm64-v8a.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
----------------------------------------------------------------------------
|
||||
-- LuaJIT ARM64 disassembler module.
|
||||
--
|
||||
-- Copyright (C) 2005-2023 Mike Pall. All rights reserved.
|
||||
-- Copyright (C) 2005-2025 Mike Pall. All rights reserved.
|
||||
-- Released under the MIT license. See Copyright Notice in luajit.h
|
||||
--
|
||||
-- Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
|
||||
@@ -695,7 +695,10 @@ local map_br = { -- Branches, exception generating and system instructions.
|
||||
},
|
||||
{ -- System instructions.
|
||||
shift = 0, mask = 0x3fffff,
|
||||
[0x03201f] = "nop"
|
||||
[0x03201f] = "nop",
|
||||
[0x03245f] = "bti c",
|
||||
[0x03249f] = "bti j",
|
||||
[0x0324df] = "bti jc",
|
||||
},
|
||||
{ -- Unconditional branch, register.
|
||||
shift = 0, mask = 0xfffc1f,
|
||||
@@ -920,7 +923,7 @@ local function disass_ins(ctx)
|
||||
elseif p == "B" then
|
||||
local addr = ctx.addr + pos + parse_immpc(op, name)
|
||||
ctx.rel = addr
|
||||
x = "0x"..tohex(addr)
|
||||
x = format("0x%08x", addr)
|
||||
elseif p == "T" then
|
||||
x = bor(band(rshift(op, 26), 32), band(rshift(op, 19), 31))
|
||||
elseif p == "V" then
|
||||
@@ -1171,6 +1174,9 @@ local function disass_ins(ctx)
|
||||
end
|
||||
end
|
||||
second0 = true
|
||||
elseif p == " " then
|
||||
operands[#operands+1] = pat:match(" (.*)")
|
||||
break
|
||||
else
|
||||
assert(false)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user