summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_ppc/host_missing/accel_missing/1092
blob: 3288539f027bf950dd5e33350d10c4ffd7c220dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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