[PATCH] D137946: [X86] Allow no X87 on 32-bit
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 05:32:07 PST 2022
pengfei added inline comments.
================
Comment at: llvm/test/CodeGen/X86/no-ret-in-x87-reg.ll:140
+; NOX87-NEXT: addl $24, %esp
+; NOX87-NEXT: movzwl %cx, %ecx
; NOX87-NEXT: retl
----------------
LuoYuanke wrote:
> Is it because the last 16 bit value is stored in `cx`?
Yes. We first bitcast `f80` to `i80`, then extend it to `i96`. We cleared the upper 16 bits during this stage.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137946/new/
https://reviews.llvm.org/D137946
More information about the llvm-commits
mailing list