Re: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Ruud Vlaming
On Friday 12 September 2008 21:53, Pink Boy wrote: > As an aside, Freertos was just getting underway when I started > using AVRX, but is now much more widely supported and mature now. FreeRTOS is very good, and i ported it (for own use) to the ATtiny861. It runs perfectly, but is to large for an

RE: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Pink Boy
Stu Bell sez, > > There's an OS for the AVR? Whoa. I had no idea. >> Guess I know what website I'll be perusing this morning. > > > > Is it stable yet? > > Check the Tutorials forum on avrfreaks.net -- there's a > thread with a pile of Oses for AVRs of all flavors. I've used AVRX and it's certa

Re: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Ruud Vlaming
On Friday 12 September 2008 20:17, Stu Bell wrote: > > Is it stable yet? > > Check the Tutorials forum on avrfreaks.net -- there's a thread with a > pile of Oses for AVRs of all flavors. Hmm, i had better called mine YAVTROS - Compact form for: Yet Another AVR Real Time OS ;-) But i didn't, beca

RE: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Stu Bell
> > So have a look at my OS for the AVR, sources included (GPLv3) > > http://www.femtoos.org/ > > ;-) > > There's an OS for the AVR? Whoa. I had no idea. Guess I know what website I'll be perusing this morning. > > Is it stable yet? Check the Tutorials forum on avrfreaks.net -- there's a thread

RE: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Weddington, Eric
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Gre7g Luterman > Sent: Friday, September 12, 2008 9:19 AM > To: avr-gcc-list@nongnu.org > Subject: Re: [avr-gcc-list] cbr and negative numbers > > - Orig

Re: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Ruud Vlaming
On Friday 12 September 2008 17:19, Gre7g Luterman wrote: > > So have a look at my OS for the AVR, sources included (GPLv3) > > http://www.femtoos.org/ > > ;-) > > There's an OS for the AVR? It is for the AVR but at this moment there is only one port, for the ATtiny861,461,261 The OS is complete

RE: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Larry Barello
D] [mailto:[EMAIL PROTECTED] On Behalf Of Gre7g Luterman Sent: Friday, September 12, 2008 8:19 AM To: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] cbr and negative numbers - Original Message From: Ruud Vlaming <[EMAIL PROTECTED]> To: avr-gcc-list@nongnu.org Sent: Friday, Sept

Re: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Gre7g Luterman
- Original Message From: Ruud Vlaming <[EMAIL PROTECTED]> To: avr-gcc-list@nongnu.org Sent: Friday, September 12, 2008 8:23:23 AM Subject: Re: [avr-gcc-list] cbr and negative numbers > So have a look at my OS for the AVR, sources included (GPLv3) > http://www.femtoos.org/ &g

Re: [avr-gcc-list] cbr and negative numbers

2008-09-12 Thread Ruud Vlaming
On Thursday 11 September 2008 22:55, Joerg Wunsch wrote: > If you've got a patch that doesn't break anything else (in particular > in non-mint8 land), I think it has a real chance of being > incorporated. Otherwise, it will be tough. Of course, that goes without saying. Maybe i have a look afte

Re: [avr-gcc-list] cbr and negative numbers

2008-09-11 Thread Joerg Wunsch
Ruud Vlaming <[EMAIL PROTECTED]> wrote: > Yeah, you are correct. And if i mange to dive into the problem and > fix it myself (which i doubt i can) the patch would probably not be > committed because of possible side effects. GCC has a fairly well developed set of tests. If your patch doesn't cau

Re: [avr-gcc-list] cbr and negative numbers

2008-09-11 Thread Joerg Wunsch
Ruud Vlaming <[EMAIL PROTECTED]> wrote: > The problem i am pointing out can (easily) be solved by letting gcc > emit only positive/hexadecimal operands or by a minimal change in > the way the cbr instruction calculates its operand: (0xFF-x) -> > (0xFF - (x & 0xFF)). If you've got a patch that doe

Re: [avr-gcc-list] cbr and negative numbers

2008-09-11 Thread hutchinsonandy
wired device. -Original Message- From: Ruud Vlaming <[EMAIL PROTECTED]> To: Weddington, Eric <[EMAIL PROTECTED]>; avr-gcc-list@nongnu.org Sent: Thu, 11 Sep 2008 4:42 am Subject: Re: [avr-gcc-list] cbr and negative numbers On Wednesday 10 September 2008 23:45, Weddington

Re: [avr-gcc-list] cbr and negative numbers

2008-09-11 Thread Ruud Vlaming
On Wednesday 10 September 2008 23:45, Weddington, Eric wrote: > But I highly doubt that the other developers are going to fix a problem > that only shows up with -mint8. Yeah, you are correct. And if i mange to dive into the problem and fix it myself (which i doubt i can) the patch would proba

Re: [avr-gcc-list] cbr and negative numbers

2008-09-10 Thread Ruud Vlaming
On Wednesday 10 September 2008 16:01, you wrote: > > > -Original Message- > > However, if you activate the 8 bit integer option -mint8 > Full halt. > > -mint8 is not really supported. Yes, we know it causes all sorts of > problems. It should never be used. I'd really like to see it ripp

RE: [avr-gcc-list] cbr and negative numbers

2008-09-10 Thread Weddington, Eric
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Ruud Vlaming > Sent: Wednesday, September 10, 2008 7:57 AM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] cbr and negative numbers > > Suppose you compile the (nonsense) code belo