mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
b5be430181
llvm-svn: 250497
18 lines
418 B
LLVM
18 lines
418 B
LLVM
; 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*)
|