blob: 3a2e4aab562270d78810647a06985f590b4057d0 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
risc-v: 0.943
files: 0.845
graphic: 0.841
architecture: 0.819
device: 0.814
register: 0.793
vnc: 0.713
socket: 0.564
kernel: 0.500
performance: 0.468
semantic: 0.466
ppc: 0.439
network: 0.418
boot: 0.404
permissions: 0.394
TCG: 0.354
assembly: 0.323
debug: 0.318
PID: 0.303
arm: 0.271
mistranslation: 0.257
VMM: 0.231
virtual: 0.171
user-level: 0.150
peripherals: 0.109
hypervisor: 0.063
KVM: 0.037
i386: 0.022
x86: 0.009
--------------------
risc-v: 0.966
register: 0.860
assembly: 0.609
debug: 0.461
TCG: 0.350
virtual: 0.063
user-level: 0.062
files: 0.055
semantic: 0.021
kernel: 0.018
hypervisor: 0.015
architecture: 0.009
device: 0.008
performance: 0.008
peripherals: 0.006
VMM: 0.006
PID: 0.004
boot: 0.003
graphic: 0.003
network: 0.002
socket: 0.001
KVM: 0.001
permissions: 0.001
vnc: 0.001
mistranslation: 0.001
arm: 0.000
i386: 0.000
ppc: 0.000
x86: 0.000
Truncated bits while writing value to registers of RISC-V
Description of problem:
As mentioned above
Steps to reproduce:
```
# 1. Compile the `test.S`:
riscv32-unknown-linux-gnu-gcc -g -static -nostartfiles -o test hello.S
# 2. Execute the binary:
qemu-riscv32 ./test
# 3. Check exit code
echo $?
```
|