This patch enables signed truncation check transforms for i8 on rv32 when XVT is i64 and Zbb is enabled.
It is a small improvement of D149977.
Differential D150177
[RISCV] Enable signed truncation check transforms for i8 dtcxzyw on May 9 2023, 12:15 AM. Authored by
Details This patch enables signed truncation check transforms for i8 on rv32 when XVT is i64 and Zbb is enabled. It is a small improvement of D149977.
Diff Detail
Event Timeline
Comment Actions The Zbb i8 part of this looks good to me. As @reames noted there are opportunities to improve the code without Zbb, but that shouldn't block this patch.
|
These two instructions are an odd variant of the add-carry from below. This looks like something got turned into a select whereas the add-with-carry + compare-two-halves should have worked here.