Pmode=PSImode ivloop optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

My Pmode and ptr_mode are respectively PSImode and SImode.
During loops (and other pointer arith), the pointers addresses are
extended into ptr_mode (using 2 GP HI regs) to perform arithmetic &
comparison operations and are then truncated into PSImode to access
memory.
The target has basic arithmetic and comparison  operations on PSImode
which are defined as named RTL insn, but they are never used.

Is there a way to force GCC performing arithmetic operations and
comparisons on pointers that would lead to much better code ?

Thanks by advance,
Aurélien



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux