Branch data Line data Source code
1 : 5120 : if (TARGET_64BIT)
2 : 5120 : ADD_TARGET_INFO ("target_arch", "x86_64");
3 : : else
4 : 0 : ADD_TARGET_INFO ("target_arch", "x86");
5 : :
6 : : // features officially "stabilised" in rustc
7 : 5120 : if (TARGET_MMX)
8 : 5120 : ADD_TARGET_INFO ("target_feature", "mmx");
9 : 5120 : if (TARGET_SSE)
10 : 5120 : ADD_TARGET_INFO ("target_feature", "sse");
11 : 5120 : if (TARGET_SSE2)
12 : 5120 : ADD_TARGET_INFO ("target_feature", "sse2");
13 : 5120 : if (TARGET_SSE3)
14 : 0 : ADD_TARGET_INFO ("target_feature", "sse3");
15 : 5120 : if (TARGET_SSSE3)
16 : 0 : ADD_TARGET_INFO ("target_feature", "ssse3");
17 : 5120 : if (TARGET_SSE4_1)
18 : 0 : ADD_TARGET_INFO ("target_feature", "sse4.1");
19 : 5120 : if (TARGET_SSE4_2)
20 : 0 : ADD_TARGET_INFO ("target_feature", "sse4.2");
21 : 5120 : if (TARGET_AES)
22 : 0 : ADD_TARGET_INFO ("target_feature", "aes");
23 : 5120 : if (TARGET_SHA)
24 : 0 : ADD_TARGET_INFO ("target_feature", "sha");
25 : 5120 : if (TARGET_AVX)
26 : 0 : ADD_TARGET_INFO ("target_feature", "avx");
27 : 5120 : if (TARGET_AVX2)
28 : 0 : ADD_TARGET_INFO ("target_feature", "avx2");
29 : 5120 : if (TARGET_AVX512F)
30 : 0 : ADD_TARGET_INFO ("target_feature", "avx512f");
31 : 5120 : if (TARGET_AVX512CD)
32 : 0 : ADD_TARGET_INFO ("target_feature", "avx512cd");
33 : 5120 : if (TARGET_AVX512DQ)
34 : 0 : ADD_TARGET_INFO ("target_feature", "avx512dq");
35 : 5120 : if (TARGET_AVX512BW)
36 : 0 : ADD_TARGET_INFO ("target_feature", "avx512bw");
37 : 5120 : if (TARGET_AVX512VL)
38 : 0 : ADD_TARGET_INFO ("target_feature", "avx512vl");
39 : 5120 : if (TARGET_AVX512VBMI)
40 : 0 : ADD_TARGET_INFO ("target_feature", "avx512vbmi");
41 : 5120 : if (TARGET_AVX512IFMA)
42 : 0 : ADD_TARGET_INFO ("target_feature", "avx512ifma");
43 : 5120 : if (TARGET_AVX512VPOPCNTDQ)
44 : 0 : ADD_TARGET_INFO ("target_feature", "avx512vpopcntdq");
45 : 5120 : if (TARGET_FMA)
46 : 0 : ADD_TARGET_INFO ("target_feature", "fma");
47 : 5120 : if (TARGET_RTM)
48 : 0 : ADD_TARGET_INFO ("target_feature", "rtm");
49 : 5120 : if (TARGET_SSE4A)
50 : 0 : ADD_TARGET_INFO ("target_feature", "sse4a");
51 : 5120 : if (TARGET_BMI)
52 : : {
53 : 0 : ADD_TARGET_INFO ("target_feature", "bmi1");
54 : 0 : ADD_TARGET_INFO ("target_feature", "bmi");
55 : : }
56 : 5120 : if (TARGET_BMI2)
57 : 0 : ADD_TARGET_INFO ("target_feature", "bmi2");
58 : 5120 : if (TARGET_LZCNT)
59 : 0 : ADD_TARGET_INFO ("target_feature", "lzcnt");
60 : 5120 : if (TARGET_TBM)
61 : 0 : ADD_TARGET_INFO ("target_feature", "tbm");
62 : 5120 : if (TARGET_POPCNT)
63 : 0 : ADD_TARGET_INFO ("target_feature", "popcnt");
64 : 5120 : if (TARGET_RDRND)
65 : : {
66 : 0 : ADD_TARGET_INFO ("target_feature", "rdrand");
67 : 0 : ADD_TARGET_INFO ("target_feature", "rdrnd");
68 : : }
69 : 5120 : if (TARGET_F16C)
70 : 0 : ADD_TARGET_INFO ("target_feature", "f16c");
71 : 5120 : if (TARGET_RDSEED)
72 : 0 : ADD_TARGET_INFO ("target_feature", "rdseed");
73 : 5120 : if (TARGET_ADX)
74 : 0 : ADD_TARGET_INFO ("target_feature", "adx");
75 : 5120 : if (TARGET_FXSR)
76 : 5120 : ADD_TARGET_INFO ("target_feature", "fxsr");
77 : 5120 : if (TARGET_XSAVE)
78 : 0 : ADD_TARGET_INFO ("target_feature", "xsave");
79 : 5120 : if (TARGET_XSAVEOPT)
80 : 0 : ADD_TARGET_INFO ("target_feature", "xsaveopt");
81 : 5120 : if (TARGET_XSAVEC)
82 : 0 : ADD_TARGET_INFO ("target_feature", "xsavec");
83 : 5120 : if (TARGET_XSAVES)
84 : 0 : ADD_TARGET_INFO ("target_feature", "xsaves");
85 : 5120 : if (TARGET_VPCLMULQDQ)
86 : : {
87 : 0 : ADD_TARGET_INFO ("target_feature", "pclmulqdq");
88 : 0 : ADD_TARGET_INFO ("target_feature", "vpclmulqdq");
89 : : }
90 : 5120 : if (TARGET_CMPXCHG16B)
91 : 0 : ADD_TARGET_INFO ("target_feature", "cmpxchg16b");
92 : 5120 : if (TARGET_MOVBE)
93 : 0 : ADD_TARGET_INFO ("target_feature", "movbe");
|