Skip to content

pprCallishMachOp_for_C: MO_Prefetch_Data 0 not supported

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?

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information