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

GHC ghc-devs at haskell.org
Thu Sep 19 08:09:57 CEST 2013


#8256: adding locality levels to prefetch# and friends
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:  carter
            Type:  task              |           Status:  patch
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         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 carter):

 using some suggestions form Shachaf and others, i fixed up how i was
 pretty printing, but i'm still getting errors from gcc

 {{{
 "inplace/bin/ghc-stage1" -optc-Ilibraries/haskeline/includes -optc-
 DUSE_GHC_ENCODINGS -optc-DTERMINFO
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/directory/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/unix/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/time/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/containers/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/bytestring/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/libraries/base/include'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/rts/dist/build'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/includes'
 -optc-I'/Users/carter/Desktop/repoScratcher/ghc/includes/dist-
 derivedconstants/header' -static  -H64m -O0 -fasm    -package-name
 haskeline-0.7.0.4 -hide-all-packages -i -ilibraries/haskeline/.
 -ilibraries/haskeline/dist-install/build -ilibraries/haskeline/dist-
 install/build/autogen -Ilibraries/haskeline/dist-install/build
 -Ilibraries/haskeline/dist-install/build/autogen
 -Ilibraries/haskeline/includes   -optP-DUSE_GHC_ENCODINGS -optP-DTERMINFO
 -optP-include -optPlibraries/haskeline/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package
 bytestring-0.10.3.0 -package containers-0.5.3.1 -package directory-1.2.0.1
 -package filepath-1.3.0.2 -package terminfo-0.3.2.5 -package
 transformers-0.3.0.0 -package unix-2.7.0.0 -Wall -XHaskell98
 -XForeignFunctionInterface -XRank2Types -XFlexibleInstances
 -XTypeSynonymInstances -XFlexibleContexts -XExistentialQuantification
 -XScopedTypeVariables -XGeneralizedNewtypeDeriving -XMultiParamTypeClasses
 -XOverlappingInstances -XUndecidableInstances -XCPP -XDeriveDataTypeable
 -XPatternGuards -O -fasm  -no-user-package-db -rtsopts      -c
 libraries/haskeline/cbits/h_wcwidth.c -o libraries/haskeline/dist-
 install/build/cbits/h_wcwidth.o

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:93:0:
     no such instruction: `prefetch2 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:116:0:
     no such instruction: `prefetch2 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:138:0:
     no such instruction: `prefetch2 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:161:0:
     no such instruction: `prefetch1 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:184:0:
     no such instruction: `prefetch1 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:206:0:
     no such instruction: `prefetch1 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:229:0:
     no such instruction: `prefetch0 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:252:0:
     no such instruction: `prefetch0 (%rax)'

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc14328_0/ghc14328_2.s:274:0:
     no such instruction: `prefetch0 (%rax)'

 }}}

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



More information about the ghc-tickets mailing list