blob: 2be45a59fad136305682531de774824409bde758 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
|