• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Possible to set the armv7 chip into using unaligned memory accesses?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible to set the armv7 chip into using unaligned memory accesses?


  • Subject: Possible to set the armv7 chip into using unaligned memory accesses?
  • From: David Hoerl <email@hidden>
  • Date: Tue, 10 Jan 2012 17:24:40 -0500

I have an open source library that parses a complex file and reads items like longs and doubles that are not properly aligned.

In googling around I've read people claiming you can get the processor to do this but details are scant.

The one concrete one suggested setting "cp15 sctlr[1] (alignment bit) to 0".

If this would work (just for my app) how would I do this? Any suggest other than re-write 2000 lines of code most welcome!

David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Possible to set the armv7 chip into using unaligned memory accesses?
      • From: Steve Christensen <email@hidden>
    • Re: Possible to set the armv7 chip into using unaligned memory accesses?
      • From: David Mirabito <email@hidden>
    • Re: Possible to set the armv7 chip into using unaligned memory accesses?
      • From: Andreas Grosam <email@hidden>
  • Prev by Date: Re: Dylib and parent application symbol access
  • Next by Date: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • Previous by thread: RE: iOS bundle resources synchronization issues with successive debug sessions in Xcode 4
  • Next by thread: Re: Possible to set the armv7 chip into using unaligned memory accesses?
  • Index(es):
    • Date
    • Thread