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