X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firarch.h;h=84e8b886bd95bca9dcc9e76df8c63405eb57f6c7;hb=6ce54897086db42a2f4a59d946e9895954cc9ef3;hp=65b129b48eccbf90b8920392ca5b5c9170b50906;hpb=4c79f97ef6efa5410b9f57837e255e5b9c094669;p=libfirm diff --git a/ir/ir/irarch.h b/ir/ir/irarch.h index 65b129b48..84e8b886b 100644 --- a/ir/ir/irarch.h +++ b/ir/ir/irarch.h @@ -18,15 +18,15 @@ */ typedef struct { /* Mul optimization */ - int also_use_subs : 1; /**< Use also Subs when resolving Muls to shifts */ + unsigned also_use_subs : 1; /**< Use also Subs when resolving Muls to shifts */ int maximum_shifts; /**< The maximum number of shifts that shall be inserted for a mul. */ unsigned highest_shift_amount; /**< The highest shift amount you want to tolerate. Muls which would require a higher shift constant are left. */ /* Div/Mod optimization */ - int allow_mulhs : 1; /**< Use the Mulhs operation for division by constant */ - int allow_mulhu : 1; /**< Use the Mulhu operation for division by constant */ + unsigned allow_mulhs : 1; /**< Use the Mulhs operation for division by constant */ + unsigned allow_mulhu : 1; /**< Use the Mulhu operation for division by constant */ int max_bits_for_mulh; /**< Maximum number of bits the Mulh operation can take. Modes with higher amount of bits will use Mulh */ } arch_dep_params_t;