Commit 23e0fe1e authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: rename ia32_x87* to x86_x87*

parent a88d55d7
......@@ -355,11 +355,11 @@ add_backend(ia32
ir/be/ia32/ia32_optimize.c
ir/be/ia32/ia32_pic.c
ir/be/ia32/ia32_transform.c
ir/be/ia32/ia32_x87.c
ir/be/ia32/x86_address_mode.c
ir/be/ia32/x86_asm.c
ir/be/ia32/x86_cconv.c
ir/be/ia32/x86_imm.c
ir/be/ia32/x86_x87.c
)
add_backend(arm
ir/be/arm/arm_cconv.c
......
......@@ -27,7 +27,6 @@
#include "ia32_new_nodes.h"
#include "ia32_optimize.h"
#include "ia32_transform.h"
#include "ia32_x87.h"
#include "ident_t.h"
#include "instrument.h"
#include "ircons.h"
......@@ -45,6 +44,7 @@
#include "lower_softfloat.h"
#include "lowering.h"
#include "panic.h"
#include "x86_x87.h"
pmap *ia32_tv_ent; /**< A map of entities that store const tarvals */
......@@ -1140,7 +1140,7 @@ static void ia32_emit(ir_graph *irg)
be_dump(DUMP_RA, irg, "2addr");
/* we might have to rewrite x87 virtual registers */
ia32_x87_simulate_graph(irg);
x86_x87_simulate_graph(irg);
be_dump(DUMP_RA, irg, "x87");
/* do peephole optimizations */
......@@ -1659,6 +1659,6 @@ void be_init_arch_ia32(void)
ia32_init_finish();
ia32_init_optimize();
ia32_init_transform();
ia32_init_x87();
x86_init_x87();
ia32_init_architecture();
}
......@@ -9,6 +9,8 @@
* register translation for the ia32 backend.
* @author Michael Beck
*/
#include "x86_x87.h"
#include <assert.h>
#include "bearch_ia32_t.h"
......@@ -28,7 +30,6 @@
#include "pdeq.h"
#include "debug.h"
#include "panic.h"
#include "belive.h"
#include "besched.h"
#include "benode.h"
......@@ -36,7 +37,6 @@
#include "ia32_new_nodes.h"
#include "gen_ia32_new_nodes.h"
#include "gen_ia32_regalloc_if.h"
#include "ia32_x87.h"
#include "ia32_architecture.h"
#define N_FLOAT_REGS (N_ia32_fp_REGS-1) // exclude NOREG
......@@ -1498,7 +1498,7 @@ static void update_liveness_walker(ir_node *block, void *data)
* Replaces all virtual floating point instructions and registers
* by real ones.
*/
void ia32_x87_simulate_graph(ir_graph *irg)
void x86_x87_simulate_graph(ir_graph *irg)
{
#ifndef DEBUG_libfirm
if (!requested_x87_sim(irg))
......@@ -1542,7 +1542,7 @@ void ia32_x87_simulate_graph(ir_graph *irg)
}
/* Initializes the x87 simulator. */
void ia32_init_x87(void)
void x86_init_x87(void)
{
FIRM_DBG_REGISTER(dbg, "firm.be.ia32.x87");
FIRM_DBG_REGISTER(dbg, "firm.be.x86.x87");
}
......@@ -9,8 +9,8 @@
* register translation for the ia32 backend.
* @author Michael Beck
*/
#ifndef FIRM_BE_IA32_IA32_X87_H
#define FIRM_BE_IA32_IA32_X87_H
#ifndef FIRM_BE_IA32_X86_X87_H
#define FIRM_BE_IA32_X86_X87_H
#include "firm_types.h"
......@@ -23,11 +23,11 @@
*
* Registers must be allocated.
*/
void ia32_x87_simulate_graph(ir_graph *irg);
void x86_x87_simulate_graph(ir_graph *irg);
/**
* Initializes the x87 simulator.
*/
void ia32_init_x87(void);
void x86_init_x87(void);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment