File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see
20
20
#include " config.h"
21
21
#include " system.h"
22
22
#include " coretypes.h"
23
+ #include " target.h"
23
24
#include " tm.h"
24
25
#include " tm_jit.h"
25
26
#include < sys/auxv.h>
@@ -52,6 +53,24 @@ aarch64_jit_register_target_info (void)
52
53
jit_target_set_arch (cpu);
53
54
}
54
55
56
+ if (targetm.scalar_mode_supported_p (TImode))
57
+ {
58
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_UINT128_T);
59
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_INT128_T);
60
+ }
61
+
62
+ if (float16_type_node != NULL && TYPE_PRECISION (float16_type_node) == 16 )
63
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_FLOAT16);
64
+
65
+ if (float32_type_node != NULL && TYPE_PRECISION (float32_type_node) == 32 )
66
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_FLOAT32);
67
+
68
+ if (float64_type_node != NULL && TYPE_PRECISION (float64_type_node) == 64 )
69
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_FLOAT64);
70
+
71
+ if (float128_type_node != NULL && TYPE_PRECISION (float128_type_node) == 128 )
72
+ jit_target_add_supported_target_dependent_type (GCC_JIT_TYPE_FLOAT128);
73
+
55
74
if (TARGET_AES)
56
75
jit_add_target_info (" target_feature" , " aes" );
57
76
if (TARGET_BF16_FP)
You can’t perform that action at this time.
0 commit comments