summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s')
-rw-r--r--gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s24
1 files changed, 0 insertions, 24 deletions
diff --git a/gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s b/gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s
deleted file mode 100644
index 50374f97c4..0000000000
--- a/gas/testsuite/gas/sh/sh64/err-movi-noexp-1.s
+++ /dev/null
@@ -1,24 +0,0 @@
-! Check that we get errors for MOVI operands out-of-range with -no-expand.
-
-! { dg-do assemble }
-! { dg-options "--abi=32 --isa=shmedia -no-expand" }
-
- .text
-start:
- movi externalsym + 123,r3
- movi 65535,r3 ! { dg-error "not a 16-bit signed value" }
- movi 65536,r3 ! { dg-error "not a 16-bit signed value" }
- movi 65535 << 16,r3 ! { dg-error "not a 16-bit signed value" }
- movi 32767,r3
- movi 32768,r3 ! { dg-error "not a 16-bit signed value" }
- movi 32767 << 16,r3 ! { dg-error "not a 16-bit signed value" }
- movi -32768,r3
- movi -32769,r3 ! { dg-error "not a 16-bit signed value" }
- movi -32768 << 16,r3 ! { dg-error "not a 16-bit signed value" }
- movi localsym + 73,r4
- movi forwardsym - 42,r4
- .set forwardsym,47
-
- .data
-localsym:
- .long 1