1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown --show-mc-encoding -mattr=+raoint | FileCheck %s --check-prefixes=X64
4 define void @test_int_x86_aadd64(ptr %A, i64 %B) {
5 ; X64-LABEL: test_int_x86_aadd64:
7 ; X64-NEXT: aaddq %rsi, (%rdi) # encoding: [0x48,0x0f,0x38,0xfc,0x37]
8 ; X64-NEXT: retq # encoding: [0xc3]
9 call void @llvm.x86.aadd64(ptr %A, i64 %B)
12 declare void @llvm.x86.aadd64(ptr %A, i64 %B)
14 define void @test_int_x86_aand64(ptr %A, i64 %B) {
15 ; X64-LABEL: test_int_x86_aand64:
17 ; X64-NEXT: aandq %rsi, (%rdi) # encoding: [0x66,0x48,0x0f,0x38,0xfc,0x37]
18 ; X64-NEXT: retq # encoding: [0xc3]
19 call void @llvm.x86.aand64(ptr %A, i64 %B)
22 declare void @llvm.x86.aand64(ptr %A, i64 %B)
24 define void @test_int_x86_aor64(ptr %A, i64 %B) {
25 ; X64-LABEL: test_int_x86_aor64:
27 ; X64-NEXT: aorq %rsi, (%rdi) # encoding: [0xf2,0x48,0x0f,0x38,0xfc,0x37]
28 ; X64-NEXT: retq # encoding: [0xc3]
29 call void @llvm.x86.aor64(ptr %A, i64 %B)
32 declare void @llvm.x86.aor64(ptr %A, i64 %B)
34 define void @test_int_x86_axor64(ptr %A, i64 %B) {
35 ; X64-LABEL: test_int_x86_axor64:
37 ; X64-NEXT: axorq %rsi, (%rdi) # encoding: [0xf3,0x48,0x0f,0x38,0xfc,0x37]
38 ; X64-NEXT: retq # encoding: [0xc3]
39 call void @llvm.x86.axor64(ptr %A, i64 %B)
42 declare void @llvm.x86.axor64(ptr %A, i64 %B)