--- tme/ic/ieee754/ieee754-ops-auto.sh 2018/04/24 16:42:03 1.1.1.2 +++ tme/ic/ieee754/ieee754-ops-auto.sh 2018/04/24 16:44:02 1.1.1.3 @@ -1,6 +1,6 @@ #! /bin/sh -# $Id: ieee754-ops-auto.sh,v 1.1.1.2 2018/04/24 16:42:03 root Exp $ +# $Id: ieee754-ops-auto.sh,v 1.1.1.3 2018/04/24 16:44:02 root Exp $ # ic/ieee754/ieee754-misc-auto.sh - automatically generates C code # for IEEE 754 emulation operations: @@ -49,7 +49,7 @@ PROG=`basename $0` cat < -_TME_RCSID("\$Id: ieee754-ops-auto.sh,v 1.1.1.2 2018/04/24 16:42:03 root Exp $"); +_TME_RCSID("\$Id: ieee754-ops-auto.sh,v 1.1.1.3 2018/04/24 16:44:02 root Exp $"); EOF if $header; then @@ -155,6 +155,7 @@ for level in ${levels}; do from_int32) src_type="tme_int32_t " ;; from_int64) src_type="tme_int64_t " ;; to_int32) dst_type="tme_int32_t" ;; + to_int64) dst_type="tme_int64_t" ;; esac # we don't need a function to convert from the same @@ -267,6 +268,7 @@ for level in ${levels}; do strict-getexp | strict-getman) type="${level_stricter}-${name}" ; check_nan=true ; check_inf_src0=return-nan ;; strict-from_*) func_softfloat="OP0_PRECISION_SF_to_${precision_sf}" ; op0_precision="${from_precision}" ;; strict-to_int32) type="${level_stricter}-${name}" ; func_softfloat="${precision_sf}_${name}" ;; + strict-to_int64) type="${level_stricter}-${name}" ; func_softfloat="${precision_sf}_${name}" ;; esac # finish typing this function: