--- /dev/null
+# .Sanitize for devo/gas/testsuite/gas/arc.
+
+# Each directory to survive it's way into a release will need a file
+# like this one called "./.Sanitize". All keyword lines must exist,
+# and must exist in the order specified by this file. Each directory
+# in the tree will be processed, top down, in the following order.
+
+# Hash started lines like this one are comments and will be deleted
+# before anything else is done. Blank lines will also be squashed
+# out.
+
+# The lines between the "Do-first:" line and the "Things-to-keep:"
+# line are executed as a /bin/sh shell script before anything else is
+# done in this
+
+Do-first:
+
+
+# All files listed between the "Things-to-keep:" line and the
+# "Files-to-sed:" line will be kept. All other files will be removed.
+# Directories listed in this section will have their own Sanitize
+# called. Directories not listed will be removed in their entirety
+# with rm -rf.
+
+Things-to-keep:
+
+arc.exp
+alias.s
+alias.d
+branch.s
+branch.d
+flag.s
+flag.d
+insn3.s
+insn3.d
+j.s
+j.d
+ld.d
+ld.s
+math.s
+math.d
+mul64.s
+mul64.d
+sshift.s
+sshift.d
+st.s
+st.d
+warn.exp
+warn.s
+
+Things-to-lose:
+
+Do-last:
+
+# End of file.
--- /dev/null
+#objdump: -dr
+#name: mul64
+
+# Test the mul64/mulu64 insn.
+
+.*: +file format elf32-.*arc
+
+Disassembly of section .text:
+00000000 a7e08400 mul64 r1,r2
+00000004 afe18800 mulu64 r3,r4
+00000008 a7e0fe00 mul64 r1,0
+0000000c a7ff8400 mul64 0,r2
+00000010 a7e0ffff mul64 r1,-1
+00000014 a7ff85ff mul64 -1,r2
+00000018 a7e0feff mul64 r1,255
+0000001c a7ff84ff mul64 255,r2
+00000020 a7e0ff00 mul64 r1,-256
+00000024 a7ff8500 mul64 -256,r2
+00000028 afe0fc00 mulu64 r1,256
+00000030 afff0400 mulu64 511,r2
+00000038 a7e0fc00 mul64 r1,256
+00000040 a7ff0400 mul64 -257,r2
+00000048 afe1fc00 mulu64 r3,512
+00000050 afe27fff mulu64 r4,-1
+00000054 a7ff0a00 mul64 1111638594,r5
+0000005c a7ff7c00 mul64 305419896,305419896
+00000064 a7e07c00 mul64 r0,0
+ RELOC: 00000068 R_ARC_32 foo
+0000006c aff07c00 mulu64 r32,0
+ RELOC: 00000070 R_ARC_32 foo
+00000074 a7e00200 mul64 r0,r1
+00000078 a7e30e01 mul64.eq r6,r7
+0000007c afe61a02 mulu64.ne r12,r13
+00000080 a7e00300 mul64.f r0,r1
+00000084 a7e17a01 mul64.f r2,1
+00000088 a7fe8601 mul64.f 1,r3
+0000008c a7fe8800 mul64.f 0,r4
+00000090 afe2fd00 mulu64.f r5,512
+00000098 afe37d00 mulu64.f r6,512
+000000a0 afe39100 mulu64.f r7,r8
+000000a4 afe00301 mulu64.eq.f r0,r1
+000000a8 afe17d02 mulu64.ne.f r2,0
+000000b0 afff070b mulu64.lt.f 0,r3
+000000b8 afe27d09 mulu64.gt.f r4,512
+000000c0 afff0b0c mulu64.le.f 512,r5
+000000c8 afff7d0a mulu64.ge.f 512,512