brintos

brintos / llvm-project-archived public Read only

0
0
Text · 849 B · e3736e2 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+movdiri --show-mc-encoding | FileCheck %s3; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+movdiri,+egpr --show-mc-encoding | FileCheck %s -check-prefix=EGPR4 5define void @test_movdiri(ptr %p, i64 %v) {6; CHECK-LABEL: test_movdiri:7; CHECK:       # %bb.0: # %entry8; CHECK-NEXT:    movdiri %rsi, (%rdi) # encoding: [0x48,0x0f,0x38,0xf9,0x37]9; CHECK-NEXT:    retq # encoding: [0xc3]10;11; EGPR-LABEL: test_movdiri:12; EGPR:       # %bb.0: # %entry13; EGPR-NEXT:    movdiri %rsi, (%rdi) # EVEX TO LEGACY Compression encoding: [0x48,0x0f,0x38,0xf9,0x37]14; EGPR-NEXT:    retq # encoding: [0xc3]15entry:16  call void @llvm.x86.directstore64(ptr %p, i64 %v)17  ret void18}19 20declare void @llvm.x86.directstore64(ptr, i64)21