From 1b7f41838ead96f3ce0435ea080c0471349e4f2a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 16 Apr 2008 13:51:03 +0000 Subject: [PATCH] Remove ia32_am_Dest. [r19300] --- ir/be/ia32/ia32_new_nodes.c | 3 --- ir/be/ia32/ia32_nodes_attr.h | 1 - ir/be/ia32/ia32_spec.pl | 6 ------ 3 files changed, 10 deletions(-) diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c index 1627a7b18..aaf4f8795 100644 --- a/ir/be/ia32/ia32_new_nodes.c +++ b/ir/be/ia32/ia32_new_nodes.c @@ -263,9 +263,6 @@ static int ia32_dump_node(ir_node *n, FILE *F, dump_reason_t reason) { case ia32_am_Source: fprintf(F, "source only (Load)"); break; - case ia32_am_Dest: - fprintf(F, "dest only (Load+Store)"); - break; default: fprintf(F, "unknown (%d)", get_ia32_am_support(n)); break; diff --git a/ir/be/ia32/ia32_nodes_attr.h b/ir/be/ia32/ia32_nodes_attr.h index 620e320aa..63456f6dd 100644 --- a/ir/be/ia32/ia32_nodes_attr.h +++ b/ir/be/ia32/ia32_nodes_attr.h @@ -41,7 +41,6 @@ typedef enum { typedef enum { ia32_am_None = 0, /**< no addrmode support */ - ia32_am_Dest = 1, ia32_am_Source = 2 /**< addrmode for source only */ } ia32_am_type_t; diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index 4611548d3..364d5c05d 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -249,12 +249,6 @@ sub ia32_custom_init_attr { $res .= "\tset_ia32_am_support(res, ia32_am_Source, ia32_am_unary);"; } elsif($am eq "source,binary") { $res .= "\tset_ia32_am_support(res, ia32_am_Source, ia32_am_binary);"; - } elsif($am eq "dest,unary") { - $res .= "\tset_ia32_am_support(res, ia32_am_Dest, ia32_am_unary);"; - } elsif($am eq "dest,binary") { - $res .= "\tset_ia32_am_support(res, ia32_am_Dest, ia32_am_binary);"; - } elsif($am eq "dest,ternary") { - $res .= "\tset_ia32_am_support(res, ia32_am_Dest, ia32_am_ternary);"; } elsif($am eq "source,ternary") { $res .= "\tset_ia32_am_support(res, ia32_am_Source, ia32_am_ternary);"; } elsif($am eq "none") { -- 2.20.1