Compiling to Alpha Subset
Ian Lance Taylor
iant@google.com
Thu Aug 20 16:26:00 GMT 2009
Dave Fick <dfick@umich.edu> writes:
> I implemented a small alpha processor and am now trying to use it. It
> has only a very small subset of the alpha instructions. Is there a way
> to tell GCC to use or not use individual instructions? Right now I use
> a script to find and replace unsupported assembly instructions before
> calling the assembler - but there many I haven't done yet.It would be
> nice to avoid this so that I can turn on optimizations.
Look in gcc/config/alpha. Add a new option. Test for that option in
alpha.md. This will only work if you provide enough instructions for
gcc to operate.
Ian
More information about the Gcc-help
mailing list