]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/bpf/alu-pseudoc.s
bpf: gas: add negi and neg32i tests
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / alu-pseudoc.s
index 323a6522f221993e15c609f40ad735e78de97f5f..abd8ddcc38e07c3b6a6bbfd1e2dc2ffc5da060e9 100644 (file)
@@ -61,3 +61,7 @@
         r1 = bswap16 r1
         r2 = bswap32 r2
         r3 = bswap64 r3
+        ;; Note that the next instruction gets processed by the GAS
+        ;; preprocessor into r1 =-0xf00, which parses into a %dr = %i32
+        ;; instruction instead of a neg :/
+       r1 = - 0xf00