Lines Matching refs:s2
6 #define AND_REG_MEM(insn, s1, s2) \ argument
14 : "d" (tmp), "Q" (s2) \
16 printf(#insn " + %16.16lX & %16.16lX = %16.16lX (cc=%d)\n", s1, s2, tmp, cc); \
19 #define AND_REG_REG(insn, s1, s2) \ argument
27 : "d" (tmp), "d" (s2) \
29 printf(#insn " + %16.16lX & %16.16lX = %16.16lX (cc=%d)\n", s1, s2, tmp, cc); \
32 #define AND_REG_IMM(insn, s1, s2) \ argument
36 asm volatile( insn(2,s2) \
43 printf(#insn " + %16.16lX & %16.16lX = %16.16lX (cc=%d)\n", s1, (unsigned long) 0x##s2, v, cc); \
46 #define AND_MEM_IMM(insn, s1, s2) \ argument
50 asm volatile( #insn " %0," #s2 "\n" \
56 printf(#insn " + %16.16lX & %16.16lX = %16.16lX (cc=%d)\n", s1, (unsigned long) s2, tmp, cc); \
60 #define memsweep(i, s2) \ argument
62 AND_REG_MEM(i, 0ul, s2); \
63 AND_REG_MEM(i, 1ul, s2); \
64 AND_REG_MEM(i, 0xfffful, s2); \
65 AND_REG_MEM(i, 0x7ffful, s2); \
66 AND_REG_MEM(i, 0x8000ul, s2); \
67 AND_REG_MEM(i, 0xfffffffful, s2); \
68 AND_REG_MEM(i, 0x80000000ul, s2); \
69 AND_REG_MEM(i, 0x7ffffffful, s2); \
70 AND_REG_MEM(i, 0xaaaaaaaaaaaaaaaaul, s2); \
71 AND_REG_MEM(i, 0x8000000000000000ul, s2); \
72 AND_REG_MEM(i, 0xfffffffffffffffful, s2); \
73 AND_REG_MEM(i, 0x5555555555555555ul, s2); \
76 #define regsweep(i, s2) \ argument
78 AND_REG_REG(i, 0ul, s2); \
79 AND_REG_REG(i, 1ul, s2); \
80 AND_REG_REG(i, 0xfffful, s2); \
81 AND_REG_REG(i, 0x7ffful, s2); \
82 AND_REG_REG(i, 0x8000ul, s2); \
83 AND_REG_REG(i, 0xfffffffful, s2); \
84 AND_REG_REG(i, 0x80000000ul, s2); \
85 AND_REG_REG(i, 0x7ffffffful, s2); \
86 AND_REG_REG(i, 0xaaaaaaaaaaaaaaaaul, s2); \
87 AND_REG_REG(i, 0x8000000000000000ul, s2); \
88 AND_REG_REG(i, 0xfffffffffffffffful, s2); \
89 AND_REG_REG(i, 0x5555555555555555ul, s2); \
92 #define immsweep(i, s2) \ argument
94 AND_REG_IMM(i, 0ul, s2); \
95 AND_REG_IMM(i, 1ul, s2); \
96 AND_REG_IMM(i, 0xfffful, s2); \
97 AND_REG_IMM(i, 0x7ffful, s2); \
98 AND_REG_IMM(i, 0x8000ul, s2); \
99 AND_REG_IMM(i, 0xfffffffful, s2); \
100 AND_REG_IMM(i, 0x80000000ul, s2); \
101 AND_REG_IMM(i, 0x7ffffffful, s2); \
102 AND_REG_IMM(i, 0xaaaaaaaaaaaaaaaaul, s2); \
103 AND_REG_IMM(i, 0x8000000000000000ul, s2); \
104 AND_REG_IMM(i, 0xfffffffffffffffful, s2); \
105 AND_REG_IMM(i, 0x5555555555555555ul, s2); \
108 #define memimmsweep(i, s2) \ argument
110 AND_MEM_IMM(i, 0ul, s2); \
111 AND_MEM_IMM(i, 1ul, s2); \
112 AND_MEM_IMM(i, 0xfffful, s2); \
113 AND_MEM_IMM(i, 0x7ffful, s2); \
114 AND_MEM_IMM(i, 0x8000ul, s2); \
115 AND_MEM_IMM(i, 0xfffffffful, s2); \
116 AND_MEM_IMM(i, 0x80000000ul, s2); \
117 AND_MEM_IMM(i, 0x7ffffffful, s2); \
118 AND_MEM_IMM(i, 0xaaaaaaaaaaaaaaaaul, s2); \
119 AND_MEM_IMM(i, 0x8000000000000000ul, s2); \
120 AND_MEM_IMM(i, 0xfffffffffffffffful, s2); \
121 AND_MEM_IMM(i, 0x5555555555555555ul, s2); \
124 #define AND_NY(s1, s2) \ argument
127 register unsigned long *addr asm("2") = &s2; \
135 printf("ny + %16.16lX & %16.16lX = %16.16lX (cc=%d)\n", s1, s2, tmp, cc); \
152 #define nysweep(s2) \ argument
154 AND_NY(0ul, s2); \
155 AND_NY(1ul, s2); \
156 AND_NY(0xfffful, s2); \
157 AND_NY(0x7ffful, s2); \
158 AND_NY(0x8000ul, s2); \
159 AND_NY(0xfffffffful, s2); \
160 AND_NY(0x80000000ul, s2); \
161 AND_NY(0x7ffffffful, s2); \
162 AND_NY(0xaaaaaaaaaaaaaaaaul, s2); \
163 AND_NY(0x8000000000000000ul, s2); \
164 AND_NY(0xfffffffffffffffful, s2); \
165 AND_NY(0x5555555555555555ul, s2); \
168 #define niysweep(s2) \ argument
170 AND_NIY(0ul, s2); \
171 AND_NIY(1ul, s2); \
172 AND_NIY(0xfffful, s2); \
173 AND_NIY(0x7ffful, s2); \
174 AND_NIY(0x8000ul, s2); \
175 AND_NIY(0xfffffffful, s2); \
176 AND_NIY(0x80000000ul, s2); \
177 AND_NIY(0x7ffffffful, s2); \
178 AND_NIY(0xaaaaaaaaaaaaaaaaul, s2); \
179 AND_NIY(0x8000000000000000ul, s2); \
180 AND_NIY(0xfffffffffffffffful, s2); \
181 AND_NIY(0x5555555555555555ul, s2); \