blob: 9183533bbd580ef5aa53b61919d643dd162f2248 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
instruction: 0.942
runtime: 0.039
syscall: 0.019
PPC: `sraw` instructions does not set `ca` and `ca32` flags.
Description of problem:
The translation of Power PC instruction `sraw` and `sraw.` don't set the `ca` or `ca32` flags although, according to
[PowerISA 3.1b](https://files.openpower.foundation/s/dAYSdGzTfW4j2r2) (page 140), they should.
Additional information:
This gets particular apparent if compared to `srawi` (which does set `ca`, `ca32`).
**sraw**
https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/translate.c#L2914
**srawi**
https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/translate.c#L2924
|