aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/instr/i64.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-08-30 12:09:23 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-08-30 12:09:23 +0200
commit96d03d469015db45828c89a68247f2c70c2bb102 (patch)
treea41285746ad036a2db7843ccf810d6589cbba8a3 /test/mppa/instr/i64.c
parent3a78733f68c8c02f8578fbfa8ca08bbed8ac7988 (diff)
downloadcompcert-kvx-96d03d469015db45828c89a68247f2c70c2bb102.tar.gz
compcert-kvx-96d03d469015db45828c89a68247f2c70c2bb102.zip
Adding tests for addx8d addx8w etc..
Diffstat (limited to 'test/mppa/instr/i64.c')
-rw-r--r--test/mppa/instr/i64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mppa/instr/i64.c b/test/mppa/instr/i64.c
index 00eb159d..84828bfb 100644
--- a/test/mppa/instr/i64.c
+++ b/test/mppa/instr/i64.c
@@ -43,6 +43,10 @@ BEGIN_TEST(long long)
c += a >> (b & 0x8LL);
c += a >> (b & 0x8ULL);
c += a % b;
+ c += (a << 4); // addx16d
+ c += (a << 3); // addx8d
+ c += (a << 2); // addx4d
+ c += (a << 1); // addx2d
long long d = 3;
long long (*op)(long long, long long);