RE: readonly register

2012-01-21 Thread Hans-Peter Nilsson
On Sun, 22 Jan 2012, Hans-Peter Nilsson wrote: > On Thu, 19 Jan 2012, BELBACHIR Selim wrote: > > > In fact my final purpose is to replace $INP by a register bank > > in order to be able to read several inputs using pipelined > > instructions (and instruction scheduler). The fixed reg solution > > w

RE: readonly register

2012-01-21 Thread Hans-Peter Nilsson
Message d'origine- > De : Ian Lance Taylor [mailto:i...@google.com] > Envoyé : jeudi 19 janvier 2012 00:17 > À : BELBACHIR Selim > Cc : gcc@gcc.gnu.org > Objet : Re: readonly register > > BELBACHIR Selim writes: > > > I'm trying to support an 'in'

Re: readonly register

2012-01-19 Thread Ian Lance Taylor
m] > Envoyé : jeudi 19 janvier 2012 00:17 > À : BELBACHIR Selim > Cc : gcc@gcc.gnu.org > Objet : Re: readonly register > > BELBACHIR Selim writes: > >> I'm trying to support an 'in' instruction which reads a value on a >> peripheral and writes it into a $INP

RE: readonly register

2012-01-19 Thread BELBACHIR Selim
pass without turning them into fixed register ? Selim -Message d'origine- De : Ian Lance Taylor [mailto:i...@google.com] Envoyé : jeudi 19 janvier 2012 00:17 À : BELBACHIR Selim Cc : gcc@gcc.gnu.org Objet : Re: readonly register BELBACHIR Selim writes: > I'm trying to s

Re: readonly register

2012-01-18 Thread Ian Lance Taylor
BELBACHIR Selim writes: > I'm trying to support an 'in' instruction which reads a value on a peripheral > and writes it into a $INP register. > The $INP register can be used in almost every insn as input operand (add, > sub, mul ...). > I defined a builting to access the 'in' instruction. > > H

readonly register

2012-01-18 Thread BELBACHIR Selim
Hi, I'm trying to support an 'in' instruction which reads a value on a peripheral and writes it into a $INP register. The $INP register can be used in almost every insn as input operand (add, sub, mul ...). I defined a builting to access the 'in' instruction. How should I express to gcc that th