[GHC] #13852: Can we have more SIMD primops, corresponding to the untapped AVX etc. instructions?

GHC ghc-devs at haskell.org
Tue Jun 20 14:18:40 UTC 2017


#13852: Can we have more SIMD primops, corresponding to the untapped AVX etc.
instructions?
-------------------------------------+-------------------------------------
        Reporter:  leftaroundabout   |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (LLVM)   |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by leftaroundabout):

 That definitely helps, but I'm still far from understanding what I'd need
 to do do enable those AVX operations myself.
 [https://ghc.haskell.org/trac/ghc/wiki/AddingNewPrimitiveOperations The
 linked Wiki article] doesn't seem to be quite up-to-date WRT
 [https://github.com/ghc/ghc/blob/master/rts/PrimOps.cmm Primops.cmm], in
 which I can neither find any hint of any of the vectorised instructions,
 nor the {{{quotIntegerzh}}} example.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13852#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list