OSDN Git Service

* config/dfp-bit.c (dfp_unary_func): Delete.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 00:25:18 +0000 (00:25 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 00:25:18 +0000 (00:25 +0000)
commite6eb1ce760420ad1ed88e50103be3cc26089c6c4
treecdd1d11749442787aa9127594fdf8d20fdef40b2
parentb27f9c5fef000f457cd30179b607fa438d88e3c0
* config/dfp-bit.c (dfp_unary_func): Delete.
(dfp_unary_op): Delete.
(dfp_binary_op): Use decFloat functions instead of decNumber
functions for binary operations.
(d32_binary_op): Convert 32-bit operands to 64 bits for evaluation.
(dnn_binary_op): Call dfp_binary_op with decFloat rather than
DFP_C_TYPE.
(dfp_compare_op): Use decFloat functions insteadof decNumber
functions for comparisons.
(d32_compare_op): Convert 32-bit operands to 64 bits for evaluation.
(dnn_binary_op): Call dfp_compare_op with decFloat rather than
DFP_C_TYPE.
(DFP_ADD, DFP_SUB, DFP_MULTIPLE, DFP_DIVIDE): Use macros for
call to dxx_binary_op and decFloat function.
(DFP_EQ, DFP_NE, DFP_LT, DFP_GT, DFP_LE, DFP_GE): Use macros for
calls to dxx_binary_op and decFloat function.
* config/dfp-bit.h: Include decFloat header files.
(decFloat, DFP_BINARY_OP, DFP_COMPARE_OP, DEC_FLOAT_ADD,
DEC_FLOAT_SUBTRACT, DEC_FLOAT_MULTIPLY, DEC_FLOAT_DIVIDE,
DEC_FLOAT_COMPARE, DEC_FLOAT_IS_ZERO, DEC_FLOAT_IS_NAN,
DEC_FLOAT_IS_SIGNED: Define for each of 3 operand widths.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128358 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/dfp-bit.c
gcc/config/dfp-bit.h