[PATCH] D18548: [Mips] add assembler support for .set arch=octeon
Petar Jovanovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 08:33:52 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL266081: [mips] add assembler support for .set arch=octeon (authored by petarj).
Changed prior to commit:
http://reviews.llvm.org/D18548?vs=53234&id=53406#toc
Repository:
rL LLVM
http://reviews.llvm.org/D18548
Files:
llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/trunk/test/MC/Mips/set-arch.s
Index: llvm/trunk/test/MC/Mips/set-arch.s
===================================================================
--- llvm/trunk/test/MC/Mips/set-arch.s
+++ llvm/trunk/test/MC/Mips/set-arch.s
@@ -36,7 +36,8 @@
drotr32 $1, $14, 15
.set arch=mips64r6
mod $2, $4, $6
- .set arch=cnmips
+ .set arch=octeon
+ baddu $9, $6, $7
.set arch=r4000
dadd $2, $2, $2
@@ -62,6 +63,7 @@
# CHECK: drotr32 $1, $14, 15
# CHECK: .set arch=mips64r6
# CHECK: mod $2, $4, $6
-# CHECK: .set arch=cnmips
+# CHECK: .set arch=octeon
+# CHECK: baddu $9, $6, $7
# CHECK: .set arch=r4000
# CHECK: dadd $2, $2, $2
Index: llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
===================================================================
--- llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -5350,7 +5350,7 @@
.Case("mips64r3", "mips64r3")
.Case("mips64r5", "mips64r5")
.Case("mips64r6", "mips64r6")
- .Case("cnmips", "cnmips")
+ .Case("octeon", "cnmips")
.Case("r4000", "mips3") // This is an implementation of Mips3.
.Default("");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18548.53406.patch
Type: text/x-patch
Size: 1226 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160412/4a0fd7ab/attachment.bin>
More information about the llvm-commits
mailing list