2014-01-26 06:57:13 +00:00
|
|
|
# These *MUST* match the output of gas compiled with the same triple and
|
|
|
|
# corresponding options (-mcpu=mips32 -> -mips32 for example).
|
2013-10-05 16:42:21 +00:00
|
|
|
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s
|
|
|
|
# MIPSEL-MIPS64R2: Flags [ (0x80001100)
|
2013-10-05 16:42:21 +00:00
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s
|
|
|
|
# MIPSEL-MIPS64R2-NAN2008: Flags [ (0x80001500)
|
|
|
|
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64 %s
|
|
|
|
# MIPSEL-MIPS64: Flags [ (0x60001100)
|
2014-01-06 23:27:31 +00:00
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64-NAN2008 %s
|
|
|
|
# MIPSEL-MIPS64-NAN2008: Flags [ (0x60001500)
|
|
|
|
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s
|
|
|
|
# MIPSEL-MIPS32R2: Flags [ (0x70001000)
|
2014-01-06 23:27:31 +00:00
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s
|
|
|
|
# MIPSEL-MIPS32R2-NAN2008: Flags [ (0x70001400)
|
|
|
|
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32 %s
|
|
|
|
# MIPSEL-MIPS32: Flags [ (0x50001000)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32-NAN2008 %s
|
|
|
|
# MIPSEL-MIPS32-NAN2008: Flags [ (0x50001400)
|
|
|
|
|
2014-02-20 14:58:19 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=-n64,n32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N32 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64R2-N32: Flags [ (0x80000020)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=-n64,n32,+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N32-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64R2-N32-NAN2008: Flags [ (0x80000420)
|
|
|
|
|
2014-02-20 14:58:19 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -mattr=-n64,n32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N32 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64-N32: Flags [ (0x60000020)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -mattr=-n64,n32,+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N32-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64-N32-NAN2008: Flags [ (0x60000420)
|
|
|
|
|
2014-01-28 19:24:11 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=n64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64 %s
|
|
|
|
# MIPS64EL-MIPS64R2-N64: Flags [ (0x80000000)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=n64,+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64R2-N64-NAN2008: Flags [ (0x80000400)
|
|
|
|
|
2014-01-28 19:24:11 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -mattr=n64 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N64 %s
|
|
|
|
# MIPS64EL-MIPS64-N64: Flags [ (0x60000000)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -mattr=n64,+nan2008 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N64-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64-N64-NAN2008: Flags [ (0x60000400)
|
|
|
|
|
2014-02-20 14:58:19 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=-n64,o32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64R2-O32: Flags [ (0x80001100)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=-n64,o32,+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64R2-O32-NAN2008: Flags [ (0x80001500)
|
|
|
|
|
2014-04-03 12:13:36 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips4 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS4 %s
|
|
|
|
# MIPS4: Flags [ (0x30000000)
|
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips4 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS4-NAN2008 %s
|
|
|
|
# MIPS4-NAN2008: Flags [ (0x30000400)
|
|
|
|
|
2014-02-20 14:58:19 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -mattr=-n64,o32 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64-O32: Flags [ (0x60001100)
|
2014-04-16 15:48:55 +00:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -mattr=-n64,o32,+nan2008 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64-O32-NAN2008: Flags [ (0x60001500)
|
|
|
|
|
2014-01-28 19:24:11 +00:00
|
|
|
# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64R2: Flags [ (0x80000000)
|
2014-01-26 06:57:13 +00:00
|
|
|
|
2014-04-16 15:48:55 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64R2-NAN2008: Flags [ (0x80000400)
|
|
|
|
|
2014-01-28 19:24:11 +00:00
|
|
|
# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)
|
2014-01-26 06:57:13 +00:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64 %s
|
2014-01-28 19:24:11 +00:00
|
|
|
# MIPS64EL-MIPS64: Flags [ (0x60000000)
|
2014-04-16 15:48:55 +00:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-NAN2008 %s
|
|
|
|
# MIPS64EL-MIPS64-NAN2008: Flags [ (0x60000400)
|