[GHC] #7741: Add SIMD support to x86/x86_64 NCG

GHC ghc-devs at haskell.org
Mon Mar 19 13:59:52 UTC 2018


#7741: Add SIMD support to x86/x86_64 NCG
-------------------------------------+-------------------------------------
        Reporter:  shelarcy          |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (NCG)    |              Version:  7.7
      Resolution:                    |             Keywords:  SIMD
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #3557             |  Differential Rev(s):
       Wiki Page:  wiki:SIMD         |
-------------------------------------+-------------------------------------

Comment (by carter):

 Ben: what are your current thoughts about how to handle supporting
 different microarchitectures?

 1) Allow generating the instructions but require the application to do cpu
 detection to avoid bad instructions ? (I’d be fine with that )

 Or

 2) add micro architecture logic to ghc compilation and have a fall back
 path?


 Or

 3) some mix of both supported?


 I’d think near term 1 would be simpler to get working and 3 is what we
 want to love to

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


More information about the ghc-tickets mailing list