1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc %s -o - -verify-machineinstrs -fast-isel=true -mattr=-sse | FileCheck %s
4 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
7 define dso_local x86_fp80 @test_f80() {
8 ; CHECK-LABEL: test_f80:
9 ; CHECK: # %bb.0: # %entry
14 %fneg1 = fneg contract x86_fp80 undef
17 exit: ; preds = %entry
21 define dso_local void @test_f32(ptr%p) {
22 ; CHECK-LABEL: test_f32:
23 ; CHECK: # %bb.0: # %entry
26 ; CHECK-NEXT: fstps (%rdi)
29 %fneg1 = fneg contract float undef
32 exit: ; preds = %entry
33 store float %fneg1, ptr%p
37 define dso_local void @test_f64(ptr%p) {
38 ; CHECK-LABEL: test_f64:
39 ; CHECK: # %bb.0: # %entry
42 ; CHECK-NEXT: fstpl (%rdi)
45 %fneg1 = fneg contract double undef
48 exit: ; preds = %entry
49 store double %fneg1, ptr%p