This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM interrupts


> #ifdef ATPCS_STACK_ALIGN
> 	bic	sp, sp, #7		/* If stack alignment required.  */
> #endif

Thinking about this some more, this isn't needed with the current level of 
IRQ support that we provide.  We don't allow nested interrupts (we don't 
preserve the SPSR), so we can assume that the appropriate interrupt stack 
is correctly aligned on entry.  At most we need to add a normal stack 
adjustment.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]