summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/i386/1751494
blob: 13a949ab9fc3bf85126379666dc9c4ce6b85420e (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
i386: 0.883
graphic: 0.676
TCG: 0.641
x86: 0.611
assembly: 0.586
device: 0.585
semantic: 0.580
files: 0.510
mistranslation: 0.510
architecture: 0.466
user-level: 0.466
performance: 0.417
PID: 0.379
socket: 0.335
ppc: 0.334
virtual: 0.331
network: 0.320
peripherals: 0.310
hypervisor: 0.294
permissions: 0.280
vnc: 0.279
debug: 0.258
register: 0.247
arm: 0.169
risc-v: 0.165
boot: 0.154
VMM: 0.104
kernel: 0.093
KVM: 0.051

tcg-target.inc.c:3495:no such instruction: `xgetbv'

While building QEMU on Mac OS 10.6.8 I saw this error message:
tag-target.inc.c:3495:no such instruction: `xgetbv'
In the file tcg/i386/tcg-target.inc.c at line 3495 is where the issue is located. This is the problem code:
asm ("xgetbv" : "=a" (xcrl), "=d" (xcrh) : "c" (0));

https://github.com/asmjit/asmjit/issues/78
According to the above link, another project also experienced this problem on Mac OS X. The fix was to replace the name of the instruction with the encoded form '.byte 0x0F, 0x01, 0xd0'. 

Host info:
Mac OS 10.6.8
GCC 5.2.0

Additional information:
This may be a gcc issue. I have compiled QEMU on Mac OS 10.12 and didn't experience any issues. The compiler used was Apple's clang.

The exact commit that causes this problem is this:

commit 770c2fc7bb70804ae9869995fd02dadd6d7656ac
tcg/i386: Add vector operations

This has been fixed here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=1019242af11400252