This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Temp. disabling warnings for macro instructions in a delay slot.


Hi


We have following MIPS assembly code:

beqz    $4,9f
li      $6, X

9: 
jr $31

li gets expanded to 'lui+ori'.

The assembler prints a warning :  Macro instruction expanded into multiple instructions in a branch delay slot.

But in this case it doesn't matter what happens in the delay slot. Is there a way to locally disable warnings?

(Like a .set warn / .set nowarn for example?)

I'm using binutils 2.21


Thanks
 - Jan



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