Stream: git-cranelift

Topic: cranelift / Issue #971 Extend constant pools to support f...


view this post on Zulip GitHub (Feb 28 2020 at 23:26):

alexcrichton transferred Issue #971:

As of today, there's a concept of constant pools in Cranelift, that works for SIMD 128-bits values. I'd like to extend it to work also for float32 and float64 values, to avoid the need for the bitcast, which I'm sure is pretty terrible performance-wise (and doesn't help register allocation either, since it requires one GPR register with a very short lifetime).

My current plan is the following:

Aligning the constant pool values would be nice to have but not required at this point; it would just be a performance fault on x86.

@abrown Does it sound reasonable to you?


Last updated: Dec 23 2024 at 13:07 UTC