Re: AVR CC0 transition

2020-06-17 Thread John Paul Adrian Glaubitz
Hi! On 5/25/20 2:56 PM, John Paul Adrian Glaubitz wrote: >> I'm thinking about attempting to do the CC0 transition for the >> AVR port in my spare time. I've read the CC0Transition gcc wiki >> page, and as the AVR ISA does not have non-condition-code >> clobbering arithmetic instructions,

Re: AVR CC0 transition

2020-05-25 Thread John Paul Adrian Glaubitz
Hello! > I'm thinking about attempting to do the CC0 transition for the > AVR port in my spare time. I've read the CC0Transition gcc wiki > page, and as the AVR ISA does not have non-condition-code > clobbering arithmetic instructions, concluded that I'd have to > follow the steps outlined for

Re: AVR CC0 transition

2020-04-25 Thread Hans-Peter Nilsson
On Sat, 25 Apr 2020, Eric Botcazou wrote: > > I very much disagree with this. I think my approach was possibly the > > only viable one, and definitely the most sensible one for this target. > > Not only is there nothing meaningful to be gained from separating cc > > setters and users on m68k given

Re: AVR CC0 transition

2020-04-25 Thread Eric Botcazou
> I very much disagree with this. I think my approach was possibly the > only viable one, and definitely the most sensible one for this target. > Not only is there nothing meaningful to be gained from separating cc > setters and users on m68k given that almost all instructions (including > moves)

Re: AVR CC0 transition

2020-04-25 Thread Bernd Schmidt
On 4/23/20 8:31 AM, Eric Botcazou wrote: Thanks, I will take a look at Bernd's work. IIRC, he took a different approach from what was suggested in the wiki, right? Yes, let's say that it's a half-baked conversion, probably a consequence of the bounty. This might be good enough, depending on

Re: AVR CC0 transition

2020-04-23 Thread Jeff Law via Gcc
On Thu, 2020-04-23 at 07:41 +0530, Senthil Kumar wrote: > On Wed, Apr 22, 2020 at 10:08 PM Jeff Law wrote: > > On Wed, 2020-04-22 at 22:01 +0530, Senthil Kumar via Gcc wrote: > > > Hi, > > > > > > I'm thinking about attempting to do the CC0 transition for the > > > AVR port in my spare time.

Re: AVR CC0 transition

2020-04-23 Thread Paul Koning via Gcc
> On Apr 22, 2020, at 10:11 PM, Senthil Kumar via Gcc wrote: > > On Wed, Apr 22, 2020 at 10:08 PM Jeff Law wrote: >> >> On Wed, 2020-04-22 at 22:01 +0530, Senthil Kumar via Gcc wrote: >>> Hi, >>> >>> I'm thinking about attempting to do the CC0 transition for the >>> AVR port in my spare

Re: AVR CC0 transition

2020-04-23 Thread Eric Botcazou
> Thanks, I will take a look at Bernd's work. IIRC, he took a > different approach from what was suggested in the wiki, right? Yes, let's say that it's a half-baked conversion, probably a consequence of the bounty. This might be good enough, depending on the architecture. -- Eric Botcazou

Re: AVR CC0 transition

2020-04-22 Thread Senthil Kumar via Gcc
On Wed, Apr 22, 2020 at 11:37 PM Joel Sherrill wrote: > > On Wed, Apr 22, 2020 at 12:53 PM Moritz Strübe > wrote: > > > > > Am 22.04.2020 um 18:38 schrieb Jeff Law via Gcc: > > > [..] as the > > > alternative would be dropping the AVR port. > > > > Shouldn't that work be sponsored by Microchip

Re: AVR CC0 transition

2020-04-22 Thread Senthil Kumar via Gcc
On Wed, Apr 22, 2020 at 10:08 PM Jeff Law wrote: > > On Wed, 2020-04-22 at 22:01 +0530, Senthil Kumar via Gcc wrote: > > Hi, > > > > I'm thinking about attempting to do the CC0 transition for the > > AVR port in my spare time. I've read the CC0Transition gcc wiki > > page, and as the AVR ISA

Re: AVR CC0 transition

2020-04-22 Thread Joel Sherrill
On Wed, Apr 22, 2020 at 12:53 PM Moritz Strübe wrote: > > Am 22.04.2020 um 18:38 schrieb Jeff Law via Gcc: > > [..] as the > > alternative would be dropping the AVR port. > > Shouldn't that work be sponsored by Microchip (or whoever currently owns > AVR)? Arduino Inc. might also be highly

Re: AVR CC0 transition

2020-04-22 Thread Jeff Law via Gcc
On Wed, 2020-04-22 at 19:52 +0200, Moritz Strübe wrote: > Am 22.04.2020 um 18:38 schrieb Jeff Law via Gcc: > > [..] as the > > alternative would be dropping the AVR port. > > Shouldn't that work be sponsored by Microchip (or whoever currently owns > AVR)? Arduino Inc. might also be highly

Re: AVR CC0 transition

2020-04-22 Thread Moritz Strübe
Am 22.04.2020 um 18:38 schrieb Jeff Law via Gcc: [..] as the alternative would be dropping the AVR port. Shouldn't that work be sponsored by Microchip (or whoever currently owns AVR)? Arduino Inc. might also be highly interested in continued AVR-support. Cheers Morty -- Redheads Ltd.

Re: AVR CC0 transition

2020-04-22 Thread Jeff Law via Gcc
On Wed, 2020-04-22 at 22:01 +0530, Senthil Kumar via Gcc wrote: > Hi, > > I'm thinking about attempting to do the CC0 transition for the > AVR port in my spare time. I've read the CC0Transition gcc wiki > page, and as the AVR ISA does not have non-condition-code > clobbering arithmetic

AVR CC0 transition

2020-04-22 Thread Senthil Kumar via Gcc
Hi, I'm thinking about attempting to do the CC0 transition for the AVR port in my spare time. I've read the CC0Transition gcc wiki page, and as the AVR ISA does not have non-condition-code clobbering arithmetic instructions, concluded that I'd have to follow the steps outlined for case #2. Are