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
61 lines
1.8 KiB
LLVM
61 lines
1.8 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=mips -mcpu=mips2 -O3 -relocation-model=pic \
|
|
; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=MIPS2
|
|
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -O3 -relocation-model=pic \
|
|
; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=MIPS32
|
|
|
|
; RUN: llc < %s -mtriple=mips64 -mcpu=mips3 -O3 -relocation-model=pic \
|
|
; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=MIPS3
|
|
; RUN: llc < %s -mtriple=mips64 -mcpu=mips64 -O3 -relocation-model=pic \
|
|
; RUN: -mips-jalr-reloc=false | FileCheck %s -check-prefixes=MIPS64
|
|
|
|
define signext i32 @mult_i32(i32 signext %a, i32 signext %b, i32 signext %c) {
|
|
; MIPS2-LABEL: mult_i32:
|
|
; MIPS2: # %bb.0: # %entry
|
|
; MIPS2-NEXT: mult $4, $5
|
|
; MIPS2-NEXT: mflo $1
|
|
; MIPS2-NEXT: nop
|
|
; MIPS2-NEXT: nop
|
|
; MIPS2-NEXT: mult $1, $6
|
|
; MIPS2-NEXT: mflo $2
|
|
; MIPS2-NEXT: jr $ra
|
|
; MIPS2-NEXT: nop
|
|
;
|
|
; MIPS32-LABEL: mult_i32:
|
|
; MIPS32: # %bb.0: # %entry
|
|
; MIPS32-NEXT: mul $1, $4, $5
|
|
; MIPS32-NEXT: jr $ra
|
|
; MIPS32-NEXT: mul $2, $1, $6
|
|
;
|
|
entry:
|
|
%mul = mul nsw i32 %a, %b
|
|
%mul1 = mul nsw i32 %mul, %c
|
|
ret i32 %mul1
|
|
}
|
|
|
|
define signext i64 @mul_i64(i64 signext %a, i64 signext %b, i64 signext %c) {
|
|
; MIPS3-LABEL: mul_i64:
|
|
; MIPS3: # %bb.0: # %entry
|
|
; MIPS3-NEXT: dmult $4, $5
|
|
; MIPS3-NEXT: mflo $1
|
|
; MIPS3-NEXT: nop
|
|
; MIPS3-NEXT: nop
|
|
; MIPS3-NEXT: dmult $1, $6
|
|
; MIPS3-NEXT: mflo $2
|
|
; MIPS3-NEXT: jr $ra
|
|
; MIPS3-NEXT: nop
|
|
;
|
|
; MIPS64-LABEL: mul_i64:
|
|
; MIPS64: # %bb.0: # %entry
|
|
; MIPS64-NEXT: dmult $4, $5
|
|
; MIPS64-NEXT: mflo $1
|
|
; MIPS64-NEXT: dmult $1, $6
|
|
; MIPS64-NEXT: jr $ra
|
|
; MIPS64-NEXT: mflo $2
|
|
;
|
|
entry:
|
|
%mul = mul i64 %a, %b
|
|
%mul1 = mul i64 %mul, %c
|
|
ret i64 %mul1
|
|
}
|