Lines Matching defs:BF

88  * BF is the condition register bit field which can range from 0-7.  But for
89 * testing purposes, we only use BF values of '0' and '5'.
91 static void _test_dtstdc(int BF, int DCM, dfp_val_t val1, dfp_val_t x1 __attribute__((unused)))
94 if (DCM < 0 || DCM > 5 || !(BF == 0 || BF == 5)) {
95 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DCM);
100 if (BF)
106 if (BF)
112 if (BF)
118 if (BF)
124 if (BF)
130 if (BF)
140 static void _test_dtstdcq(int BF, int DCM, dfp_val_t val1, dfp_val_t x1 __attribute__((unused)))
143 if (DCM < 0 || DCM > 5 || !(BF == 0 || BF == 5)) {
144 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DCM);
149 if (BF)
155 if (BF)
161 if (BF)
167 if (BF)
173 if (BF)
179 if (BF)
192 * BF is the condition register bit field which can range from 0-7. But for
193 * testing purposes, we only use BF values of '0' and '5'.
195 static void _test_dtstdg(int BF, int DGM, dfp_val_t val1, dfp_val_t x1 __attribute__((unused)))
198 if (DGM < 0 || DGM > 5 || !(BF == 0 || BF == 5)) {
199 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DGM);
204 if (BF)
210 if (BF)
216 if (BF)
222 if (BF)
228 if (BF)
234 if (BF)
244 static void _test_dtstdgq(int BF, int DGM, dfp_val_t val1, dfp_val_t x1 __attribute__((unused)))
247 if (DGM < 0 || DGM > 5 || !(BF == 0 || BF == 5)) {
248 fprintf(stderr, "Invalid inputs to asm test: a=%d, b=%d\n", BF, DGM);
253 if (BF)
259 if (BF)
265 if (BF)
271 if (BF)
277 if (BF)
283 if (BF)
293 /* In _test_dtstex[q], BF is the condition register bit field indicating the
294 * CR field in which the result of the test should be placed. BF can range
295 * from 0-7, but for testing purposes, we only use BF values of '4' and '7'.
298 _test_dtstex(int BF, int x __attribute__((unused)), dfp_val_t val1, dfp_val_t val2)
302 if (!(BF == 4 || BF == 7)) {
303 fprintf(stderr, "Invalid input to asm test: a=%d\n", BF);
306 switch (BF) {
318 static void _test_dtstexq(int BF, int x __attribute__((unused)), dfp_val_t val1, dfp_val_t val2)
322 if (!(BF == 4 || BF == 7)) {
323 fprintf(stderr, "Invalid input to asm test: a=%d\n", BF);
326 switch (BF) {
491 int data_class_OR_group, BF = 0;
508 (*func)(BF, data_class_OR_group, test_val, dummy);
511 condreg = ((flags >> (4 * (7-BF)))) & 0xf;
517 printf(" => %x (BF=%d)\n", condreg, BF);
521 BF = 5;
546 /* BF is a 3-bit instruction field that indicates the CR field in which the
548 * 8 possible BF values since storing compare results to a given field is
549 * a well-tested mechanism in VEX. But we will test two BF values, just as
552 int i, repeat = 1, BF = 4;
574 (*func)(BF, 0, test_val1, test_val2);
577 condreg = ((flags >> (4 * (7-BF)))) & 0xf;
586 printf(" => %x (BF=%d)\n", condreg, BF);
590 BF = 7;