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

Fuzz test failure in lossless_cast #8364

Open
steven-johnson opened this issue Jul 31, 2024 · 2 comments
Open

Fuzz test failure in lossless_cast #8364

steven-johnson opened this issue Jul 31, 2024 · 2 comments
Assignees

Comments

@steven-johnson
Copy link
Contributor

From https://buildbot.halide-lang.org/master/#/builders/163/builds/31:

lossless_cast failure
seed = 1983253908
x = 0
buf_u8 = 25
buf_i8 = 64
out1 = -29
out2 = 131
Original: (int64(int32(uint16((uint8)buf_u8(x))))*int64(((((uint8)106 - (uint8)127) + (uint8)11)*uint8((uint16)rounding_shift_right(uint16((uint8)buf_u8(x)), (uint16)11)))))
Lossless cast: (uint16((uint8)buf_u8(x))*uint16(((((uint8)106 - (uint8)127) + (uint8)11)*uint8((uint16)rounding_shift_right(uint16((uint8)buf_u8(x)), (uint16)11)))))
lossless_cast fuzz test failed!
@steven-johnson
Copy link
Contributor Author

Does not repro for me on osx 64-bit -- maybe only on 32-bit targets? Will try to repro

@steven-johnson
Copy link
Contributor Author

Unable to repeat locally with a 32-bit linux build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant