Re: asm block alignment
Re: asm block alignment
- Subject: Re: asm block alignment
- From: Robert Purves <email@hidden>
- Date: Sat, 10 Apr 2004 11:18:59 +1200
How can I enforce alignment of __asm__ volatile inline blocks, which
don't seem to be getting optimized with -falign-loops=16 and -o3?
These could be broken into two statements if necessary, so the loop
start would be the first instruction of the second statement, but I
can't come up with an __attribute__ or #pragma that the compiler will
accept. I'm using Xcode 1.1.1 and GCC 3.3.
Use an assembler directive:
.align 4
See
<file:///Developer/Documentation/DeveloperTools/Reference/Assembler/
ASMDirectives/index.html>
Robert P.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.