We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c918a58 commit a8b97c3Copy full SHA for a8b97c3
gcc/config/arc64/arc64-c.c
@@ -59,6 +59,13 @@ arc64_cpu_cpp_builtins (cpp_reader * pfile)
59
if (arc64_atomic_option)
60
builtin_define_with_int_value ("__ARC64_ATOMIC__", arc64_atomic_option);
61
62
+ if (arc64_cmodel_var == ARC64_CMODEL_SMALL)
63
+ builtin_define ("__ARC64_CMODEL_SMALL__");
64
+ else if (arc64_cmodel_var == ARC64_CMODEL_MEDIUM)
65
+ builtin_define ("__ARC64_CMODEL_MEDIUM__");
66
+ else if (arc64_cmodel_var == ARC64_CMODEL_LARGE)
67
+ builtin_define ("__ARC64_CMODEL_LARGE__");
68
+
69
#undef ARC64_C_DEF
70
#define ARC64_C_DEF(NAME, CONDITION) \
71
def_or_undef_macro (pfile, NAME, CONDITION);
0 commit comments