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