[GHC] #11143: Feature request: Add index/read/write primops with byte offset for ByteArray#

GHC ghc-devs at haskell.org
Sat Mar 3 02:25:55 UTC 2018


#11143: Feature request: Add index/read/write primops with byte offset for
ByteArray#
-------------------------------------+-------------------------------------
        Reporter:  vagarenko         |                Owner:  sjakobi
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:  newcomers
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4433
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sjakobi):

 bgamari commented on [Phab:D4433]:
 > If I'm not mistaken this also needs to take care to avoid unaligned
 loads and stores on architectures that do not support such things.

 I could need some guidance on how to do that. Is there an existing
 machinery for working around unaligned operations that I could use?

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


More information about the ghc-tickets mailing list