blob: 965448aed1c297a1b4112fea1fc357066260aa5c (
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
|
on loongarch host, LSX vec get wrong result
Description of problem:
on loongarch host, the lsx insns get wrong result.
Steps to reproduce:
1. build linux-user on loongarch host with '--configure --target-list ='loongarch64-linux-user''
2. build test code 'gcc --static test.c -o test'
3. run './build/qemu-loongarch64 test'
Additional information:
run 'qemu-loongarch64 test'
the result is
`0: 2f2f2f2f
1: 0
2: 2f2f2f2f
3: 0
4: ffffffff
5: 0
6: ffffffff
7: ffffffff`
and the 6 or 7 may be ffffff or 0.
run 'test' on loongarch host or run qemu-loongarch64 on x86_64 host.
the result is
`0: 2f2f2f2f
1: 0
2: 2f2f2f2f
3: 0
4: 0
5: 0
6: 0
7: 0`
for more infomation see log.txt
|