22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X643 4define float @test_fdiv_float(float %arg1, float %arg2) {5; X64-LABEL: test_fdiv_float:6; X64: # %bb.0:7; X64-NEXT: divss %xmm1, %xmm08; X64-NEXT: retq9 %ret = fdiv float %arg1, %arg210 ret float %ret11}12 13define double @test_fdiv_double(double %arg1, double %arg2) {14; X64-LABEL: test_fdiv_double:15; X64: # %bb.0:16; X64-NEXT: divsd %xmm1, %xmm017; X64-NEXT: retq18 %ret = fdiv double %arg1, %arg219 ret double %ret20}21 22