diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-11-08 18:21:23 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-11-08 18:21:23 +0000 |
commit | 8e45636a71337cb57f09cbcea57c9eb2dfb1f3ef (patch) | |
tree | c0cd021a5dfa6defe4324232238ce9104d986607 /gas/testsuite/gas/mips/lui-1.s | |
parent | f91a382e6fb6391a0bb68b84a463a1f44b3a6ce5 (diff) | |
download | binutils-redhat-8e45636a71337cb57f09cbcea57c9eb2dfb1f3ef.tar.gz |
gas/
* config/tc-mips.c (mips_ip) <'u'>: Default to BFD_RELOC_LO16.
gas/testsuite/
* gas/mips/lui.d: New test.
* gas/mips/micromips@lui.d: New test.
* gas/mips/lui-1.l: New list test.
* gas/mips/lui-2.l: New list test.
* gas/mips/lui.s: New test source.
* gas/mips/lui-1.s: New test source.
* gas/mips/lui-2.s: New test source.
* gas/mips/mips.exp: Run the new tests.
Diffstat (limited to 'gas/testsuite/gas/mips/lui-1.s')
-rw-r--r-- | gas/testsuite/gas/mips/lui-1.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/lui-1.s b/gas/testsuite/gas/mips/lui-1.s new file mode 100644 index 0000000000..226b005107 --- /dev/null +++ b/gas/testsuite/gas/mips/lui-1.s @@ -0,0 +1,8 @@ +# Source code used to test error diagnostics with the LUI instruction. + + .text +foo: + lui $2, -1 + lui $2, 65536 + lui $2, 0x10000000000000000 + lui $2, $3 |