Remove SIMD conversions
This patch makes it so that packing/unpacking SIMD vectors always uses the right sized types, e.g. unpacking a Word16X4# will give a tuple of Word16#s. As a result, we can get rid of the conversion instructions that were previously required. Fixes #22296
Showing
- compiler/GHC/Builtin/primops.txt.pp 6 additions, 6 deletionscompiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/Cmm/MachOp.hs 5 additions, 5 deletionscompiler/GHC/Cmm/MachOp.hs
- compiler/GHC/StgToCmm/Prim.hs 18 additions, 60 deletionscompiler/GHC/StgToCmm/Prim.hs
- testsuite/tests/codeGen/should_run/T22296.hs 41 additions, 0 deletionstestsuite/tests/codeGen/should_run/T22296.hs
- testsuite/tests/codeGen/should_run/T22296.stdout 3 additions, 0 deletionstestsuite/tests/codeGen/should_run/T22296.stdout
- testsuite/tests/codeGen/should_run/all.T 1 addition, 0 deletionstestsuite/tests/codeGen/should_run/all.T
Loading
Please register or sign in to comment