|
From: <sv...@va...> - 2012-12-21 21:43:14
|
florian 2012-12-21 21:43:00 +0000 (Fri, 21 Dec 2012)
New Revision: 2609
Log:
s390: Rename s390_conv_t to s390_bfp_conv_t. Purely mechanical.
Modified files:
trunk/priv/host_s390_defs.c
trunk/priv/host_s390_defs.h
trunk/priv/host_s390_isel.c
Modified: trunk/priv/host_s390_defs.h (+5 -5)
===================================================================
--- trunk/priv/host_s390_defs.h 2012-12-21 21:05:17 +00:00 (rev 2608)
+++ trunk/priv/host_s390_defs.h 2012-12-21 21:43:00 +00:00 (rev 2609)
@@ -233,7 +233,7 @@
S390_BFP_F128_TO_U64,
S390_BFP_F128_TO_F32,
S390_BFP_F128_TO_F64
-} s390_conv_t;
+} s390_bfp_conv_t;
/* Type conversion operations: to and/or from decimal floating point */
typedef enum {
@@ -492,7 +492,7 @@
HReg op_lo; /* 128-bit operand low part */
} bfp_unop;
struct {
- s390_conv_t tag;
+ s390_bfp_conv_t tag;
s390_bfp_round_t rounding_mode;
HReg dst_hi; /* 128-bit result high part; 32/64-bit result */
HReg dst_lo; /* 128-bit result low part */
@@ -623,7 +623,7 @@
s390_insn *s390_insn_bfp_unop(UChar size, s390_bfp_unop_t tag, HReg dst,
HReg op);
s390_insn *s390_insn_bfp_compare(UChar size, HReg dst, HReg op1, HReg op2);
-s390_insn *s390_insn_bfp_convert(UChar size, s390_conv_t tag, HReg dst,
+s390_insn *s390_insn_bfp_convert(UChar size, s390_bfp_conv_t tag, HReg dst,
HReg op, s390_bfp_round_t);
s390_insn *s390_insn_bfp128_binop(UChar size, s390_bfp_binop_t, HReg dst_hi,
HReg dst_lo, HReg op2_hi, HReg op2_lo);
@@ -631,9 +631,9 @@
HReg dst_lo, HReg op_hi, HReg op_lo);
s390_insn *s390_insn_bfp128_compare(UChar size, HReg dst, HReg op1_hi,
HReg op1_lo, HReg op2_hi, HReg op2_lo);
-s390_insn *s390_insn_bfp128_convert_to(UChar size, s390_conv_t,
+s390_insn *s390_insn_bfp128_convert_to(UChar size, s390_bfp_conv_t,
HReg dst_hi, HReg dst_lo, HReg op);
-s390_insn *s390_insn_bfp128_convert_from(UChar size, s390_conv_t,
+s390_insn *s390_insn_bfp128_convert_from(UChar size, s390_bfp_conv_t,
HReg dst, HReg op_hi, HReg op_lo,
s390_bfp_round_t);
s390_insn *s390_insn_dfp_binop(UChar size, s390_dfp_binop_t, HReg dst,
Modified: trunk/priv/host_s390_defs.c (+4 -4)
===================================================================
--- trunk/priv/host_s390_defs.c 2012-12-21 21:05:17 +00:00 (rev 2608)
+++ trunk/priv/host_s390_defs.c 2012-12-21 21:43:00 +00:00 (rev 2609)
@@ -5094,7 +5094,7 @@
s390_insn *
-s390_insn_bfp_convert(UChar size, s390_conv_t tag, HReg dst, HReg op,
+s390_insn_bfp_convert(UChar size, s390_bfp_conv_t tag, HReg dst, HReg op,
s390_bfp_round_t rounding_mode)
{
s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn));
@@ -5196,7 +5196,7 @@
static s390_insn *
-s390_insn_bfp128_convert(UChar size, s390_conv_t tag, HReg dst_hi,
+s390_insn_bfp128_convert(UChar size, s390_bfp_conv_t tag, HReg dst_hi,
HReg dst_lo, HReg op_hi, HReg op_lo,
s390_bfp_round_t rounding_mode)
{
@@ -5226,7 +5226,7 @@
s390_insn *
-s390_insn_bfp128_convert_to(UChar size, s390_conv_t tag, HReg dst_hi,
+s390_insn_bfp128_convert_to(UChar size, s390_bfp_conv_t tag, HReg dst_hi,
HReg dst_lo, HReg op)
{
/* Conversion to bfp128 never requires a rounding mode. Provide default
@@ -5239,7 +5239,7 @@
s390_insn *
-s390_insn_bfp128_convert_from(UChar size, s390_conv_t tag, HReg dst,
+s390_insn_bfp128_convert_from(UChar size, s390_bfp_conv_t tag, HReg dst,
HReg op_hi, HReg op_lo,
s390_bfp_round_t rounding_mode)
{
Modified: trunk/priv/host_s390_isel.c (+4 -4)
===================================================================
--- trunk/priv/host_s390_isel.c 2012-12-21 21:05:17 +00:00 (rev 2608)
+++ trunk/priv/host_s390_isel.c 2012-12-21 21:43:00 +00:00 (rev 2609)
@@ -975,7 +975,7 @@
{
IRType ty = typeOfIRExpr(env->type_env, expr);
UChar size;
- s390_conv_t conv;
+ s390_bfp_conv_t conv;
vassert(ty == Ity_I8 || ty == Ity_I16 || ty == Ity_I32 || ty == Ity_I64);
@@ -1891,7 +1891,7 @@
case Iex_Unop: {
IRExpr *left = expr->Iex.Unop.arg;
s390_bfp_unop_t bfpop;
- s390_conv_t conv;
+ s390_bfp_conv_t conv;
HReg op_hi, op_lo, op, f12, f13, f14, f15;
/* We use non-virtual registers as pairs (f13, f15) and (f12, f14)) */
@@ -2104,7 +2104,7 @@
IRExpr *irrm = expr->Iex.Binop.arg1;
IRExpr *left = expr->Iex.Binop.arg2;
HReg h1, dst;
- s390_conv_t conv;
+ s390_bfp_conv_t conv;
switch (op) {
case Iop_SqrtF32:
@@ -2189,7 +2189,7 @@
IROp op = expr->Iex.Unop.op;
IRExpr *left = expr->Iex.Unop.arg;
s390_bfp_unop_t bfpop;
- s390_conv_t conv;
+ s390_bfp_conv_t conv;
HReg h1, dst;
if (op == Iop_F128HItoF64 || op == Iop_F128LOtoF64) {
|