Blame SOURCES/runtime-77269-mono-ppc64le-opcheckthis.patch
|
|
c51fa4 |
From f163003da28cd01866b15233116d5efd53b1a2ef Mon Sep 17 00:00:00 2001
|
|
|
c51fa4 |
From: Sapana Khemkar <sapana.khemkar@ibm.com>
|
|
|
c51fa4 |
Date: Thu, 13 Oct 2022 07:45:23 +0000
|
|
|
c51fa4 |
Subject: [PATCH] use byte load instruction in OP_CHECK_THIS instead of double
|
|
|
c51fa4 |
word instruction
|
|
|
c51fa4 |
|
|
|
c51fa4 |
---
|
|
|
c51fa4 |
src/runtime/src/mono/mono/mini/mini-ppc.c | 2 +-
|
|
|
c51fa4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
c51fa4 |
|
|
|
c51fa4 |
diff --git a/src/runtime/src/mono/mono/mini/mini-ppc.c b/src/runtime/src/mono/mono/mini/mini-ppc.c
|
|
|
c51fa4 |
index bc97b497af93a..a2d8c5a714e3b 100644
|
|
|
c51fa4 |
--- a/src/runtime/src/mono/mono/mini/mini-ppc.c
|
|
|
c51fa4 |
+++ b/src/runtime/src/mono/mono/mini/mini-ppc.c
|
|
|
c51fa4 |
@@ -3837,7 +3837,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
|
|
|
c51fa4 |
}
|
|
|
c51fa4 |
case OP_CHECK_THIS:
|
|
|
c51fa4 |
/* ensure ins->sreg1 is not NULL */
|
|
|
c51fa4 |
- ppc_ldptr (code, ppc_r0, 0, ins->sreg1);
|
|
|
c51fa4 |
+ ppc_lbz (code, ppc_r0, 0, ins->sreg1);
|
|
|
c51fa4 |
break;
|
|
|
c51fa4 |
case OP_ARGLIST: {
|
|
|
c51fa4 |
long cookie_offset = cfg->sig_cookie + cfg->stack_usage;
|