Home
last modified time | relevance | path

Searched refs:AboveMax (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dinline-asm-validate-m68k.c11 static const int AboveMax = 9; in I() local
13 asm ("" :: "I"(AboveMax)); // expected-error{{value '9' out of range for constraint 'I'}} in I()
18 static const int AboveMax = 0x8000; in J() local
20 asm ("" :: "J"(AboveMax)); // expected-error{{value '32768' out of range for constraint 'J'}} in J()
25 static const int AboveMax = 0; in L() local
27 asm ("" :: "L"(AboveMax)); // expected-error{{value '0' out of range for constraint 'L'}} in L()
32 static const int AboveMax = 32; in N() local
34 asm ("" :: "N"(AboveMax)); // expected-error{{value '32' out of range for constraint 'N'}} in N()
45 static const int AboveMax = 16; in P() local
47 asm ("" :: "P"(AboveMax)); // expected-error{{value '16' out of range for constraint 'P'}} in P()
H A Dinline-asm-validate-x86.c6 static const int AboveMax = 32; in I() local
12 : "0"(i), "I"(AboveMax)); // expected-error{{value '32' out of range for constraint 'I'}} in I()
20 static const int AboveMax = 64; in J() local
26 : "0"(i), "J"(AboveMax)); // expected-error{{value '64' out of range for constraint 'J'}} in J()
34 static const int AboveMax = 128; in K() local
40 : "0"(i), "K"(AboveMax)); // expected-error{{value '128' out of range for constraint 'K'}} in K()
79 static const int AboveMax = 4; in M() local
85 : "0"(i), "M"(AboveMax)); // expected-error{{value '4' out of range for constraint 'M'}} in M()
93 static const int AboveMax = 256; in N() local
99 : "0"(i), "N"(AboveMax)); // expected-error{{value '256' out of range for constraint 'N'}} in N()
[all …]
H A Dinline-asm-validate-riscv.c6 static const int AboveMax = 2048; in I() local
8 …asm volatile ("" :: "I"(AboveMax)); // expected-error{{value '2048' out of range for constraint 'I… in I()
13 static const int AboveMax = 1; in J() local
15 asm volatile ("" :: "J"(AboveMax)); // expected-error{{value '1' out of range for constraint 'J'}} in J()
20 static const int AboveMax = 32; in K() local
22 …asm volatile ("" :: "K"(AboveMax)); // expected-error{{value '32' out of range for constraint 'K'}} in K()