Why doesn’t -mbranch-cost work for sifive-7-series?
When I use the -mbranch-cost
parameter for -mtune=sifive-7-series
, I don’t see the difference in generated assembly code no matter the value I use. However, if I use it with -mtune=rocket
, I get either branched instructions or czero
instructions, depending on the value.
Why doesn’t -mbranch-cost work for sifive-7-series?
When I use the -mbranch-cost
parameter for -mtune=sifive-7-series
, I don’t see the difference in generated assembly code no matter the value I use. However, if I use it with -mtune=rocket
, I get either branched instructions or czero
instructions, depending on the value.
Why doesn’t -mbranch-cost work for sifive-7-series?
When I use the -mbranch-cost
parameter for -mtune=sifive-7-series
, I don’t see the difference in generated assembly code no matter the value I use. However, if I use it with -mtune=rocket
, I get either branched instructions or czero
instructions, depending on the value.