summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/1693
blob: 1a730ed24b333b391317ea0fa2dab3561be449e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
graphic: 0.796
mistranslation: 0.760
other: 0.718
instruction: 0.703
device: 0.684
network: 0.647
vnc: 0.645
socket: 0.632
semantic: 0.629
boot: 0.552
assembly: 0.357
KVM: 0.253

qemu-system-nios2 not working on s390x (big endian) hosts
Description of problem:
qemu-system-nios2 fails to boot a Linux kernel on s390x hosts.
Steps to reproduce:
1. wget https://qemu-advcal.gitlab.io/qac-best-of-multiarch/download/day14.tar.xz
2. tar -xJf day14.tar.xz 
3. cd day14/
4. qemu-system-nios2 -nographic -kernel vmlinux.elf
Additional information:
When running with "-d in_asm", it seems like the code initially starts executing ok, but in one of the early translation blocks, there is a difference when comparing the log with a run from a x86 host:

```
IN: fdt_check_header
0xc81afd48:  ldw	r3,0(r4)
0xc81afd4c:  srli	r5,r3,24
0xc81afd50:  slli	r2,r3,24
0xc81afd54:  or	r2,r2,r5
0xc81afd58:  slli	r5,r3,8
0xc81afd5c:  srli	r3,r3,8
0xc81afd60:  andhi	r5,r5,255
0xc81afd64:  andi	r3,r3,65280
0xc81afd68:  or	r2,r2,r5
0xc81afd6c:  or	r2,r2,r3
0xc81afd70:  movhi	r3,53262
0xc81afd74:  addi	r3,r3,-275
0xc81afd78:  bne	r2,r3,0xc81afde8
```

On the x86 host, the branch at the end is not taken, while on the s390x host, the branch is taken.