Re: RTL for stackmachines

2017-11-15 Thread Ábrahám Endre
-Registers 2017-11-15 17:03 GMT+01:00 Ábrahám Endre : > So I set up fake registers in target.h, and implement their behaviour with > a stack logic? > My binutils is already ported, how will this work with GAS not knowing > whether i use registers or not? > > 2017-11-15 16:38 GMT+01

Re: RTL for stackmachines

2017-11-15 Thread Ábrahám Endre
So I set up fake registers in target.h, and implement their behaviour with a stack logic? My binutils is already ported, how will this work with GAS not knowing whether i use registers or not? 2017-11-15 16:38 GMT+01:00 Jeff Law : > On 11/15/2017 08:33 AM, Ábrahám Endre wrote: > > Hi

RTL for stackmachines

2017-11-15 Thread Ábrahám Endre
Hi, I'm trying to make a gcc backend for a stack machine, is there a way to disable register specific behaviour required by target.h, target.c? also all preserved names in the RTL language assume usages of operands (addm3 mulm3 etc) which is not an option in my target, do I have to manually set up