From d15b2c014daf547e10504278ae42d4651dc71319 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Tue, 13 Nov 2018 11:44:56 +0100 Subject: Revamped the instruction testsuite (all instructions work except umodd and udivd) --- test/mppa/instr/cb.dnez.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/mppa/instr/cb.dnez.c (limited to 'test/mppa/instr/cb.dnez.c') diff --git a/test/mppa/instr/cb.dnez.c b/test/mppa/instr/cb.dnez.c new file mode 100644 index 00000000..81c2cd29 --- /dev/null +++ b/test/mppa/instr/cb.dnez.c @@ -0,0 +1,10 @@ +#include "framework.h" + +BEGIN_TEST(long long) +{ + if (0 == (a & 0x1LL)) + c = 1; + else + c = 0; +} +END_TEST() -- cgit