diff options
author | David Schleef <ds@schleef.org> | 2010-09-15 02:14:23 +0400 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-09-15 02:14:23 +0400 |
commit | f75b5481603092e476fff0cb53108772edc3de5a (patch) | |
tree | d532b7ff395f98c8b19510155be93a1781bede5b /testsuite/test.orc | |
parent | 78a88f506ed1deb4c810d7e348ea21c83684d148 (diff) |
test: Add test for x2 float ops
Diffstat (limited to 'testsuite/test.orc')
-rw-r--r-- | testsuite/test.orc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/test.orc b/testsuite/test.orc index b038c15..57664f3 100644 --- a/testsuite/test.orc +++ b/testsuite/test.orc @@ -2241,3 +2241,14 @@ copyl d1, c1 copyl d1, 2.0 +.init convert_fc32_to_int32_init +.function convert_fc32_to_int32 +.source 8 src #one complex float +.dest 4 dst #one complex short +.temp 8 scaled +x2 mulf scaled, src, 32767.0 +.temp 8 lscaled +x2 convfl lscaled, scaled +x2 convlw dst, lscaled + + |