diff options
Diffstat (limited to 'results/classifier/118/review/1771')
| -rw-r--r-- | results/classifier/118/review/1771 | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/results/classifier/118/review/1771 b/results/classifier/118/review/1771 new file mode 100644 index 000000000..1daeeca00 --- /dev/null +++ b/results/classifier/118/review/1771 @@ -0,0 +1,93 @@ +user-level: 0.977 +architecture: 0.936 +graphic: 0.917 +peripherals: 0.911 +performance: 0.867 +device: 0.843 +PID: 0.781 +socket: 0.778 +semantic: 0.749 +vnc: 0.729 +files: 0.645 +kernel: 0.641 +permissions: 0.638 +debug: 0.624 +ppc: 0.601 +network: 0.581 +boot: 0.572 +mistranslation: 0.523 +assembly: 0.491 +arm: 0.481 +register: 0.477 +risc-v: 0.437 +VMM: 0.262 +TCG: 0.252 +hypervisor: 0.251 +virtual: 0.234 +x86: 0.128 +KVM: 0.118 +i386: 0.068 +-------------------- +user-level: 0.576 +assembly: 0.343 +register: 0.148 +files: 0.134 +debug: 0.090 +virtual: 0.052 +semantic: 0.038 +architecture: 0.032 +PID: 0.012 +kernel: 0.011 +TCG: 0.009 +hypervisor: 0.009 +device: 0.004 +performance: 0.004 +boot: 0.003 +network: 0.002 +graphic: 0.001 +peripherals: 0.001 +VMM: 0.001 +KVM: 0.001 +socket: 0.001 +permissions: 0.001 +mistranslation: 0.001 +vnc: 0.001 +risc-v: 0.000 +i386: 0.000 +ppc: 0.000 +arm: 0.000 +x86: 0.000 + +Missing CASA instruction handling for SPARC qemu-user +Description of problem: +Qemu-sparc does not handle the CASA instruction, even if the selected CPU (in this case, LEON3) support it. +Steps to reproduce: +1. Launch a program that use CASA instruction (any program, also "ls" on a recent glibc [>=2.31]) +2. qemu-sparc will raise "Illegal instruction" +Additional information: +The following patch remove the missing handling, but it needs asi load/store that is not implemented for sparc32 user-space. + +``` +diff -urp qemu-20230327.orig/target/sparc/translate.c qemu-20230327/target/sparc/translate.c +--- qemu-20230327.orig/target/sparc/translate.c 2023-03-27 15:41:42.000000000 +0200 ++++ qemu-20230327/target/sparc/translate.c 2023-04-01 15:24:18.293176711 +0200 +@@ -5521,7 +5522,7 @@ static void disas_sparc_insn(DisasContex + case 0x37: /* stdc */ + goto ncp_insn; + #endif +-#if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64) ++//#if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64) + case 0x3c: /* V9 or LEON3 casa */ + #ifndef TARGET_SPARC64 + CHECK_IU_FEATURE(dc, CASA); +@@ -5529,8 +5530,8 @@ static void disas_sparc_insn(DisasContex + rs2 = GET_FIELD(insn, 27, 31); + cpu_src2 = gen_load_gpr(dc, rs2); + gen_cas_asi(dc, cpu_addr, cpu_src2, insn, rd); ++//#endif + break; +-#endif + default: + goto illegal_insn; + } +``` |