[GHC] #8256: adding locality levels to prefetch# and friends

GHC ghc-devs
Wed Oct 2 08:31:46 UTC 2013


#8256: adding locality levels to prefetch# and friends
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:  carter
            Type:  task              |           Status:  closed
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.7
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #8252 ,#8107
-------------------------------------+------------------------------------

Comment (by simonpj):

 Great stuff.  Questions about the patch:

  * The primops are all marked `can_fail = True`.  Could there be some
 words of documentation to explain why?  I recall scratching my head over
 the can-fai-ness of primops before, so documenting the reasoning is a Good
 Thing.

  * Would it be possible to include in the Haddock comments in
 `primops.txt.pp` a URL where one can read more about the prefetch
 instructions and "locality levels"?  I know that URLs go out of date, but
 a start would be useful. Perhaps with some keywords from that web page
 that might be a starting point for a subsequent search if the URL went
 stale.


 Simon

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



More information about the ghc-tickets mailing list