tcg-optimize: Fold sub r,0,x to neg r,x
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAAu8pHsNXkhxrZAiYpCNpsGgktA_T9vv1U6k0Ovcg1-AKdtyuw@mail.gmail.com
Quoted 9 lines · Blue Swirl
Quoted 7 lines
Signed-off-by Richard Henderson<[email protected]>Quoted 6 lines
--- tcg/optimize.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-)I noticed this while looking at other dumps. This seems like it should be considered independently of the other patch series.
This breaks Sparc32 boot, only a few first instructions are executed.
I can't replicate any failure with the sparc-test image. Can you expand on a method to replicate this?
r~
Quoted 7 lines · Richard Henderson
Quoted 6 lines · Blue Swirl
Quoted 6 lines
Signed-off-by Richard Henderson<[email protected]>Quoted 4 lines
--- tcg/optimize.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-)
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
I noticed this while looking at other dumps. This seems like it should be considered independently of the other patch series.
This breaks Sparc32 boot, only a few first instructions are executed.
I can't replicate any failure with the sparc-test image. Can you expand on a method to replicate this?
It was just with qemu-system-sparc -d in_asm. Unpatched can get to OpenBIOS prompt, patched does not leave boot mode, PC always < 0x6000.
Quoted 3 lines
r~