projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use SPARC_STACK_ALIGNMENT and round_up2() instead of magic numbers and calculations.
[libfirm]
/
ir
/
be
/
bemachine.h
diff --git
a/ir/be/bemachine.h
b/ir/be/bemachine.h
index
57c47e8
..
f106276
100644
(file)
--- a/
ir/be/bemachine.h
+++ b/
ir/be/bemachine.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-27,23
+27,21
@@
#ifndef FIRM_BE_BEMACHINE_H
#define FIRM_BE_BEMACHINE_H
#ifndef FIRM_BE_BEMACHINE_H
#define FIRM_BE_BEMACHINE_H
-typedef struct _be_execution_unit_type_t be_execution_unit_type_t;
-typedef struct _be_execution_unit_t be_execution_unit_t;
-typedef struct _be_machine_t be_machine_t;
+#include "be_types.h"
-struct
_
be_execution_unit_t {
+struct be_execution_unit_t {
be_execution_unit_type_t *tp;
const char *name;
};
be_execution_unit_type_t *tp;
const char *name;
};
-struct
_
be_execution_unit_type_t {
+struct be_execution_unit_type_t {
unsigned n_units;
unsigned ports_per_unit;
const char *name;
be_execution_unit_t *units;
};
unsigned n_units;
unsigned ports_per_unit;
const char *name;
be_execution_unit_t *units;
};
-struct
_
be_machine_t {
+struct be_machine_t {
unsigned bundle_size;
unsigned bundels_per_cycle;
unsigned n_unit_types;
unsigned bundle_size;
unsigned bundels_per_cycle;
unsigned n_unit_types;