From: Christoph Mallon Date: Wed, 19 Dec 2012 10:35:38 +0000 (+0100) Subject: be: Remove the unused attribute support_inline_asm from the struct backend_params. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3b2d273df6f19247b75d96fbebc7c06bc1d9c6db;p=libfirm be: Remove the unused attribute support_inline_asm from the struct backend_params. --- diff --git a/include/libfirm/be.h b/include/libfirm/be.h index 75ff7e9c3..8b9f1a5ac 100644 --- a/include/libfirm/be.h +++ b/include/libfirm/be.h @@ -97,8 +97,6 @@ typedef ir_node *(create_trampoline_fkt)(ir_node *block, ir_node *mem, ir_node * * propagated to the libFirm parameter set. */ typedef struct backend_params { - /** If set, the backend supports inline assembly. */ - unsigned support_inline_asm:1; /** If set, the backend supports Rotl nodes */ unsigned support_rotl:1; /** the backend uses big-endian byte ordering if set, else little endian */ diff --git a/ir/be/TEMPLATE/bearch_TEMPLATE.c b/ir/be/TEMPLATE/bearch_TEMPLATE.c index 7e6155e94..e1e3959c1 100644 --- a/ir/be/TEMPLATE/bearch_TEMPLATE.c +++ b/ir/be/TEMPLATE/bearch_TEMPLATE.c @@ -252,7 +252,6 @@ static int TEMPLATE_is_mux_allowed(ir_node *sel, ir_node *mux_false, static const backend_params *TEMPLATE_get_backend_params(void) { static backend_params p = { - 0, /* no inline assembly */ 0, /* no support for Rotl nodes */ 0, /* 0: little-endian, 1: big-endian */ 1, /* modulo shift efficient */ diff --git a/ir/be/amd64/bearch_amd64.c b/ir/be/amd64/bearch_amd64.c index 3045a5fd0..50de97e3e 100644 --- a/ir/be/amd64/bearch_amd64.c +++ b/ir/be/amd64/bearch_amd64.c @@ -387,7 +387,6 @@ static int amd64_is_mux_allowed(ir_node *sel, ir_node *mux_false, */ static const backend_params *amd64_get_backend_params(void) { static backend_params p = { - 0, /* no inline assembly */ 1, /* support Rotl nodes */ 0, /* little endian */ 1, /* modulo shift is efficient */ diff --git a/ir/be/arm/bearch_arm.c b/ir/be/arm/bearch_arm.c index 65f9ebeb5..3e612f6b5 100644 --- a/ir/be/arm/bearch_arm.c +++ b/ir/be/arm/bearch_arm.c @@ -483,7 +483,6 @@ static const backend_params *arm_get_libfirm_params(void) 32, /* SMUL & UMUL available for 32 bit */ }; static backend_params p = { - 0, /* don't support inline assembler yet */ 1, /* support Rotl nodes */ 1, /* big endian */ 1, /* modulo shift efficient */ diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index aaece5a11..74f76ebbc 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -1488,7 +1488,6 @@ static const ir_settings_arch_dep_t ia32_arch_dep = { 32, /* Mulh allowed up to 32 bit */ }; static backend_params ia32_backend_params = { - 1, /* support inline assembly */ 1, /* support Rotl nodes */ 0, /* little endian */ 1, /* modulo shift efficient */ diff --git a/ir/be/sparc/bearch_sparc.c b/ir/be/sparc/bearch_sparc.c index 5da59e561..ddb134ce7 100644 --- a/ir/be/sparc/bearch_sparc.c +++ b/ir/be/sparc/bearch_sparc.c @@ -483,7 +483,6 @@ static const backend_params *sparc_get_backend_params(void) 32, /* max_bits_for_mulh */ }; static backend_params p = { - 0, /* no inline assembly */ 0, /* no support for RotL nodes */ 1, /* big endian */ 1, /* modulo shift efficient */