Re: PR 52125: Detecting which operands are used in an asm

2014-01-22 Thread Jeff Law
On 01/19/14 10:33, Richard Sandiford wrote: The MIPS %hi and %lo relocation operators act as a pair on REL targets; you need to see the partnering %lo in order to calculate the addend for a %hi and detect carries properly. The assembler therefore complains if %hi is used without a corresponding

PR 52125: Detecting which operands are used in an asm

2014-01-19 Thread Richard Sandiford
The MIPS %hi and %lo relocation operators act as a pair on REL targets; you need to see the partnering %lo in order to calculate the addend for a %hi and detect carries properly. The assembler therefore complains if %hi is used without a corresponding %lo. The MIPS backend tries to remove unmatch