Stream: general

Topic: why "bitwise and" can take float.


view this post on Zulip yang yu (Jul 04 2022 at 23:52):

https://docs.rs/cranelift-codegen/latest/cranelift_codegen/ir/trait.InstBuilder.html#method.band

"bitwise and" take float parameter looks make no sense.

view this post on Zulip Chris Fallin (Jul 05 2022 at 05:07):

Yes, it looks like current backends support integer, bool, and vector cases; so integer and bool should be enough for an initial backend. Please feel free to include updates to the instruction definitions in cases like this and we can review them as part of the PR!

view this post on Zulip yang yu (Jul 05 2022 at 05:18):

ok,thanks.


Last updated: Nov 22 2024 at 16:03 UTC