ARM64: Vector64<T> is converted to HVA TYP_DOUBLE #35976
Copy link
Copy link
Closed
Labels
arch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
Activity
- addedarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
on May 7, 2020 - addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on May 7, 2020 - changed the title
[-]ARM64: Convert Vector64<T> is converted to HVA[/-][+]ARM64: Vector64<T> is converted to HVA TYP_DOUBLE[/+]on May 7, 2020 - removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on May 11, 2020 This is a dup of #35144
I've submitted PR #37499.
With those changes, here's the full code generation for thefo1method above:G_M6398_IG01: A9BF7BFD stp fp, lr, [sp,#-16]! 910003FD mov fp, sp ;; bbWeight=1 PerfScore 1.50 G_M6398_IG02: 0F000410 movi v16.2s, #0x00 4E041C10 ins v16.s[0], w0 0E043E00 umov w0, v16.s[0] ;; bbWeight=1 PerfScore 2.50 G_M6398_IG03: A8C17BFD ldp fp, lr, [sp],#16 D65F03C0 ret lrReacted by Kunal PathakFixed with #37499
- ghost locked as resolved and limited conversation to collaborators
on Dec 9, 2020
Metadata
Metadata
Assignees
Labels
arch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
As we found out in #35636 (comment) , we are converting the return type of
Vectot64<T>to HVATYP_DOUBLE. This impactsVector64.CreateScalar(uint)orbyte,short, etc when the result is used.Generated code:
Below is the dump of where conversation happens: