Lines Matching defs:BF
93 * BF is the condition register bit field which can range from 0-7. But for
94 * testing purposes, we only use BF values of '0' and '5'.
96 static void _test_dtstdc(int BF, int DCM, dfp_val_t *val1, dfp_val_t *x1 __attribute__((unused)))
99 if (DCM < 0 || DCM > 5 || !(BF == 0 || BF == 5)) {
100 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DCM);
105 if (BF)
111 if (BF)
117 if (BF)
123 if (BF)
129 if (BF)
135 if (BF)
145 static void _test_dtstdcq(int BF, int DCM, dfp_val_t *val1, dfp_val_t *x1 __attribute__((unused)))
148 if (DCM < 0 || DCM > 5 || !(BF == 0 || BF == 5)) {
149 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DCM);
154 if (BF)
160 if (BF)
166 if (BF)
172 if (BF)
178 if (BF)
184 if (BF)
197 * BF is the condition register bit field which can range from 0-7. But for
198 * testing purposes, we only use BF values of '0' and '5'.
200 static void _test_dtstdg(int BF, int DGM, dfp_val_t *val1, dfp_val_t *x1 __attribute__((unused)))
203 if (DGM < 0 || DGM > 5 || !(BF == 0 || BF == 5)) {
204 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DGM);
209 if (BF)
215 if (BF)
221 if (BF)
227 if (BF)
233 if (BF)
239 if (BF)
249 static void _test_dtstdgq(int BF, int DGM, dfp_val_t *val1, dfp_val_t *x1 __attribute__((unused)))
252 if (DGM < 0 || DGM > 5 || !(BF == 0 || BF == 5)) {
253 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DGM);
258 if (BF)
264 if (BF)
270 if (BF)
276 if (BF)
282 if (BF)
288 if (BF)
298 /* In _test_dtstex[q], BF is the condition register bit field indicating the
299 * CR field in which the result of the test should be placed. BF can range
300 * from 0-7, but for testing purposes, we only use BF values of '4' and '7'.
303 _test_dtstex(int BF, int x __attribute__((unused)), dfp_val_t *val1, dfp_val_t *val2)
307 if (!(BF == 4 || BF == 7)) {
308 fprintf(stderr, "Invalid input to asm test: a=%d\n", BF);
311 switch (BF) {
323 static void _test_dtstexq(int BF, int x __attribute__((unused)), dfp_val_t *val1, dfp_val_t *val2)
327 if (!(BF == 4 || BF == 7)) {
328 fprintf(stderr, "Invalid input to asm test: a=%d\n", BF);
331 switch (BF) {
496 int data_class_OR_group, BF = 0;
518 (*func)(BF, data_class_OR_group, &test_val, &dummy);
521 condreg = ((flags >> (4 * (7-BF)))) & 0xf;
531 printf(" => %x (BF=%d)\n", condreg, BF);
535 BF = 5;
560 /* BF is a 3-bit instruction field that indicates the CR field in which the
562 * 8 possible BF values since storing compare results to a given field is
563 * a well-tested mechanism in VEX. But we will test two BF values, just as
566 int i, repeat = 1, BF = 4;
591 (*func)(BF, 0, &test_val1, &test_val2);
594 condreg = ((flags >> (4 * (7-BF)))) & 0xf;
603 printf(" => %x (BF=%d)\n", condreg, BF);
607 BF = 7;