[PATCH] ARM: Implement big endian bit-conversion for NEON types

Christian Pirker cpirker at a-bix.com
Mon May 12 01:51:51 PDT 2014


Hi James,

I checked the following testcase:

  llc -march armeb -mtriple=arm-eabi -mattr v7,neon -float-abi=hard

with:

  define void @test( <4 x i32> %var, <4 x i32>* %store ) {
    store <4 x i32> %var, <4 x i32>* %store
    ret void
  }

The generated code is as follows (both for le and be):

  vst1.64 {d0, d1}, [r0:128]
  bx lr

I believe that is ABI compliant. please let me know if you think otherwise.

Thanks,
Christian

http://reviews.llvm.org/D3651






More information about the llvm-commits mailing list