summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-03-19 21:38:05 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-03-21 09:11:28 +0100
commitac50d9045566f9c1e0e2f58256958097f5d9b128 (patch)
treefcba64fb23da232db4417f6da4ed69fb38e4d354 /ir/be/bearch.h
parente093e4847f92fb2283e9b45e8b513f4115774501 (diff)
be: Remove flag 'aligned' from register requirements.
It is the default for width != 1 now. Work on this never was finished, so it probably does not work anyway.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 23d6a5b..7b31afa 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -225,8 +225,6 @@ struct arch_register_req_t {
unsigned char width;
/** ignore this input/output while allocating registers */
bool ignore : 1;
- /** The registernumber should be aligned (in case of multiregister values)*/
- bool aligned : 1;
/** The instructions modifies the value in the register in an unknown way,
* the value has to be copied if it is needed afterwards. */
bool kills_value : 1;
@@ -242,7 +240,6 @@ static inline bool reg_reqs_equal(const arch_register_req_t *req1,
req1->should_be_same != req2->should_be_same ||
req1->must_be_different != req2->must_be_different ||
req1->ignore != req2->ignore ||
- req1->aligned != req2->aligned ||
(req1->limited != NULL) != (req2->limited != NULL))
return false;
@@ -256,7 +253,7 @@ static inline bool reg_reqs_equal(const arch_register_req_t *req1,
static inline bool reg_req_has_constraint(const arch_register_req_t *req)
{
- return req->limited || req->must_be_different != 0 || req->ignore || req->aligned;
+ return req->limited || req->must_be_different != 0 || req->ignore || req->width != 1;
}
/**