summaryrefslogtreecommitdiffstats
path: root/tests/test-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-02-24 23:43:02 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-02-24 23:43:02 +0000
commit379ca80d34d685c038800be58d2314933619d78b (patch)
tree206fda3e9a6f47d06eb3b037098d340306b51768 /tests/test-i386.c
parent4d1135e486fcdd3b00caf524f01af7f0d56a0af7 (diff)
downloadhqemu-379ca80d34d685c038800be58d2314933619d78b.zip
hqemu-379ca80d34d685c038800be58d2314933619d78b.tar.gz
added shift tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@12 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests/test-i386.c')
-rw-r--r--tests/test-i386.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c
index 943bbf0..5fb9c5c 100644
--- a/tests/test-i386.c
+++ b/tests/test-i386.c
@@ -67,6 +67,30 @@ static void *call_start __init_call = NULL;
#define OP1
#include "test-i386.h"
+#define OP shl
+#include "test-i386-shift.h"
+
+#define OP shr
+#include "test-i386-shift.h"
+
+#define OP sar
+#include "test-i386-shift.h"
+
+#define OP rol
+#include "test-i386-shift.h"
+
+#define OP ror
+#include "test-i386-shift.h"
+
+#define OP rcr
+#define OP_CC
+#include "test-i386-shift.h"
+
+#define OP rcl
+#define OP_CC
+#include "test-i386-shift.h"
+
+
/* lea test (modrm support) */
#define TEST_LEA(STR)\
{\
OpenPOWER on IntegriCloud