Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gas / testsuite / gas / nios2 / movi.s
CommitLineData
d306ce58
SL
1# Source file used to test that former silent conversion of
2# movi to orhi etc now gives range errors instead.
36591ba1
SL
3
4foo:
d306ce58 5# This doesn't get converted.
36591ba1
SL
6movi r2, 0x20
7
d306ce58 8# This used to convert.
36591ba1
SL
9movi r2, 0x20000000
10
d306ce58 11# addi used to convert only if the source register is r0.
36591ba1 12addi r2, r0, 0xffff0000
36591ba1 13
d306ce58 14# Logical ops used to convert to equivalent *hi for any register.
36591ba1
SL
15ori r2, r5, 0xffff0000
16xori r2, r10, 0xffff0000
17andi r2, r15, 0xffff0000
18
d306ce58
SL
19# This one used to be buggy and convert even though it wasn't supposed to,
20# because it was failing to take the %lo relocation into account.
21ori r23,r23,%lo(0x12340000)
This page took 0.305614 seconds and 4 git commands to generate.