Hi!
I'm new to avr-gcc and am having some trouble, could you help explain
this optimisation to me, to me it doesn't work.
gcc version 4.1.1 (WinAVR 20070122) -Os
From .lss-file;
signed char read_gauge(void)
{
13e2: 1f 93 pushr17
unsigned char temp_uchar = 0;
On Sat, Jan 19, 2008 at 04:15:35PM +0100, Wouter van Gulik wrote:
>
> How do I do such a thing? Using the lower 8 bits is possible when loading a
> register so why not in a table?
In the past, we've encountered other relocations that aren't handled by
the avr port of binutils. It does look like t
> -Original Message-
> From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Paulo Marques
> Sent: Sunday, January 20, 2008 8:03 PM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] testsuite needs
>
>
> Hi, all
>
> I'm still chasing down bugs with the tes
Hi, all
I'm still chasing down bugs with the testsuite, to try to get it to run
without failures (still a somewhat distant goal, though ;)
Anyway, some tests in gcc.c-torture/execute/builtins fail because they
are expecting a "" include file.
I manually added a file to my avr-libc with ju
> -Original Message-
> From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Dmitry K.
> Sent: Sunday, January 20, 2008 3:12 PM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] Whetstone Benchmark
>
> Hi.
>
> A table from 'TI Competitive Benchmark': slaa205
Hi.
'avr-as --help' (version 2.18) says:
...
-mno-skip-bug disable warnings for skipping two-word instructions
(default for avr4, avr5)
It is needed to add 'avr2' to the default list:
-mno-skip-bug disable warnings for skipping two-word instructions
(
Hi.
A table from 'TI Competitive Benchmark': slaa205b.pdf (July 2006).
Whetstone Code Size (in bytes) and Cycle Counts.
IAR C Compiler used (4.12A for AVR), full optimization.
MCU Code size Cycles
- --
MSP430FG4619 6544 107040
MSP430F1496524
>
> This test fails compilation with these errors:
>
> builtin-bitops-1.c:(.text+0x672): undefined reference to `__ffshi2'
> builtin-bitops-1.c:(.text+0x6b4): undefined reference to `__popcounthi2'
> builtin-bitops-1.c:(.text+0x6ee): undefined reference to `__parityhi2'
> builtin-bitops-1.c:(.tex