[patch][commit] Operation methods in cgen_fp_ops

Dave Brolley brolley@redhat.com
Wed Jun 14 19:09:00 GMT 2006


Hi,

I've committed the attached patch which changes all of the operation 
methods in cgen_fp_ops to accept 'const cgen_fpu*' where they previously 
accepted 'cgen_fpu*'. This is necessary when these operations are used 
in a hardware getter expression. These methods are generated as 'const' 
by CGEN and thus, the pointer to the fpu passed is also const.

Tested on the internal port which exposed the problem. No other ports 
currently use cgen_fpu.

Dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cgen-fpu.ChangeLog
URL: <http://sourceware.org/pipermail/cgen/attachments/20060614/73f8fe32/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cgen-fpu.patch.txt
URL: <http://sourceware.org/pipermail/cgen/attachments/20060614/73f8fe32/attachment.txt>


More information about the Cgen mailing list