Files
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

117 lines
5.3 KiB
LLVM

; RUN: llc -mtriple=mips < %s | FileCheck --check-prefixes=ALL,O32 %s
; RUN: llc -mtriple=mipsel < %s | FileCheck --check-prefixes=ALL,O32 %s
; RUN: llc -mtriple=mips < %s | FileCheck --check-prefixes=ALL,O32-INV %s
; RUN: llc -mtriple=mipsel < %s | FileCheck --check-prefixes=ALL,O32-INV %s
; RUN-TODO: llc -mtriple=mips64 -target-abi o32 < %s | FileCheck --check-prefixes=ALL,O32 %s
; RUN-TODO: llc -mtriple=mips64el -target-abi o32 < %s | FileCheck --check-prefixes=ALL,O32 %s
; RUN-TODO: llc -mtriple=mips64 -target-abi o32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,O32-INV %s
; RUN-TODO: llc -mtriple=mips64el -target-abi o32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,O32-INV %s
; RUN: llc -mtriple=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
; RUN: llc -mtriple=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
; RUN: llc -mtriple=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
; RUN: llc -mtriple=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N32-INV %s
; RUN: llc -mtriple=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
; RUN: llc -mtriple=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
; RUN: llc -mtriple=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s
; RUN: llc -mtriple=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,ALL-INV,N64-INV %s
; RUN: llc -mtriple=mips -mcpu=mips32r6 -mattr=micromips -filetype=obj < %s -o - | llvm-objdump --no-show-raw-insn --arch=mips --mcpu=mips32r6 --mattr=micromips -d - | FileCheck --check-prefix=MM32R6 %s
; Test the callee-saved registers are callee-saved as specified by section
; 2 of the MIPSpro N32 Handbook and section 3 of the SYSV ABI spec.
define void @fpu_clobber() nounwind {
entry:
call void asm "# Clobber", "~{$f0},~{$f1},~{$f2},~{$f3},~{$f4},~{$f5},~{$f6},~{$f7},~{$f8},~{$f9},~{$f10},~{$f11},~{$f12},~{$f13},~{$f14},~{$f15},~{$f16},~{$f17},~{$f18},~{$f19},~{$f20},~{$f21},~{$f22},~{$f23},~{$f24},~{$f25},~{$f26},~{$f27},~{$f28},~{$f29},~{$f30},~{$f31}"()
ret void
}
; ALL-LABEL: fpu_clobber:
; ALL-INV-NOT: sdc1 $f0,
; ALL-INV-NOT: sdc1 $f1,
; ALL-INV-NOT: sdc1 $f2,
; ALL-INV-NOT: sdc1 $f3,
; ALL-INV-NOT: sdc1 $f4,
; ALL-INV-NOT: sdc1 $f5,
; ALL-INV-NOT: sdc1 $f6,
; ALL-INV-NOT: sdc1 $f7,
; ALL-INV-NOT: sdc1 $f8,
; ALL-INV-NOT: sdc1 $f9,
; ALL-INV-NOT: sdc1 $f10,
; ALL-INV-NOT: sdc1 $f11,
; ALL-INV-NOT: sdc1 $f12,
; ALL-INV-NOT: sdc1 $f13,
; ALL-INV-NOT: sdc1 $f14,
; ALL-INV-NOT: sdc1 $f15,
; ALL-INV-NOT: sdc1 $f16,
; ALL-INV-NOT: sdc1 $f17,
; ALL-INV-NOT: sdc1 $f18,
; ALL-INV-NOT: sdc1 $f19,
; ALL-INV-NOT: sdc1 $f21,
; ALL-INV-NOT: sdc1 $f23,
; O32: addiu $sp, $sp, -48
; O32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp)
; O32-DAG: sdc1 [[F22:\$f22]], [[OFF22:[0-9]+]]($sp)
; O32-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
; O32-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
; O32-DAG: sdc1 [[F28:\$f28]], [[OFF28:[0-9]+]]($sp)
; O32-DAG: sdc1 [[F30:\$f30]], [[OFF30:[0-9]+]]($sp)
; O32-DAG: ldc1 [[F20]], [[OFF20]]($sp)
; O32-DAG: ldc1 [[F22]], [[OFF22]]($sp)
; O32-DAG: ldc1 [[F24]], [[OFF24]]($sp)
; O32-INV-NOT: sdc1 $f25,
; O32-DAG: ldc1 [[F26]], [[OFF26]]($sp)
; O32-INV-NOT: sdc1 $f27,
; O32-DAG: ldc1 [[F28]], [[OFF28]]($sp)
; O32-INV-NOT: sdc1 $f29,
; O32-DAG: ldc1 [[F30]], [[OFF30]]($sp)
; O32-INV-NOT: sdc1 $f31,
; O32: addiu $sp, $sp, 48
; N32: addiu $sp, $sp, -48
; N32-DAG: sdc1 [[F20:\$f20]], [[OFF20:[0-9]+]]($sp)
; N32-DAG: sdc1 [[F22:\$f22]], [[OFF22:[0-9]+]]($sp)
; N32-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
; N32-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
; N32-DAG: sdc1 [[F28:\$f28]], [[OFF28:[0-9]+]]($sp)
; N32-DAG: sdc1 [[F30:\$f30]], [[OFF30:[0-9]+]]($sp)
; N32-DAG: ldc1 [[F20]], [[OFF20]]($sp)
; N32-DAG: ldc1 [[F22]], [[OFF22]]($sp)
; N32-DAG: ldc1 [[F24]], [[OFF24]]($sp)
; N32-INV-NOT: sdc1 $f25,
; N32-DAG: ldc1 [[F26]], [[OFF26]]($sp)
; N32-INV-NOT: sdc1 $f27,
; N32-DAG: ldc1 [[F28]], [[OFF28]]($sp)
; N32-INV-NOT: sdc1 $f29,
; N32-DAG: ldc1 [[F30]], [[OFF30]]($sp)
; N32-INV-NOT: sdc1 $f31,
; N32: addiu $sp, $sp, 48
; N64: addiu $sp, $sp, -64
; N64-INV-NOT: sdc1 $f20,
; N64-INV-NOT: sdc1 $f22,
; N64-DAG: sdc1 [[F24:\$f24]], [[OFF24:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F25:\$f25]], [[OFF25:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F26:\$f26]], [[OFF26:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F27:\$f27]], [[OFF27:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F28:\$f28]], [[OFF28:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F29:\$f29]], [[OFF29:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F30:\$f30]], [[OFF30:[0-9]+]]($sp)
; N64-DAG: sdc1 [[F31:\$f31]], [[OFF31:[0-9]+]]($sp)
; N64-DAG: ldc1 [[F24]], [[OFF24]]($sp)
; N64-DAG: ldc1 [[F25]], [[OFF25]]($sp)
; N64-DAG: ldc1 [[F26]], [[OFF26]]($sp)
; N64-DAG: ldc1 [[F27]], [[OFF27]]($sp)
; N64-DAG: ldc1 [[F28]], [[OFF28]]($sp)
; N64-DAG: ldc1 [[F29]], [[OFF29]]($sp)
; N64-DAG: ldc1 [[F30]], [[OFF30]]($sp)
; N64-DAG: ldc1 [[F31]], [[OFF31]]($sp)
; N64: addiu $sp, $sp, 64
; Check the mapping between LDC164 and LDC1_64_MMR6.
; MM32R6: ldc1