Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posit regression tests are failing when compiled with clang18 #425

Open
Ravenwater opened this issue Jul 15, 2024 · 0 comments
Open

posit regression tests are failing when compiled with clang18 #425

Ravenwater opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@Ravenwater
Copy link
Contributor

stillwater@b655be1a617a:/workspaces/universal/build_clang18$ cat Testing/Temporary/LastTestsFailed.log
185:posit_decode
193:posit_assignment
194:posit_conversion
195:posit_logic
196:posit_addition
197:posit_complex_add
199:posit_division
202:posit_literals
203:posit_multiplication
204:posit_negation
205:posit_randoms
206:posit_reciprocation
207:posit_sqrt
208:posit_subtraction
221:fast_posit_16_1
226:fast_posit_32_2
227:fast_posit_3_0
229:fast_posit_4_0
232:fast_posit_8_0
233:fast_posit_8_1
235:fast_quire_32_2
241:posit2_addition
243:posito_addition
245:posito_multiplication
247:posito_subtraction
605:c_api_shim_exact_test
608:c_api_shim_posit16
611:c_api_shim_posit4
613:c_api_shim_posit8

Some output of the failures:

Start testing: Jul 15 18:37 UTC

185/626 Testing: posit_decode
185/626 Test: posit_decode
Command: "/workspaces/universal/build_clang/static/posit/posit_decode"
Directory: /workspaces/universal/build_clang/static/posit
"posit_decode" start time: Jul 15 18:37 UTC
Output:

raw bits: 0001 posit bits: 0|001||-
Posit<4,0> decode failed: actual raw bits: 0001 posit bits: 0|001|
|-
0.5 required 0.25
raw bits: 0010 posit bits: 0|01-||-
raw bits: 0011 posit bits: 0|01-|
|-
raw bits: 0100 posit bits: 0|10-||-
raw bits: 0101 posit bits: 0|10-|
|-
raw bits: 0110 posit bits: 0|110||-
raw bits: 0111 posit bits: 0|111|
|-
raw bits: 1001 posit bits: 1|111||-
raw bits: 1010 posit bits: 1|110|
|-
raw bits: 1011 posit bits: 1|10-||-
raw bits: 1100 posit bits: 1|10-|
|-
raw bits: 1101 posit bits: 1|01-||-
raw bits: 1110 posit bits: 1|01-|
|-
raw bits: 1111 posit bits: 1|001||-
Posit<4,0> decode failed: actual raw bits: 1111 posit bits: 1|001|
|-
-0.5 required -0.25
b2p decode FAIL 2 failed test cases

Test time = 0.16 sec

Test Failed.
"posit_decode" end time: Jul 15 18:37 UTC
"posit_decode" time elapsed: 00:00:00

193/626 Testing: posit_assignment
193/626 Test: posit_assignment
Command: "/workspaces/universal/build_clang/static/posit/posit_assignment"
Directory: /workspaces/universal/build_clang/static/posit
"posit_assignment" start time: Jul 15 18:37 UTC
Output:

posit assignment validation: results only
assignment posit<3,0> FAIL 2 failed test cases
assignment posit<4,0> FAIL 6 failed test cases
assignment posit<4,1> FAIL 6 failed test cases
assignment posit<5,0> FAIL 14 failed test cases
assignment posit<5,1> FAIL 14 failed test cases
assignment posit<5,2> FAIL 14 failed test cases
assignment posit<6,0> FAIL 30 failed test cases
assignment posit<6,1> FAIL 30 failed test cases
assignment posit<6,2> FAIL 30 failed test cases
assignment posit<6,3> FAIL 30 failed test cases
assignment posit<7,0> FAIL 62 failed test cases
assignment posit<7,1> FAIL 62 failed test cases
assignment posit<7,2> FAIL 62 failed test cases
assignment posit<7,3> FAIL 62 failed test cases
assignment posit<8,0> FAIL 126 failed test cases
assignment posit<8,1> FAIL 126 failed test cases
assignment posit<8,2> FAIL 126 failed test cases
assignment posit<8,3> FAIL 126 failed test cases
assignment posit<8,4> FAIL 112 failed test cases
assignment posit<9,0> FAIL 254 failed test cases
assignment posit<9,1> FAIL 254 failed test cases
assignment posit<9,2> FAIL 254 failed test cases
assignment posit<9,3> FAIL 254 failed test cases
assignment posit<9,4> FAIL 224 failed test cases
posit assignment validation: FAIL

Test time = 0.16 sec

Test Failed.
"posit_assignment" end time: Jul 15 18:37 UTC
"posit_assignment" time elapsed: 00:00:00

194/626 Testing: posit_conversion
194/626 Test: posit_conversion
Command: "/workspaces/universal/build_clang/static/posit/posit_conversion"
Directory: /workspaces/universal/build_clang/static/posit
"posit_conversion" start time: Jul 15 18:37 UTC
Output:

posit conversion validation: results only
posit<3,0> conversion PASS
posit<4,0> conversion PASS
posit<5,0> conversion PASS
posit<6,0> conversion PASS
posit<7,0> conversion PASS
posit<8,0> conversion PASS
posit<9,0> conversion PASS
posit<3,0> conversion PASS
posit<4,0> conversion PASS
posit<5,0> conversion PASS
posit<6,0> conversion FAIL 5 failed test cases
posit<7,0> conversion FAIL 14 failed test cases
posit<8,0> conversion FAIL 30 failed test cases
posit<9,0> conversion FAIL 62 failed test cases
posit<4,1> conversion FAIL 17 failed test cases
posit<5,1> conversion FAIL 44 failed test cases
posit<6,1> conversion FAIL 92 failed test cases
posit<7,1> conversion FAIL 188 failed test cases
posit<8,1> conversion FAIL 380 failed test cases
posit<9,1> conversion FAIL 764 failed test cases
posit<5,2> conversion FAIL 44 failed test cases
posit<6,2> conversion FAIL 92 failed test cases
posit<7,2> conversion FAIL 188 failed test cases
posit<8,2> conversion FAIL 380 failed test cases
posit<9,2> conversion FAIL 764 failed test cases
posit<6,3> conversion FAIL 92 failed test cases
posit<7,3> conversion FAIL 188 failed test cases
posit<8,3> conversion FAIL 380 failed test cases
posit<9,3> conversion FAIL 759 failed test cases
posit conversion validation: FAIL

Test time = 0.17 sec

Test Failed.
"posit_conversion" end time: Jul 15 18:37 UTC
"posit_conversion" time elapsed: 00:00:00

@Ravenwater Ravenwater added the bug label Jul 15, 2024
@Ravenwater Ravenwater added this to the V3 milestone Jul 15, 2024
@Ravenwater Ravenwater self-assigned this Jul 15, 2024
@Ravenwater Ravenwater moved this to To do in Bug fixes Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Status: To do
Development

No branches or pull requests

1 participant