diff options
Diffstat (limited to 'results/classifier/118/mistranslation-ppc/1092')
| -rw-r--r-- | results/classifier/118/mistranslation-ppc/1092 | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/results/classifier/118/mistranslation-ppc/1092 b/results/classifier/118/mistranslation-ppc/1092 new file mode 100644 index 000000000..853228cbb --- /dev/null +++ b/results/classifier/118/mistranslation-ppc/1092 @@ -0,0 +1,74 @@ +mistranslation: 0.914 +ppc: 0.899 +device: 0.801 +graphic: 0.636 +files: 0.616 +semantic: 0.492 +network: 0.383 +i386: 0.355 +vnc: 0.339 +boot: 0.313 +socket: 0.296 +architecture: 0.217 +kernel: 0.216 +risc-v: 0.201 +PID: 0.178 +arm: 0.171 +assembly: 0.171 +user-level: 0.166 +debug: 0.164 +x86: 0.163 +TCG: 0.149 +permissions: 0.137 +performance: 0.133 +peripherals: 0.124 +register: 0.110 +virtual: 0.091 +VMM: 0.052 +hypervisor: 0.043 +KVM: 0.030 +-------------------- +ppc: 0.991 +files: 0.156 +mistranslation: 0.127 +register: 0.055 +semantic: 0.038 +assembly: 0.026 +virtual: 0.021 +debug: 0.019 +TCG: 0.015 +architecture: 0.007 +performance: 0.006 +device: 0.006 +PID: 0.005 +hypervisor: 0.005 +kernel: 0.004 +KVM: 0.003 +socket: 0.003 +peripherals: 0.002 +user-level: 0.002 +boot: 0.001 +VMM: 0.001 +network: 0.001 +risc-v: 0.001 +graphic: 0.001 +vnc: 0.000 +arm: 0.000 +permissions: 0.000 +x86: 0.000 +i386: 0.000 + +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 |