/* Set the ARM machine node attributes to default values. */
void init_arm_attributes(ir_node *node, int flags, const arm_register_req_t ** in_reqs,
- const arm_register_req_t ** out_reqs, const be_execution_unit_t **execution_units,
+ const arm_register_req_t ** out_reqs, const be_execution_unit_t ***execution_units,
int n_res, unsigned latency) {
arm_attr_t *attr = get_arm_attr(node);
attr->in_req = in_reqs;
#include "arm_nodes_attr.h"
#include "bearch_arm_t.h"
-#include "gen_arm_machine.h"
/***************************************************************************************************
* _ _ _ __ _ _ _ _
* Set the ARM machine node attributes to default values.
*/
void init_arm_attributes(ir_node *node, int flags, const arm_register_req_t ** in_reqs,
- const arm_register_req_t ** out_reqs, const be_execution_unit_t **execution_units, int n_res, unsigned latency);
+ const arm_register_req_t ** out_reqs, const be_execution_unit_t ***execution_units, int n_res, unsigned latency);
/**
* Returns the tarval
#include "../besched_t.h"
#include "../be.h"
#include "../beabi.h"
+#include "../bemachine.h"
#include "bearch_arm_t.h"
return get_mode_size_bytes(mode);
}
+static const be_execution_unit_t ***arm_get_allowed_execution_units(const void *self, const ir_node *irn) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
+static const be_machine_t *arm_get_machine(const void *self) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
/**
* Returns the libFirm configuration parameter for this backend.
*/
arm_get_list_sched_selector,
arm_get_reg_class_alignment,
arm_get_libfirm_params,
+ arm_get_allowed_execution_units,
+ arm_get_machine,
#ifdef WITH_LIBCORE
arm_register_options
#endif
return get_mode_size_bytes(mode);
}
+static const be_execution_unit_t ***firm_get_allowed_execution_units(const void *self, const ir_node *irn) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
+static const be_machine_t *firm_get_machine(const void *self) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
/**
* Returns the libFirm configuration parameter for this backend.
*/
firm_get_list_sched_selector,
firm_get_reg_class_alignment,
firm_get_libfirm_params,
+ firm_get_allowed_execution_units,
+ firm_get_machine,
#ifdef WITH_LIBCORE
firm_register_options,
#endif
#include "../besched_t.h"
#include "../be.h"
#include "../beabi.h"
+#include "../bemachine.h"
#include "bearch_mips_t.h"
return get_mode_size_bytes(mode);
}
+static const be_execution_unit_t ***mips_get_allowed_execution_units(const void *self, const ir_node *irn) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
+static const be_machine_t *mips_get_machine(const void *self) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
/**
* Returns the libFirm configuration parameter for this backend.
*/
mips_get_list_sched_selector,
mips_get_reg_class_alignment,
mips_get_libfirm_params,
+ mips_get_allowed_execution_units,
+ mips_get_machine,
#ifdef WITH_LIBCORE
mips_register_options
#endif
* Initializes the nodes attributes.
*/
void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const mips_register_req_t **in_reqs,
- const mips_register_req_t **out_reqs, const be_execution_unit_t **execution_units,
+ const mips_register_req_t **out_reqs,
+ const be_execution_unit_t ***execution_units,
int n_res, unsigned latency)
{
mips_attr_t *attr = get_mips_attr(node);
*/
#include "mips_nodes_attr.h"
-#include "gen_mips_machine.h"
/***************************************************************************************************
* _ _ _ __ _ _ _ _
* Initializes the nodes attributes.
*/
void init_mips_attributes(ir_node *node, arch_irn_flags_t flags, const mips_register_req_t **in_reqs,
- const mips_register_req_t **out_reqs, const be_execution_unit_t **execution_units, int n_res, unsigned latency);
+ const mips_register_req_t **out_reqs, const be_execution_unit_t ***execution_units, int n_res, unsigned latency);
/**
* Initialize transform ops for the mips opcodes
#include "../besched_t.h"
#include "../be.h"
#include "../beabi.h"
+#include "../bemachine.h"
#include "pset.h"
return get_mode_size_bytes(mode);
}
+static const be_execution_unit_t ***ppc32_get_allowed_execution_units(const void *self, const ir_node *irn) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
+static const be_machine_t *ppc32_get_machine(const void *self) {
+ /* TODO */
+ assert(0);
+ return NULL;
+}
+
/**
* Returns the libFirm configuration parameter for this backend.
*/
ppc32_get_list_sched_selector,
ppc32_get_reg_class_alignment,
ppc32_get_libfirm_params,
+ ppc32_get_allowed_execution_units,
+ ppc32_get_machine,
#ifdef WITH_LIBCORE
ppc32_register_options
#endif
*/
void init_ppc32_attributes(ir_node *node, int flags,
const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs,
- const be_execution_unit_t **execution_units,
+ const be_execution_unit_t ***execution_units,
int n_res, unsigned latency) {
ppc32_attr_t *attr = get_ppc32_attr(node);
*/
#include "ppc32_nodes_attr.h"
-#include "gen_ppc32_machine.h"
/***************************************************************************************************
* _ _ _ __ _ _ _ _
void init_ppc32_attributes(ir_node *node, int flags,
const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs,
- const be_execution_unit_t **execution_units,
+ const be_execution_unit_t ***execution_units,
int n_res, unsigned latency);
void ppc32_register_additional_opcodes(int opcode_num);