diff options
author | Kevin Buhr <buhr@asaurus.net> | 2019-05-01 17:13:33 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-05-08 15:35:13 -0400 |
commit | d9bdff607e79a605197a13203ca9421153e8dd37 (patch) | |
tree | 64b7b42f69f00311793dff046c4e4328eaf706a9 /testsuite/tests/codeGen/should_run/all.T | |
parent | ed5f858b8484a207e28baf9cbec4c60de1c86187 (diff) | |
download | haskell-d9bdff607e79a605197a13203ca9421153e8dd37.tar.gz |
stg_floatToWord32zh: zero-extend the Word32 (#16617)
The primop stgFloatToWord32 was sign-extending the 32-bit word, resulting
in weird negative Word32s. Zero-extend them instead.
Closes #16617.
Diffstat (limited to 'testsuite/tests/codeGen/should_run/all.T')
-rw-r--r-- | testsuite/tests/codeGen/should_run/all.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T index 189fb72e7f..6b4d772627 100644 --- a/testsuite/tests/codeGen/should_run/all.T +++ b/testsuite/tests/codeGen/should_run/all.T @@ -194,3 +194,4 @@ test('T15892', # happen, so -G1 -A32k: extra_run_opts('+RTS -G1 -A32k -RTS') ], compile_and_run, ['-O']) +test('T16617', normal, compile_and_run, ['']) |