[Git][ghc/ghc][wip/supersven/riscv64-ncg] Skip divbyzero test (like most archs)
Sven Tennie (@supersven)
gitlab at gitlab.haskell.org
Wed Mar 20 19:21:21 UTC 2024
Sven Tennie pushed to branch wip/supersven/riscv64-ncg at Glasgow Haskell Compiler / GHC
Commits:
d77e95a4 by Sven Tennie at 2024-03-20T20:16:08+01:00
Skip divbyzero test (like most archs)
- - - - -
1 changed file:
- testsuite/tests/rts/all.T
Changes:
=====================================
testsuite/tests/rts/all.T
=====================================
@@ -62,6 +62,10 @@ test('divbyzero',
# each devision. Neither gcc, nor llvm do this as of right now. Microsoft
# apparently does so though?
when(arch('aarch64'), skip),
+ # RISCV64 has no exception for this, too. Instead all bits of the result
+ # are set. As with Aarch64 neither GCC nor LLVM translate this result to
+ # an exception.
+ when(arch('riscv64'), skip),
# Apparently the output can be different on different
# Linux setups, so just ignore it. As long as we get
# the right exit code we're OK.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d77e95a42e9e4cfad5e36e64c5dff4ae57d00bd7
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d77e95a42e9e4cfad5e36e64c5dff4ae57d00bd7
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240320/a4551a9d/attachment.html>
More information about the ghc-commits
mailing list