[GHC] #8955: Syscall intrinsic

GHC ghc-devs at haskell.org
Fri Apr 4 00:59:02 UTC 2014


#8955: Syscall intrinsic
----------------------------------------------+----------------------------
       Reporter:  schyler                     |             Owner:
           Type:  feature request             |            Status:  new
       Priority:  normal                      |         Milestone:
      Component:  Compiler                    |           Version:  7.6.3
       Keywords:                              |  Operating System:
   Architecture:  Unknown/Multiple            |  Unknown/Multiple
     Difficulty:  Moderate (less than a day)  |   Type of failure:
     Blocked By:                              |  None/Unknown
Related Tickets:                              |         Test Case:
                                              |          Blocking:
----------------------------------------------+----------------------------
 Reddit thread:
 http://www.reddit.com/r/haskell/comments/220ae4/libc_considered_harmful/

 Mentions there are some nice things that can be done with a syscall
 intrinsic. Also, marginally increased speed for calling syscalls since it
 doesn't need to go through libffi into C-land.

 Should be easy to implement. llvm backend has `llvm.syscall` already.

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


More information about the ghc-tickets mailing list