[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Transfer bit conserved by gcc?
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Transfer bit conserved by gcc? |
Date: |
Fri, 19 Sep 2008 08:25:23 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Ruud Vlaming
> Sent: Friday, September 19, 2008 5:15 AM
> To: address@hidden
> Subject: [avr-gcc-list] Transfer bit conserved by gcc?
>
> It is hard to find an awnser to the following question by google,
> so lets post it here.
>
> Is it true that avr-gcc never produces code that makes explicit
> use of the T-bit?
No.
In GCC 4.3.2, in the machine description for the avr (gcc/config/avr/avr.md),
there is define_insn "abssf2" that will use the T bit. It generates a CLT and
BLD instructions. However, I have no idea how often the define_insn "abssf2"
will trigger. But yes, there is a possibility.
And of course gas is aware of the SET and CLT instructions.
Eric Weddington