diff options
author | David Schleef <ds@schleef.org> | 2010-08-27 14:04:23 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-08-27 14:16:31 -0700 |
commit | ca4bbaaf9067981dc74c5c53c81718e0a1736279 (patch) | |
tree | f2d71679e8e26d88bc3e3b2c9c5c7fd4b3e3bf3d /testsuite | |
parent | e5fc168166aa6917f37f030ff8cc67d61cf5511c (diff) |
Implement parsing of float constants
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/test.orc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/test.orc b/testsuite/test.orc index fcfe26d..c0a0a8a 100644 --- a/testsuite/test.orc +++ b/testsuite/test.orc @@ -2228,3 +2228,16 @@ ldresnearb d1, s1, p1, p2 ldreslinb d1, s1, p1, p2 + +.function test_float_constant_1 +.dest 4 d1 +.const 4 c1 2.0 + +copyl d1, c1 + + +.function test_float_constant_2 +.dest 4 d1 + +copyl d1, 2.0 + |