]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/bpf/alu-pseudoc.s
Revert "2.41 Release sources"
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / alu-pseudoc.s
index 513c8b8f4f9b48d95165e6f8db41a1014134b747..abd8ddcc38e07c3b6a6bbfd1e2dc2ffc5da060e9 100644 (file)
        r3 s>>= -666
        r4 s>>= 2125315823
        r5 s>>= r6
-       r2 = - r3
+       r2 = - r2
        r9 = le16 r9
        r8 = le32 r8
        r7 = le64 r7
        r6 = be16 r6
        r5 = be32 r5
        r4 = be64 r4
-        r1 s= (i8) r2
-        r1 s= (i16) r2
-        r1 s= (i32) r2
+        r1 = (s8) r2
+        r1 = (s16) r2
+        r1 = (s32) r2
+        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