[Git][ghc/ghc][wip/ncg-simd] 4 commits: Add test for C calls & SIMD vectors
sheaf (@sheaf)
gitlab at gitlab.haskell.org
Thu Aug 29 09:30:19 UTC 2024
sheaf pushed to branch wip/ncg-simd at Glasgow Haskell Compiler / GHC
Commits:
d5f64a48 by sheaf at 2024-08-29T11:30:09+02:00
Add test for C calls & SIMD vectors
- - - - -
a0c1f51a by sheaf at 2024-08-29T11:30:09+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.
- - - - -
371aeab5 by sheaf at 2024-08-29T11:30:09+02:00
Add test for #25169
- - - - -
7ccd26f6 by sheaf at 2024-08-29T11:30:09+02:00
WIP: try to fix T25169 using Plan A.
TODO: documentation and notes.
- - - - -
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/54e885a7517f29715932a550138c9f17ca72b2c1...7ccd26f6d263f9b661c8fd1ed52e81f1ececd492
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/54e885a7517f29715932a550138c9f17ca72b2c1...7ccd26f6d263f9b661c8fd1ed52e81f1ececd492
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/20240829/6f7abc4f/attachment.html>
More information about the ghc-commits
mailing list