[Git][ghc/ghc][wip/ncg-simd] 3 commits: Add test for #25169
sheaf (@sheaf)
gitlab at gitlab.haskell.org
Fri Aug 30 17:28:14 UTC 2024
sheaf pushed to branch wip/ncg-simd at Glasgow Haskell Compiler / GHC
Commits:
e1de3cea by sheaf at 2024-08-30T19:28:05+02:00
Add test for #25169
- - - - -
af5ae843 by sheaf at 2024-08-30T19:28:05+02:00
WIP: try to fix T25169 using Plan A.
TODO: documentation and notes.
-------------------------
Metric Increase:
T10421
T12425
T1969
T9198
-------------------------
- - - - -
efef61a1 by sheaf at 2024-08-30T19:28:06+02:00
Fix C calls with SIMD vectors
This commit fixes the code generation for C calls, to take into account
the calling convention.
This is particularly tricky on Windows, where all vectors are expected
to be passed by reference. See Note [The Windows X64 C calling convention]
in GHC.CmmToAsm.X86.CodeGen.
- - - - -
30 changed files:
- compiler/GHC/ByteCode/Asm.hs
- compiler/GHC/Cmm/CallConv.hs
- compiler/GHC/Cmm/Expr.hs
- compiler/GHC/Cmm/Lexer.x
- compiler/GHC/Cmm/Parser.y
- compiler/GHC/CmmToAsm/X86/CodeGen.hs
- compiler/GHC/CmmToAsm/X86/Instr.hs
- compiler/GHC/StgToByteCode.hs
- compiler/GHC/StgToCmm/ArgRep.hs
- compiler/GHC/StgToCmm/Foreign.hs
- compiler/GHC/StgToCmm/Layout.hs
- hadrian/src/Settings/Packages.hs
- libraries/ghc-heap/tests/stack_misc_closures_c.c
- rts/AutoApply.h
- + rts/CheckVectorSupport.c
- + rts/CheckVectorSupport.h
- rts/CloneStack.c
- rts/HeapStackCheck.cmm
- rts/Interpreter.c
- + rts/Jumps.h
- + rts/Jumps_D.cmm
- + rts/Jumps_V16.cmm
- + rts/Jumps_V32.cmm
- + rts/Jumps_V64.cmm
- rts/Printer.c
- rts/RtsStartup.c
- rts/RtsSymbols.c
- rts/StgMiscClosures.cmm
- rts/Threads.c
- rts/include/stg/MiscClosures.h
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/351823186367fd7b06c9f0c4f6f7549be54d4430...efef61a15c180ce46756336807501bb8476a99b2
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/351823186367fd7b06c9f0c4f6f7549be54d4430...efef61a15c180ce46756336807501bb8476a99b2
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240830/584c03f3/attachment-0001.html>
More information about the ghc-commits
mailing list