mirror of
https://github.com/corda/corda.git
synced 2025-02-07 19:40:25 +00:00
fix powerpc tail calls
This commit is contained in:
parent
49a2c1846d
commit
ec60b844d4
@ -1598,6 +1598,9 @@ populateTables(ArchitectureContext* c)
|
|||||||
uo[index(Jump, R)] = CAST1(jumpR);
|
uo[index(Jump, R)] = CAST1(jumpR);
|
||||||
uo[index(Jump, C)] = CAST1(jumpC);
|
uo[index(Jump, C)] = CAST1(jumpC);
|
||||||
|
|
||||||
|
uo[index(AlignedJump, R)] = CAST1(jumpR);
|
||||||
|
uo[index(AlignedJump, C)] = CAST1(jumpC);
|
||||||
|
|
||||||
uo[index(JumpIfEqual, C)] = CAST1(jumpIfEqualC);
|
uo[index(JumpIfEqual, C)] = CAST1(jumpIfEqualC);
|
||||||
uo[index(JumpIfNotEqual, C)] = CAST1(jumpIfNotEqualC);
|
uo[index(JumpIfNotEqual, C)] = CAST1(jumpIfNotEqualC);
|
||||||
uo[index(JumpIfGreater, C)] = CAST1(jumpIfGreaterC);
|
uo[index(JumpIfGreater, C)] = CAST1(jumpIfGreaterC);
|
||||||
@ -2089,7 +2092,7 @@ class MyAssembler: public Assembler {
|
|||||||
moveMR(&c, BytesPerWord, &newStackSrc, BytesPerWord, &tmp2);
|
moveMR(&c, BytesPerWord, &newStackSrc, BytesPerWord, &tmp2);
|
||||||
|
|
||||||
Register stack(StackRegister);
|
Register stack(StackRegister);
|
||||||
subR(&c, BytesPerWord, &tmp2, &stack, &tmp2);
|
subR(&c, BytesPerWord, &stack, &tmp2, &tmp2);
|
||||||
|
|
||||||
Memory stackDst(StackRegister, 0, tmp2.low);
|
Memory stackDst(StackRegister, 0, tmp2.low);
|
||||||
moveAndUpdateRM(&c, BytesPerWord, &tmp1, BytesPerWord, &stackDst);
|
moveAndUpdateRM(&c, BytesPerWord, &tmp1, BytesPerWord, &stackDst);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user