This is the mail archive of the gcc-patches@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: Add ARM to gas .file/.loc tests


> > > 	* configure.in: Set insn=nop for DWARF-2 tests on ARM.
> > 
> > I think it'd be better to use ".long 0" universally.  Then the
> > target-dependent insn=some-nop settings can go.
> 
> .long 0 is not a recognized nop on the ARM (it doesn't do very much, but 
> it isn't strictly a nop).  So what do we want?  A nop? or a zero?
> 
> R.
> 

I should add that in Thumb, .word 0 is two instructions, both of which are 
the same, but have the side-effect of altering the condition codes; so it 
definitely isn't a nop.

R.


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