According to the ABI, the stack pointer is quadword aligned, so starting
the stack storage at offset -8, may cause the return address to be
stepped on. Adjusting to use -16 as the starting point, which also
matches other POWER assembly code.
Signed-off-by: Eric Richter <erichte@linux.ibm.com>
C Store non-volatile registers
- li T0, -8
- li T1, -24
+ li T0, -16
+ li T1, -32
stvx v20, T0, SP
stvx v21, T1, SP
subi T0, T0, 32
C Restore nonvolatile registers
- li T0, -8
- li T1, -24
+ li T0, -16
+ li T1, -32
lvx v20, T0, SP
lvx v21, T1, SP
subi T0, T0, 32