diff options
-rw-r--r-- | test/mppa/instr/div32.c | 5 | ||||
-rw-r--r-- | test/mppa/instr/divf32.c | 5 | ||||
-rw-r--r-- | test/mppa/instr/divf64.c | 5 | ||||
-rw-r--r-- | test/mppa/instr/divu32.c | 7 | ||||
-rw-r--r-- | test/mppa/instr/modi32.c | 5 | ||||
-rw-r--r-- | test/mppa/instr/modui32.c | 7 |
6 files changed, 34 insertions, 0 deletions
diff --git a/test/mppa/instr/div32.c b/test/mppa/instr/div32.c new file mode 100644 index 00000000..83c3a0e3 --- /dev/null +++ b/test/mppa/instr/div32.c @@ -0,0 +1,5 @@ +#include "framework.h" + +BEGIN_TEST(int) + c = a/b; +END_TEST32() diff --git a/test/mppa/instr/divf32.c b/test/mppa/instr/divf32.c new file mode 100644 index 00000000..513a3293 --- /dev/null +++ b/test/mppa/instr/divf32.c @@ -0,0 +1,5 @@ +#include "framework.h" + +BEGIN_TEST(float) + c = a / b; +END_TESTF32() diff --git a/test/mppa/instr/divf64.c b/test/mppa/instr/divf64.c new file mode 100644 index 00000000..0dd23826 --- /dev/null +++ b/test/mppa/instr/divf64.c @@ -0,0 +1,5 @@ +#include "framework.h" + +BEGIN_TEST(double) + c = a / b; +END_TESTF64() diff --git a/test/mppa/instr/divu32.c b/test/mppa/instr/divu32.c new file mode 100644 index 00000000..1fe196c4 --- /dev/null +++ b/test/mppa/instr/divu32.c @@ -0,0 +1,7 @@ +#include "framework.h" + +BEGIN_TEST(unsigned int) +{ + c = a/b; +} +END_TEST32() diff --git a/test/mppa/instr/modi32.c b/test/mppa/instr/modi32.c new file mode 100644 index 00000000..958ae920 --- /dev/null +++ b/test/mppa/instr/modi32.c @@ -0,0 +1,5 @@ +#include "framework.h" + +BEGIN_TEST(int) + c = a%b; +END_TEST32() diff --git a/test/mppa/instr/modui32.c b/test/mppa/instr/modui32.c new file mode 100644 index 00000000..a39034a8 --- /dev/null +++ b/test/mppa/instr/modui32.c @@ -0,0 +1,7 @@ +#include "framework.h" + +BEGIN_TEST(unsigned int) +{ + c = a%b; +} +END_TEST32() |