Different classes for base registers

2007-05-29 Thread Tal Agmon
al base regs and deal with r6-r7 in GO_IF_LEGITIMATE_ADDRESS and in the constraint definitions, or am I right with my assumption that gcc doesn't support that? Does someone knows if there's a target with a similar behavior? Thanks in advance, Tal Agmon.

auto increment in simple mac loop is not created.

2007-07-18 Thread Tal Agmon
Hi, I'm compiling the following c code with -O2 on ia64-linux, xtensa-linux, bfin targets, gcc-4.2.0: int loop(int a[], int b[],int sum) { unsigned int i; for (i = 0; i < 100; i++) sum+=a[i]*b[i]; return sum; } I don't see any auto increment of the pointers inside the loop

SImode and PSImode question

2007-09-11 Thread Tal Agmon
Hi, I'm working on a port in which BITS_PER_UNIT is 16, Therefore HImode represent 32 bits int and SImode is actually long long. I see many references in gcc code to SImode. Isn't this problematic for ports such as this when SImode does not represent the natural int? I would like to define PSImod