Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-ml/named_operators.asm
T
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

189 lines
2.9 KiB
NASM

; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
.data
t1 BYTE NOT 1
; CHECK-LABEL: t1:
; CHECK-NEXT: .byte -2
; CHECK-NOT: .byte
t2 BYTE 1 OR 2
; CHECK-LABEL: t2:
; CHECK-NEXT: .byte 3
t3 BYTE 6 AND 10
; CHECK-LABEL: t3:
; CHECK-NEXT: .byte 2
t4 BYTE 5 EQ 6
BYTE 6 EQ 6
BYTE 7 EQ 6
; CHECK-LABEL: t4:
; CHECK-NEXT: .byte 0
; CHECK: .byte -1
; CHECK: .byte 0
; CHECK-NOT: .byte
t5 BYTE 5 NE 6
BYTE 6 NE 6
BYTE 7 NE 6
; CHECK-LABEL: t5:
; CHECK-NEXT: .byte -1
; CHECK: .byte 0
; CHECK: .byte -1
; CHECK-NOT: .byte
t6 BYTE 5 LT 6
BYTE 6 LT 6
BYTE 7 LT 6
; CHECK-LABEL: t6:
; CHECK-NEXT: .byte -1
; CHECK: .byte 0
; CHECK: .byte 0
; CHECK-NOT: .byte
t7 BYTE 5 LE 6
BYTE 6 LE 6
BYTE 7 LE 6
; CHECK-LABEL: t7:
; CHECK-NEXT: .byte -1
; CHECK: .byte -1
; CHECK: .byte 0
; CHECK-NOT: .byte
t8 BYTE 5 GT 6
BYTE 6 GT 6
BYTE 7 GT 6
; CHECK-LABEL: t8:
; CHECK-NEXT: .byte 0
; CHECK: .byte 0
; CHECK: .byte -1
; CHECK-NOT: .byte
t9 BYTE 5 GE 6
BYTE 6 GE 6
BYTE 7 GE 6
; CHECK-LABEL: t9:
; CHECK-NEXT: .byte 0
; CHECK: .byte -1
; CHECK: .byte -1
; CHECK-NOT: .byte
t10 BYTE 6 XOR 10
; CHECK-LABEL: t10:
; CHECK-NEXT: .byte 12
t11 BYTE 1 SHL 2
BYTE 2 SHL 3
BYTE 3 SHL 1
; CHECK-LABEL: t11:
; CHECK-NEXT: .byte 4
; CHECK: .byte 16
; CHECK: .byte 6
; CHECK-NOT: .byte
t12 BYTE 6 SHR 2
BYTE 16 SHR 3
BYTE 7 SHR 1
; CHECK-LABEL: t12:
; CHECK-NEXT: .byte 1
; CHECK: .byte 2
; CHECK: .byte 3
; CHECK-NOT: .byte
.code
t13:
xor eax, Not 1
; CHECK-LABEL: t13:
; CHECK-NEXT: xor eax, -2
t14:
xor eax, 1 oR 2
; CHECK-LABEL: t14:
; CHECK-NEXT: xor eax, 3
t15:
xor eax, 6 ANd 10
; CHECK-LABEL: t15:
; CHECK-NEXT: xor eax, 2
t16:
xor eax, 5 Eq 6
xor eax, 6 eQ 6
xor eax, 7 eq 6
; CHECK-LABEL: t16:
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, 0
t17:
xor eax, 5 Ne 6
xor eax, 6 nE 6
xor eax, 7 ne 6
; CHECK-LABEL: t17:
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, -1
t18:
xor eax, 5 Lt 6
xor eax, 6 lT 6
xor eax, 7 lt 6
; CHECK-LABEL: t18:
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, 0
t19:
xor eax, 5 Le 6
xor eax, 6 lE 6
xor eax, 7 le 6
; CHECK-LABEL: t19:
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, 0
t20:
xor eax, 5 Gt 6
xor eax, 6 gT 6
xor eax, 7 gt 6
; CHECK-LABEL: t20:
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, -1
t21:
xor eax, 5 Ge 6
xor eax, 6 gE 6
xor eax, 7 ge 6
; CHECK-LABEL: t21:
; CHECK-NEXT: xor eax, 0
; CHECK-NEXT: xor eax, -1
; CHECK-NEXT: xor eax, -1
t22:
xor eax, 6 xOR 10
; CHECK-LABEL: t22:
; CHECK-NEXT: xor eax, 12
t23:
xor eax, 1 shl 2
xor eax, 2 shL 3
xor eax, 3 SHl 1
; CHECK-LABEL: t23:
; CHECK-NEXT: xor eax, 4
; CHECK-NEXT: xor eax, 16
; CHECK-NEXT: xor eax, 6
t24:
xor eax, 6 shr 2
xor eax, 16 shR 3
xor eax, 7 SHr 1
; CHECK-LABEL: t24:
; CHECK-NEXT: xor eax, 1
; CHECK-NEXT: xor eax, 2
; CHECK-NEXT: xor eax, 3
END