pa8000 fmpyfadd instruction help?

Jerry Quinn jquinn@nortelnetworks.com
Wed Mar 31 23:46:00 GMT 1999


Jeffrey A Law wrote:
> 
>   In message < 36EEA621.B5679AED@americasm01.nt.com >you write:
>   > Hi all.  Having put in place a minimal pa8000 schedule option (see
>   > egcs-patches), I thought I'd try my hand at adding the fused multiply
>   > accumulate instructions.  The first step is getting gas to recognize and
>   > assemble them.
> Please don't start down this road without assembler support.  It's not
> very useful to add this stuff if you can't assemble the instruction.
> 
> I'd prefer to see us disable fmpyadd/fmpysub when optimizing for the
> PA8000 class machines.  See pa_reorg.

I've added some support to gas for fmpyfadd, fmpynfadd, fneg, and
fnegabs.  My copy will generate object files with these instructions,
but I don't yet know how to make it label the object files as 2.0.  I
submitted a patch to egcs-patches.

Today, I got egcs to output the fmpyfadd and saw a nice little speedup
where I was hoping in our code.  I also disabled pa_combine_instructions
for pa8000 in my version as you suggested.
 
> Also note, you're probably going to need an assignment if you do much
> more work on the PA port.

I just received my copy of the assignments for gcc and binutils back
today from FSF, so everything should be ok.

Jerry

-- 
Jerry Quinn                             Tel: (514) 761-8737
jquinn@nortelnetworks.com               Fax: (514) 761-8505
Speech Recognition Research



More information about the Gcc mailing list