math: array parameters can be NULL
[smatch.git] / target-alpha.c
blob3f582997eb969f4b983091946adc0cc4863f680f
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
4 #include "builtin.h"
7 static void predefine_alpha(const struct target *self)
9 predefine("__alpha__", 1, "1");
10 predefine("__alpha", 1, "1");
13 static const struct builtin_fn builtins_alpha[] = {
14 { "__builtin_alpha_cmpbge", &long_ctype, 0, { &long_ctype, &long_ctype }},
15 { "__builtin_alpha_extbl", &long_ctype, 0, { &long_ctype, &long_ctype }},
16 { "__builtin_alpha_extwl", &long_ctype, 0, { &long_ctype, &long_ctype }},
17 { "__builtin_alpha_insbl", &long_ctype, 0, { &long_ctype, &long_ctype }},
18 { "__builtin_alpha_inslh", &long_ctype, 0, { &long_ctype, &long_ctype }},
19 { "__builtin_alpha_insql", &long_ctype, 0, { &long_ctype, &long_ctype }},
20 { "__builtin_alpha_inswl", &long_ctype, 0, { &long_ctype, &long_ctype }},
21 { }
24 const struct target target_alpha = {
25 .mach = MACH_ALPHA,
26 .bitness = ARCH_LP64,
28 .predefine = predefine_alpha,
29 .builtins = builtins_alpha,