blob: 2bace05e0122d389785d614212202984628a901c [file] [log] [blame]
Craig Topper6bfa2ae2017-08-05 23:34:44 +00001; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=-sse -show-mc-encoding | FileCheck %s
3; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=-avx,+sse2 -show-mc-encoding | FileCheck %s
4; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mattr=+avx2 -show-mc-encoding | FileCheck %s
5; RUN: llc < %s -disable-peephole -mtriple=i386-apple-darwin -mcpu=skx -show-mc-encoding | FileCheck %s
6
7define void @test_x86_sse2_pause() {
8; CHECK-LABEL: test_x86_sse2_pause:
Francis Visoiu Mistrih25528d62017-12-04 17:18:51 +00009; CHECK: ## %bb.0:
Craig Topper6bfa2ae2017-08-05 23:34:44 +000010; CHECK-NEXT: pause ## encoding: [0xf3,0x90]
11; CHECK-NEXT: retl ## encoding: [0xc3]
12 tail call void @llvm.x86.sse2.pause()
13 ret void
14}
15declare void @llvm.x86.sse2.pause() nounwind