2014-07-17 11:52:56 +02:00
|
|
|
# These *MUST* match the output of 'gcc -c' compiled with the same triple and
|
2014-01-26 07:57:13 +01:00
|
|
|
# corresponding options (-mcpu=mips32 -> -mips32 for example).
|
2013-10-05 18:42:21 +02:00
|
|
|
|
2014-07-04 17:21:53 +02:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R6 %s
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64R6: Flags [ (0xA0000406)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R6-NAN2008 %s
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64R6-NAN2008: Flags [ (0xA0000406)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s
|
2015-02-18 17:24:50 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64R2: Flags [ (0x80000006)
|
2013-10-05 18:42:21 +02:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2015-02-18 17:24:50 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64R2-NAN2008: Flags [ (0x80000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS64 %s
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64: Flags [ (0x60000006)
|
2014-01-07 00:27:31 +01:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2014-07-17 12:02:08 +02:00
|
|
|
# MIPSEL-MIPS64-NAN2008: Flags [ (0x60000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-07-04 17:21:53 +02:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r6 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R6 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32R6: Flags [ (0x90001404)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r6 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R6-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32R6-NAN2008: Flags [ (0x90001404)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s
|
2015-02-18 17:24:50 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r3 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r5 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32R2: Flags [ (0x70001004)
|
2014-01-07 00:27:31 +01:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2015-02-18 17:24:50 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r3 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r5 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32R2-NAN2008: Flags [ (0x70001404)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS32 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32: Flags [ (0x50001004)
|
2014-01-26 07:57:13 +01:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS32-NAN2008: Flags [ (0x50001404)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -target-abi n32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N32 %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi n32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N32 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-N32: Flags [ (0x80000024)
|
2014-01-28 20:24:11 +01:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi n32 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N32-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-N32-NAN2008: Flags [ (0x80000424)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -target-abi n32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N32 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-N32: Flags [ (0x60000024)
|
2014-01-28 20:24:11 +01:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -target-abi n32 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N32-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-N32-NAN2008: Flags [ (0x60000424)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi n64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-N64: Flags [ (0x80000006)
|
2014-01-28 20:24:11 +01:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-N64-NAN2008: Flags [ (0x80000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -target-abi n64 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N64 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-N64: Flags [ (0x60000006)
|
2014-01-28 20:24:11 +01:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -target-abi n64 -mattr=+nan2008 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-N64-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-N64-NAN2008: Flags [ (0x60000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi o32 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-O32: Flags [ (0x80001104)
|
2014-01-28 20:24:11 +01:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -target-abi o32 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2-O32-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-O32-NAN2008: Flags [ (0x80001504)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-07-04 17:21:53 +02:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips5 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS5 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS5: Flags [ (0x40000006)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips5 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS5-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS5-NAN2008: Flags [ (0x40000406)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
2014-04-03 14:13:36 +02:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips4 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS4 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS4: Flags [ (0x30000006)
|
2014-04-03 14:13:36 +02:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS4-NAN2008: Flags [ (0x30000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-07-04 17:21:53 +02:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips3 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS3 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS3: Flags [ (0x20000006)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips3 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS3-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS3-NAN2008: Flags [ (0x20000406)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS2 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS2: Flags [ (0x10001004)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips2 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-MIPS2-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPSEL-MIPS2-NAN2008: Flags [ (0x10001404)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips1 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS1 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS1: Flags [ (0x1004)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips1 -mattr=+nan2008 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS1-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS1-NAN2008: Flags [ (0x1404)
|
2014-07-04 17:21:53 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -target-abi o32 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-O32: Flags [ (0x60001104)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2015-01-26 18:33:46 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -target-abi o32 -mattr=+nan2008 -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64-O32-NAN2008 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-O32-NAN2008: Flags [ (0x60001504)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-01-28 20:24:11 +01:00
|
|
|
# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64R2 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2: Flags [ (0x80000006)
|
2014-01-26 07:57:13 +01:00
|
|
|
|
2014-04-16 17:48:55 +02: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
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64R2-NAN2008: Flags [ (0x80000406)
|
2014-04-16 17:48:55 +02:00
|
|
|
|
2014-01-28 20:24:11 +01:00
|
|
|
# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)
|
2014-01-26 07:57:13 +01:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPS64EL-MIPS64 %s
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64: Flags [ (0x60000006)
|
2014-04-16 17:48:55 +02: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
|
2014-07-17 11:52:56 +02:00
|
|
|
# MIPS64EL-MIPS64-NAN2008: Flags [ (0x60000406)
|
2016-05-12 13:31:19 +02:00
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=octeon %s -o -| llvm-readobj -h | FileCheck --check-prefix=MIPSEL-OCTEON %s
|
|
|
|
# MIPSEL-OCTEON: Flags [ (0x808B0006)
|