IF conversion bug with CC0

Jeff Law law@redhat.com
Mon Apr 4 22:32:00 GMT 2016


On 04/04/2016 04:20 PM, Eric Botcazou wrote:
>>   From a 30 second view of your ISA, it appears that most
>> arithmetic/logicals unconditionally set the condition codes.
>>
>> I would suggest modeling condition code handling similar to how it's
>> done on the x86 port.
>
> No advertisement intended, but the Visium architecture is the typical 32-bit
> RISC where every single arithmetic/logical unconditionally sets the condition
> code.  Moreover, the port was very recently converted from CC0 to CCmode (with
> uniform post-reload splitters and define_substs tailored for the postreload
> compare elimination pass), so it could be a good model.
Visium might be an easier port to read/understand :-)

jeff



More information about the Gcc mailing list