whitequark opened PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
You can use
ty.half_width().
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
You can use
ty.bits().
whitequark submitted PR Review.
whitequark created PR Review Comment:
That (and the other suggestion) doesn't seem to work for me--are these functions really available in
codegen/meta?
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
It doesn't seem they are available.
bjorn3 submitted PR Review.
iximeow created PR Review Comment:
It looks like the enum variants in
shared::typesare mapped to values indicating their size, so you _could_ doty_half as usize - 1, but that doesn't hold for enumsir::types. Writing the size here seems fine.
iximeow submitted PR Review.
iximeow edited PR Review Comment.
whitequark updated PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
whitequark closed without merge PR #1615.
whitequark updated PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
whitequark updated PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
whitequark reopened PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
whitequark updated PR #1615 from x86_32-legalize-extend to master:
This was already done for
[su]extend.i128, and is necessary for codegen for 32-bit x86 (#1089).
iximeow submitted PR Review.
iximeow merged PR #1615.
Last updated: Dec 13 2025 at 21:03 UTC