Revision d57c4e01 tests/test-i386.c
b/tests/test-i386.c | ||
---|---|---|
92 | 92 |
#define OP_CC |
93 | 93 |
#include "test-i386-shift.h" |
94 | 94 |
|
95 |
#define OP shld |
|
96 |
#define OP_SHIFTD |
|
97 |
#define OP_NOBYTE |
|
98 |
#include "test-i386-shift.h" |
|
99 |
|
|
100 |
#define OP shrd |
|
101 |
#define OP_SHIFTD |
|
102 |
#define OP_NOBYTE |
|
103 |
#include "test-i386-shift.h" |
|
104 |
|
|
105 |
/* XXX: should be more precise ? */ |
|
106 |
#undef CC_MASK |
|
107 |
#define CC_MASK (CC_C) |
|
108 |
|
|
109 |
#define OP bt |
|
110 |
#define OP_NOBYTE |
|
111 |
#include "test-i386-shift.h" |
|
112 |
|
|
113 |
#define OP bts |
|
114 |
#define OP_NOBYTE |
|
115 |
#include "test-i386-shift.h" |
|
116 |
|
|
117 |
#define OP btr |
|
118 |
#define OP_NOBYTE |
|
119 |
#include "test-i386-shift.h" |
|
120 |
|
|
121 |
#define OP btc |
|
122 |
#define OP_NOBYTE |
|
123 |
#include "test-i386-shift.h" |
|
95 | 124 |
|
96 | 125 |
/* lea test (modrm support) */ |
97 | 126 |
#define TEST_LEA(STR)\ |
... | ... | |
403 | 432 |
void **ptr; |
404 | 433 |
void (*func)(void); |
405 | 434 |
|
406 |
test_mul(); |
|
407 |
#if 0 |
|
408 | 435 |
ptr = &call_start + 1; |
409 | 436 |
while (*ptr != NULL) { |
410 | 437 |
func = *ptr++; |
411 | 438 |
func(); |
412 | 439 |
} |
440 |
test_mul(); |
|
413 | 441 |
test_jcc(); |
414 | 442 |
test_lea(); |
415 |
#endif |
|
416 | 443 |
return 0; |
417 | 444 |
} |
Also available in: Unified diff