Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s | FileCheck %s
      2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
      3 target triple = "powerpc64-unknown-linux-gnu"
      4 
      5 define i32 @__flt_rounds() nounwind {
      6 entry:
      7   %0 = tail call i64 asm sideeffect "mffs $0", "=f"() nounwind
      8   %conv = trunc i64 %0 to i32
      9   ret i32 %conv
     10 }
     11 
     12 ; CHECK: @__flt_rounds
     13 ; CHECK: mffs
     14 
     15