[GHC] #8437: pprCallishMachOp_for_C: MO_Prefetch_Data 0 not supported

GHC ghc-devs
Fri Oct 11 08:25:15 UTC 2013


#8437: pprCallishMachOp_for_C: MO_Prefetch_Data 0 not supported
-----------------------------+-------------------------------------
       Reporter:  erikd      |             Owner:
           Type:  bug        |            Status:  new
       Priority:  normal     |         Milestone:
      Component:  Compiler   |           Version:  7.7
       Keywords:             |  Operating System:  Unknown/Multiple
   Architecture:  powerpc64  |   Type of failure:  None/Unknown
     Difficulty:  Unknown    |         Test Case:
     Blocked By:             |          Blocking:
Related Tickets:             |
-----------------------------+-------------------------------------
 Compiling on linux-powerpc64, the build fails on:

 {{{
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.7.20131010 for powerpc64-unknown-linux):
         pprCallishMachOp_for_C: MO_Prefetch_Data 0 not supported!

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 From file `compiler/cmm/PprC.hs` :

 {{{
         (MO_Prefetch_Data _ ) -> unsupported
         --- we could support prefetch via "__builtin_prefetch"
         --- Not adding it for now
 }}}

 Anyone have ideas on how to make this work?

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



More information about the ghc-tickets mailing list