Text file src/math/floor_s390x.s

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  #include "textflag.h"
     6  
     7  // func archFloor(x float64) float64
     8  TEXT ·archFloor(SB),NOSPLIT,$0
     9  	FMOVD	x+0(FP), F0
    10  	FIDBR	$7, F0, F0
    11  	FMOVD	F0, ret+8(FP)
    12  	RET
    13  
    14  // func archCeil(x float64) float64
    15  TEXT ·archCeil(SB),NOSPLIT,$0
    16  	FMOVD	x+0(FP), F0
    17  	FIDBR	$6, F0, F0
    18  	FMOVD	F0, ret+8(FP)
    19  	RET
    20  
    21  // func archTrunc(x float64) float64
    22  TEXT ·archTrunc(SB),NOSPLIT,$0
    23  	FMOVD	x+0(FP), F0
    24  	FIDBR	$5, F0, F0
    25  	FMOVD	F0, ret+8(FP)
    26  	RET
    27  

View as plain text