blob: 90dc9cd21e67738dfcf0bf4ee91d1ce2dd354ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+fxsr | FileCheck %s
define void @test_fxsave(i8* %ptr) {
; CHECK-LABEL: test_fxsave
; CHECK: fxsave
call void @llvm.x86.fxsave(i8* %ptr)
ret void;
}
declare void @llvm.x86.fxsave(i8*)
define void @test_fxrstor(i8* %ptr) {
; CHECK-LABEL: test_fxrstor
; CHECK: fxrstor
call void @llvm.x86.fxrstor(i8* %ptr)
ret void;
}
declare void @llvm.x86.fxrstor(i8*)
|