[compiler-rt] r255116 - Avoid extended mnemonic 'mfvrsave' in assembly code
Bill Schmidt via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 9 07:18:30 PST 2015
Author: wschmidt
Date: Wed Dec 9 09:18:30 2015
New Revision: 255116
URL: http://llvm.org/viewvc/llvm-project?rev=255116&view=rev
Log:
Avoid extended mnemonic 'mfvrsave' in assembly code
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_ppc64.S
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_ppc64.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_ppc64.S?rev=255116&r1=255115&r2=255116&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_ppc64.S (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_ppc64.S Wed Dec 9 09:18:30 2015
@@ -99,7 +99,7 @@ _setjmp:
std r31,160(r3)
stfd f31,312(r3)
addi r5,r3,320
- mfvrsave r0
+ mfspr r0,256
stw r0,168(r3) // VRSAVE
addi r6,r5,16
stvx v20,0,r5
@@ -244,7 +244,7 @@ __sigsetjmp:
std r31,160(r3)
stfd f31,312(r3)
addi r5,r3,320
- mfvrsave r0
+ mfspr r0,256
stw r0,168(r3) // VRSAVE
addi r6,r5,16
stvx v20,0,r5
More information about the llvm-commits
mailing list