1// fpr_sse_x86_64.core was generated with:
2// ./make-core.sh fpr_sse.cpp
3//
4// fpr_sse_i386.core was generated with:
5// export CFLAGS=-m32
6// ./make-core.sh fpr_sse.cpp
7
8void _start(void) {
9 __asm__("fldpi;"
10 "fldz;"
11 "fld1;"
12 "fldl2e;"
13 "fldln2;"
14 "fldl2t;"
15 "fld1;"
16 "fldlg2;");
17
18 unsigned int values[8] = {
19 0x46643129, 0x6486ed9c, 0xd71fc207, 0x254820a2,
20 0xc4a85aeb, 0x0b204149, 0x4f8bf1f8, 0xcd30f113,
21 };
22
23 __asm__("vbroadcastss %0, %%xmm0;"
24 "vbroadcastss %1, %%xmm1;"
25 "vbroadcastss %2, %%xmm2;"
26 "vbroadcastss %3, %%xmm3;"
27 "vbroadcastss %4, %%xmm4;"
28 "vbroadcastss %5, %%xmm5;"
29 "vbroadcastss %6, %%xmm6;"
30 "vbroadcastss %7, %%xmm7;"
31
32 ::"m"(values[0]),
33 "m"(values[1]), "m"(values[2]), "m"(values[3]), "m"(values[4]),
34 "m"(values[5]), "m"(values[6]), "m"(values[7]));
35
36 volatile int *a = 0;
37 *a = 0;
38}
39

source code of lldb/test/API/functionalities/postmortem/elf-core/fpr_sse.cpp