You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
526 B
17 lines
526 B
4 months ago
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||
|
; RUN: llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs < %s \
|
||
|
; RUN: | FileCheck -check-prefix=RV32ID %s
|
||
|
|
||
|
define double @frem_f64(double %a, double %b) nounwind {
|
||
|
; RV32ID-LABEL: frem_f64:
|
||
|
; RV32ID: # %bb.0:
|
||
|
; RV32ID-NEXT: addi sp, sp, -16
|
||
|
; RV32ID-NEXT: sw ra, 12(sp)
|
||
|
; RV32ID-NEXT: call fmod
|
||
|
; RV32ID-NEXT: lw ra, 12(sp)
|
||
|
; RV32ID-NEXT: addi sp, sp, 16
|
||
|
; RV32ID-NEXT: ret
|
||
|
%1 = frem double %a, %b
|
||
|
ret double %1
|
||
|
}
|