[Haskell-cafe] Missing or undocumented ARM architecture controls

Karel Gardas karel.gardas at centrum.cz
Wed Oct 15 15:20:15 UTC 2014


On 10/15/14 04:23 PM, Jon Schneider wrote:
> 0.      Program arguments: /usr/bin/llc -O3 -relocation-model=static
> /tmp/ghc20998_0/ghc20998_4.bc -o /tmp/ghc20998_0/ghc20998_5.lm_s
> --enable-tbaa=true -mattr=+v7,+vfp3
> 1.      Running pass 'Function Pass Manager' on module
> '/tmp/ghc20998_0/ghc20998_4.bc'.
> 2.      Running pass 'ARM Instruction Selection' on function
> '@stg_unmaskAsyncExceptionszh_ret_info'
>
> Now the thing that sticks out there is the +v7,+vfp3 option.
>
> Again it seems to be making incorrect assumptions about the exact ARM
> architecture. Ours is a v5TE/926.
>

ARMv7-A is supported by default. If you do have lower spec box, then you 
can hand edit settings file and switch from ARMv7 to ARMv5 there. Look 
into compiler/utils/Platform.hs for possible values. Nobody has done 
this in more user-friendly way yet...

Karel


More information about the Haskell-Cafe mailing list