You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you check the LLVM Language Reference for fptosi https://llvm.org/docs/LangRef.html#fptosi-to-instruction you see that if the value does not fit, it's a poison value, and it's ok to replace the value with any value of that type.
On x86 the poison value is 0 and on Risc-V the posion value is -1 for this case. Why does Julia need the poison value to be 0?
The text was updated successfully, but these errors were encountered:
I am testing Julia on RISC-V, and hit a small snag, but the test could perhaps be removed?
julia/test/float16.jl
Line 82 in 7fa26f0
Is on line 82. Julia will issue this code (Both on X86 and Risc-V)
When you check the LLVM Language Reference for fptosi https://llvm.org/docs/LangRef.html#fptosi-to-instruction you see that if the value does not fit, it's a poison value, and it's ok to replace the value with any value of that type.
On x86 the poison value is 0 and on Risc-V the posion value is -1 for this case. Why does Julia need the poison value to be 0?
The text was updated successfully, but these errors were encountered: