1
1
# XFAIL: system-windows
2
- # XFAIL: system-darwin
3
2
# REQUIRES: native && (target-x86 || target-x86_64)
4
3
# RUN: %clangxx_host -g %p/Inputs/x86-fp-read.cpp -o %t
5
4
# RUN: %lldb -b -s %s %t | FileCheck %s
@@ -8,20 +7,20 @@ process launch
8
7
9
8
register read --all
10
9
# CHECK-DAG: fctrl = 0x037b
11
- # CHECK-DAG: fstat = 0x8884
10
+ # CHECK-DAG: fstat = 0x8084
12
11
# TODO: the following value is incorrect, it's a bug in the way
13
- # FXSAVE/XSAVE is interpreted; it should be 0xa963 once fixed
14
- # CHECK-DAG: ftag = 0x00fe
12
+ # FXSAVE/XSAVE is interpreted
13
+ # CHECK-DAG: ftag = 0x007f
15
14
# CHECK-DAG: fop = 0x0033
16
15
17
- # CHECK-DAG: st0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x00 0x40}
18
- # CHECK-DAG: st1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3f 0x00 0x00}
19
- # CHECK-DAG: st2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
20
- # CHECK-DAG: st3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80}
21
- # CHECK-DAG: st4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0xff 0x7f}
22
- # CHECK-DAG: st5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0xff 0xff}
23
- # CHECK-DAG: st6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0xff 0xff}
24
- # CHECK-DAG: st7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
16
+ # CHECK-DAG: st{{(mm)?}}0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0x00 0x40}
17
+ # CHECK-DAG: st{{(mm)?}}1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3f 0x00 0x00}
18
+ # CHECK-DAG: st{{(mm)?}}2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
19
+ # CHECK-DAG: st{{(mm)?}}3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80}
20
+ # CHECK-DAG: st{{(mm)?}}4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0xff 0x7f}
21
+ # CHECK-DAG: st{{(mm)?}}5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x80 0xff 0xff}
22
+ # CHECK-DAG: st{{(mm)?}}6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0xff 0xff}
23
+ # CHECK-DAG: st{{(mm)?}}7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
25
24
26
25
# fdiv (%rbx) gets encoded into 2 bytes, int3 into 1 byte
27
26
print (void*)($pc-3)
0 commit comments