brintos

brintos / llvm-project-archived public Read only

0
0
Text · 15.8 KiB · fced1cf Raw
206 lines · plain
1# These *MUST* match the output of 'gcc -c' compiled with the same triple and2# corresponding options (-mcpu=mips32 -> -mips32 for example).3 4# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R6 %s5# MIPSEL-MIPS64R6: Flags [ (0xA0000404)6 7# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R6-NAN2008 %s8# MIPSEL-MIPS64R6-NAN2008: Flags [ (0xA0000404)9 10# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s11# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s12# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2 %s13# MIPSEL-MIPS64R2: Flags [ (0x80000004)14 15# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s16# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s17# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008 %s18# MIPSEL-MIPS64R2-NAN2008: Flags [ (0x80000404)19 20# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64 %s21# MIPSEL-MIPS64: Flags [ (0x60000004)22 23# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64-NAN2008 %s24# MIPSEL-MIPS64-NAN2008: Flags [ (0x60000404)25 26# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r6 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R6-PIC %s27# MIPSEL-MIPS64R6-PIC: Flags [ (0xA0000406)28 29# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r6 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R6-NAN2008-PIC %s30# MIPSEL-MIPS64R6-NAN2008-PIC: Flags [ (0xA0000406)31 32# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r2 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-PIC %s33# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r3 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-PIC %s34# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r5 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-PIC %s35# MIPSEL-MIPS64R2-PIC: Flags [ (0x80000006)36 37# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r2 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008-PIC %s38# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r3 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008-PIC %s39# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r5 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64R2-NAN2008-PIC %s40# MIPSEL-MIPS64R2-NAN2008-PIC: Flags [ (0x80000406)41 42# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64-PIC %s43# MIPSEL-MIPS64-PIC: Flags [ (0x60000006)44 45# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS64-NAN2008-PIC %s46# MIPSEL-MIPS64-NAN2008-PIC: Flags [ (0x60000406)47 48# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r6 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R6 %s49# MIPSEL-MIPS32R6: Flags [ (0x90001404)50 51# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r6 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R6-NAN2008 %s52# MIPSEL-MIPS32R6-NAN2008: Flags [ (0x90001404)53 54# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s55# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r3 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s56# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r5 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2 %s57# MIPSEL-MIPS32R2: Flags [ (0x70001004)58 59# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s60# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r3 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s61# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32r5 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32R2-NAN2008 %s62# MIPSEL-MIPS32R2-NAN2008: Flags [ (0x70001404)63 64# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32 %s65# MIPSEL-MIPS32: Flags [ (0x50001004)66 67# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS32-NAN2008 %s68# MIPSEL-MIPS32-NAN2008: Flags [ (0x50001404)69 70# 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 %s71# 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 %s72# MIPS64EL-MIPS64R2-N32: Flags [ (0x80000024)73 74# 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 %s75# MIPS64EL-MIPS64R2-N32-NAN2008: Flags [ (0x80000424)76 77# 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 %s78# MIPS64EL-MIPS64-N32: Flags [ (0x60000024)79 80# 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 %s81# MIPS64EL-MIPS64-N32-NAN2008: Flags [ (0x60000424)82 83# 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 %s84# MIPS64EL-MIPS64R2-N64: Flags [ (0x80000004)85 86# 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 %s87# MIPS64EL-MIPS64R2-N64-NAN2008: Flags [ (0x80000404)88 89# 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 %s90# MIPS64EL-MIPS64-N64: Flags [ (0x60000004)91 92# 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 %s93# MIPS64EL-MIPS64-N64-NAN2008: Flags [ (0x60000404)94 95# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64r2 -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64-PIC %s96# MIPS64EL-MIPS64R2-N64-PIC: Flags [ (0x80000006)97 98# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64r2 -target-abi n64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2-N64-NAN2008-PIC %s99# MIPS64EL-MIPS64R2-N64-NAN2008-PIC: Flags [ (0x80000406)100 101# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64 %s -target-abi n64 -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64-N64-PIC %s102# MIPS64EL-MIPS64-N64-PIC: Flags [ (0x60000006)103 104# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64 %s -target-abi n64 -mattr=+nan2008 -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64-N64-NAN2008-PIC %s105# MIPS64EL-MIPS64-N64-NAN2008-PIC: Flags [ (0x60000406)106 107# 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 %s108# MIPS64EL-MIPS64R2-O32: Flags [ (0x80001104)109 110# 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 %s111# MIPS64EL-MIPS64R2-O32-NAN2008: Flags [ (0x80001504)112 113# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips5 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS5 %s114# MIPS5: Flags [ (0x40000004)115 116# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips5 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS5-NAN2008 %s117# MIPS5-NAN2008: Flags [ (0x40000404)118 119# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips4 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS4 %s120# MIPS4: Flags [ (0x30000004)121 122# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips4 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS4-NAN2008 %s123# MIPS4-NAN2008: Flags [ (0x30000404)124 125# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips3 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS3 %s126# MIPS3: Flags [ (0x20000004)127 128# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -mcpu=mips3 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS3-NAN2008 %s129# MIPS3-NAN2008: Flags [ (0x20000404)130 131# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips5 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS5-PIC %s132# MIPS5-PIC: Flags [ (0x40000006)133 134# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips5 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS5-NAN2008-PIC %s135# MIPS5-NAN2008-PIC: Flags [ (0x40000406)136 137# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips4 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS4-PIC %s138# MIPS4-PIC: Flags [ (0x30000006)139 140# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips4 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS4-NAN2008-PIC %s141# MIPS4-NAN2008-PIC: Flags [ (0x30000406)142 143# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips3 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS3-PIC %s144# MIPS3-PIC: Flags [ (0x20000006)145 146# RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips3 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS3-NAN2008-PIC %s147# MIPS3-NAN2008-PIC: Flags [ (0x20000406)148 149# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips2 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS2 %s150# MIPSEL-MIPS2: Flags [ (0x10001004)151 152# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips2 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-MIPS2-NAN2008 %s153# MIPSEL-MIPS2-NAN2008: Flags [ (0x10001404)154 155# RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips1 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS1 %s156# MIPS1: Flags [ (0x1004)157 158# RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mcpu=mips1 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS1-NAN2008 %s159# MIPS1-NAN2008: Flags [ (0x1404)160 161# 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 %s162# MIPS64EL-MIPS64-O32: Flags [ (0x60001104)163 164# 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 %s165# MIPS64EL-MIPS64-O32-NAN2008: Flags [ (0x60001504)166 167# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)168# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2 %s169# MIPS64EL-MIPS64R2: Flags [ (0x80000004)170 171# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64r2 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2-NAN2008 %s172# MIPS64EL-MIPS64R2-NAN2008: Flags [ (0x80000404)173 174# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)175# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64 %s176# MIPS64EL-MIPS64: Flags [ (0x60000004)177 178# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -mcpu=mips64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64-NAN2008 %s179# MIPS64EL-MIPS64-NAN2008: Flags [ (0x60000404)180 181# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)182# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64r2 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2-PIC %s183# MIPS64EL-MIPS64R2-PIC: Flags [ (0x80000006)184 185# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64r2 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64R2-NAN2008-PIC %s186# MIPS64EL-MIPS64R2-NAN2008-PIC: Flags [ (0x80000406)187 188# Default ABI for MIPS64 is N64 as opposed to GCC/GAS (N32)189# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64-PIC %s190# MIPS64EL-MIPS64-PIC: Flags [ (0x60000006)191 192# RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64 -mattr=+nan2008 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPS64EL-MIPS64-NAN2008-PIC %s193# MIPS64EL-MIPS64-NAN2008-PIC: Flags [ (0x60000406)194 195# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=octeon -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-OCTEON %s196# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux \197# RUN:         -mcpu=octeon+ -target-abi n64 %s -o - \198# RUN:   | llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-OCTEON %s199# MIPSEL-OCTEON: Flags [ (0x808B0004)200 201# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=octeon -target-abi n64 %s -o -| llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-OCTEON-PIC %s202# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux \203# RUN:         -position-independent -mcpu=octeon+ -target-abi n64 %s -o - \204# RUN:   | llvm-readobj -h - | FileCheck --check-prefix=MIPSEL-OCTEON-PIC %s205# MIPSEL-OCTEON-PIC: Flags [ (0x808B0006)206