From 6acefcbbc51aa7d2edb7b2098a5b15d06e742604 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Tue, 22 Jan 2019 16:18:22 +0100 Subject: Added sxwd and zxwd support --- test/mppa/instr/cast_S32_S64.c | 7 +++++++ test/mppa/instr/cast_S64_U32.c | 7 +++++++ test/mppa/instr/cast_U32_S64.c | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 test/mppa/instr/cast_S32_S64.c create mode 100644 test/mppa/instr/cast_S64_U32.c create mode 100644 test/mppa/instr/cast_U32_S64.c (limited to 'test/mppa/instr') diff --git a/test/mppa/instr/cast_S32_S64.c b/test/mppa/instr/cast_S32_S64.c new file mode 100644 index 00000000..09c97e00 --- /dev/null +++ b/test/mppa/instr/cast_S32_S64.c @@ -0,0 +1,7 @@ +#include "framework.h" + +BEGIN_TEST(int) +{ + c = (long long) a; +} +END_TEST32() diff --git a/test/mppa/instr/cast_S64_U32.c b/test/mppa/instr/cast_S64_U32.c new file mode 100644 index 00000000..da49b2a8 --- /dev/null +++ b/test/mppa/instr/cast_S64_U32.c @@ -0,0 +1,7 @@ +#include "framework.h" + +BEGIN_TEST(long long) +{ + c = (unsigned int) a; +} +END_TEST() diff --git a/test/mppa/instr/cast_U32_S64.c b/test/mppa/instr/cast_U32_S64.c new file mode 100644 index 00000000..b6bcdf6a --- /dev/null +++ b/test/mppa/instr/cast_U32_S64.c @@ -0,0 +1,7 @@ +#include "framework.h" + +BEGIN_TEST(unsigned int) +{ + c = (long long) a; +} +END_TEST() -- cgit