90 lines · plain
1; Check msa warnings.2; RUN: llc -mtriple=mips -mattr=+mips32r2 -mattr=+msa -mattr=+fp64 < %s 2>&1 | \3; RUN: FileCheck %s -check-prefix=MSA_324; RUN: llc -mtriple=mips64 -mattr=+mips64r2 -mattr=+msa < %s 2>&1 | \5; RUN: FileCheck %s -check-prefix=MSA_646; RUN: llc -mtriple=mips -mattr=+mips32r5 -mattr=+msa -mattr=+fp64 < %s 2>&1 | \7; RUN: FileCheck %s -check-prefix=MSA_32_NO_WARNING8; RUN: llc -mtriple=mips64 -mattr=+mips64r5 -mattr=+msa < %s 2>&1 | \9; RUN: FileCheck %s -check-prefix=MSA_64_NO_WARNING10 11; Check dspr2 warnings.12; RUN: llc -mtriple=mips -mattr=+mips32 -mattr=+dspr2 < %s 2>&1 | \13; RUN: FileCheck %s -check-prefix=DSPR2_3214; RUN: llc -mtriple=mips64 -mattr=+mips64 -mattr=+dspr2 < %s 2>&1 | \15; RUN: FileCheck %s -check-prefix=DSPR2_6416; RUN: llc -mtriple=mips64 -mattr=+mips64r3 -mattr=+dspr2 < %s 2>&1 | \17; RUN: FileCheck %s -check-prefix=DSPR2_64_NO_WARNING18; RUN: llc -mtriple=mips -mattr=+mips32r2 -mattr=+dspr2 < %s 2>&1 | \19; RUN: FileCheck %s -check-prefix=DSPR2_32_NO_WARNING20 21; Check dsp warnings.22; RUN: llc -mtriple=mips -mattr=+mips32 -mattr=+dsp < %s 2>&1 | \23; RUN: FileCheck %s -check-prefix=DSP_3224; RUN: llc -mtriple=mips64 -mattr=+mips64 -mattr=+dsp < %s 2>&1 | \25; RUN: FileCheck %s -check-prefix=DSP_6426; RUN: llc -mtriple=mips -mattr=+mips32r5 -mattr=+dsp < %s 2>&1 | \27; RUN: FileCheck %s -check-prefix=DSP_32_NO_WARNING28; RUN: llc -mtriple=mips64 -mattr=+mips64r2 -mattr=+dsp < %s 2>&1 | \29; RUN: FileCheck %s -check-prefix=DSP_64_NO_WARNING30 31; Check virt warnings.32; RUN: llc -mtriple=mips -mattr=+mips32r2 -mattr=+virt < %s 2>&1 | \33; RUN: FileCheck %s -check-prefix=VIRT_3234; RUN: llc -mtriple=mips64 -mattr=+mips64r2 -mattr=+virt < %s 2>&1 | \35; RUN: FileCheck %s -check-prefix=VIRT_6436; RUN: llc -mtriple=mips -mattr=+mips32r5 -mattr=+virt < %s 2>&1 | \37; RUN: FileCheck %s -check-prefix=VIRT_32_NO_WARNING38; RUN: llc -mtriple=mips64 -mattr=+mips64r5 -mattr=+virt < %s 2>&1 | \39; RUN: FileCheck %s -check-prefix=VIRT_64_NO_WARNING40 41; Check crc warnings.42; RUN: llc -mtriple=mips -mattr=+mips32r2 -mattr=+crc < %s 2>&1 | \43; RUN: FileCheck %s -check-prefix=CRC_3244; RUN: llc -mtriple=mips64 -mattr=+mips64r2 -mattr=+crc < %s 2>&1 | \45; RUN: FileCheck %s -check-prefix=CRC_6446; RUN: llc -mtriple=mips -mattr=+mips32r6 -mattr=+crc < %s 2>&1 | \47; RUN: FileCheck %s -check-prefix=CRC_32_NO_WARNING48; RUN: llc -mtriple=mips64 -mattr=+mips64r6 -mattr=+crc < %s 2>&1 | \49; RUN: FileCheck %s -check-prefix=CRC_64_NO_WARNING50 51; Check ginv warnings.52; RUN: llc -mtriple=mips -mattr=+mips32r2 -mattr=+ginv < %s 2>&1 | \53; RUN: FileCheck %s -check-prefix=GINV_3254; RUN: llc -mtriple=mips64 -mattr=+mips64r2 -mattr=+ginv < %s 2>&1 | \55; RUN: FileCheck %s -check-prefix=GINV_6456; RUN: llc -mtriple=mips -mattr=+mips32r6 -mattr=+ginv < %s 2>&1 | \57; RUN: FileCheck %s -check-prefix=GINV_32_NO_WARNING58; RUN: llc -mtriple=mips64 -mattr=+mips64r6 -mattr=+ginv < %s 2>&1 | \59; RUN: FileCheck %s -check-prefix=GINV_64_NO_WARNING60 61; MSA_32: warning: the 'msa' ASE requires MIPS32 revision 5 or greater62; MSA_64: warning: the 'msa' ASE requires MIPS64 revision 5 or greater63; MSA_32_NO_WARNING-NOT: warning: the 'msa' ASE requires MIPS32 revision 5 or greater64; MSA_64_NO_WARNING-NOT: warning: the 'msa' ASE requires MIPS64 revision 5 or greater65 66; DSPR2_32: warning: the 'dspr2' ASE requires MIPS32 revision 2 or greater67; DSPR2_64: warning: the 'dspr2' ASE requires MIPS64 revision 2 or greater68; DSPR2_32_NO_WARNING-NOT: warning: the 'dspr2' ASE requires MIPS32 revision 2 or greater69; DSPR2_64_NO_WARNING-NOT: warning: the 'dspr2' ASE requires MIPS64 revision 2 or greater70 71; DSP_32: warning: the 'dsp' ASE requires MIPS32 revision 2 or greater72; DSP_64: warning: the 'dsp' ASE requires MIPS64 revision 2 or greater73; DSP_32_NO_WARNING-NOT: warning: the 'dsp' ASE requires MIPS32 revision 2 or greater74; DSP_64_NO_WARNING-NOT: warning: the 'dsp' ASE requires MIPS64 revision 2 or greater75 76; VIRT_32: warning: the 'virt' ASE requires MIPS32 revision 5 or greater77; VIRT_64: warning: the 'virt' ASE requires MIPS64 revision 5 or greater78; VIRT_32_NO_WARNING-NOT: warning: the 'virt' ASE requires MIPS32 revision 5 or greater79; VIRT_64_NO_WARNING-NOT: warning: the 'virt' ASE requires MIPS64 revision 5 or greater80 81; CRC_32: warning: the 'crc' ASE requires MIPS32 revision 6 or greater82; CRC_64: warning: the 'crc' ASE requires MIPS64 revision 6 or greater83; CRC_32_NO_WARNING-NOT: warning: the 'crc' ASE requires MIPS32 revision 6 or greater84; CRC_64_NO_WARNING-NOT: warning: the 'crc' ASE requires MIPS64 revision 6 or greater85 86; GINV_32: warning: the 'ginv' ASE requires MIPS32 revision 6 or greater87; GINV_64: warning: the 'ginv' ASE requires MIPS64 revision 6 or greater88; GINV_32_NO_WARNING-NOT: warning: the 'ginv' ASE requires MIPS32 revision 6 or greater89; GINV_64_NO_WARNING-NOT: warning: the 'ginv' ASE requires MIPS64 revision 6 or greater90