Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers LCC > customised op u...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 969 of 1062
Post > Topic >>

customised op using MULT instruction

by alok76in@[EMAIL PROTECTED] Aug 10, 2007 at 01:50 PM

Hi,

I am trying to make a customized operation, where the result of MULT
operation is used in adder or subtractor, e.g.: result = ( ( (a) *
(b) ) - (c) )

However, compiler just cannot recognise the pattern (: reg:
SUBI4(MULTI4(reg,reg), reg ) or reg: SUBU4(MULTU4(reg, reg ) )

Is there another way that customised op usingmultiply instruction
should be  made ? The following works fine, where the MULT uses the
result of SUB : ( ( (a) * (( b ) - (c ) )

Please suggest ! Particularly, I am interested in identifying the
pattern : result = (( ( (a) * (b) ) - ( (c) * (d) ) )

Thanks,
Alok Sharma
 




 1 Posts in Topic:
customised op using MULT instruction
alok76in@[EMAIL PROTECTED  2007-08-10 13:50:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:48:58 CDT 2008.