1 Star 0 Fork 5

Meredith/luajit

forked from src-anolis-os/luajit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0051-MIPS-MIPS64-Fix-TSETR-barrier-again.patch 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-07-28 14:43 . init package version for an8.6
From 9c1b637898f38dd4606da08ba1a82a174c3e64b6 Mon Sep 17 00:00:00 2001
From: Mike Pall <mike>
Date: Sun, 14 Oct 2018 15:12:59 +0200
Subject: [PATCH 51/72] MIPS/MIPS64: Fix TSETR barrier (again).
---
src/vm_mips.dasc | 2 +-
src/vm_mips64.dasc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/vm_mips.dasc b/src/vm_mips.dasc
index 1afd611..f324812 100644
--- a/src/vm_mips.dasc
+++ b/src/vm_mips.dasc
@@ -4317,7 +4317,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| ins_next2
|
|7: // Possible table write barrier for the value. Skip valiswhite check.
- | barrierback TAB:CARG2, TMP3, TMP0, <2
+ | barrierback TAB:CARG2, TMP3, CRET1, <2
break;
case BC_TSETM:
diff --git a/src/vm_mips64.dasc b/src/vm_mips64.dasc
index 0a3f8e5..1682c81 100644
--- a/src/vm_mips64.dasc
+++ b/src/vm_mips64.dasc
@@ -4263,7 +4263,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| ins_next2
|
|7: // Possible table write barrier for the value. Skip valiswhite check.
- | barrierback TAB:CARG2, TMP3, TMP0, <2
+ | barrierback TAB:CARG2, TMP3, CRET1, <2
break;
case BC_TSETM:
--
2.20.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yueeranna/luajit.git
git@gitee.com:yueeranna/luajit.git
yueeranna
luajit
luajit
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385