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


Computer Aided Design - CAD > Logic synthesis > Re: SPAM for va...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 13 Topic 394 of 429
Post > Topic >>

Re: SPAM for va****ware (was: YARDstick - custom processor development toolset)

by Uncle Noah <nkavv@[EMAIL PROTECTED] > Sep 17, 2007 at 05:22 PM

Sorry, forgot the ANSI C simulation code for the custom instruction.

Here it is:

void ci_9(
  int	*d0
  ,int	*d1
  ,int	s0
  ,int	s1
  ,int	s2
  ,int	s3
)
{
  int	vr228_s32;
  int	vr229_s32;
  int	vr230_s32;
  int	vr231_s32;
  int	vr232_s32;
  int	vr233_s32;
  *d1 = 1;
  vr231_s32 = s1-s3;
  vr232_s32 = ((vr231_s32 < 0) ? -vr231_s32 : vr231_s32);
  vr233_s32 = s0<vr232_s32;
  vr228_s32 = s1-s2;
  vr229_s32 = ((vr228_s32 < 0) ? -vr228_s32 : vr228_s32);
  vr230_s32 = s0<vr229_s32;
  *d0 = vr230_s32|vr233_s32;
#pragma cycles_est_total = 2
}

Now, can you see the power of YARDstick?

My backend generating fully ANSI C simulation code for any custom
instruction (of any complexity within basic block limits -- for now)
is a mere 1000 lines in C.

Again: what is that you find inconceivable (or impossible). I have
been using YARDstick for 6 months now, and continue to maintain and
add useful stuff to it.

By the time of the DATE'07 conference, the source code base was around
16Klines.

Hope you can see that is doable by a very good programmer with a good
deal of architecture depth (this is me ^_^)

Nikolaos Kavvadias
Computer Architecture Specialist and Compiler Developer
Ph.D. candidate
 




 13 Posts in Topic:
[ANNOUNCE] YARDstick - custom processor development toolset
Uncle Noah <nkavv@[EMA  2007-09-17 05:35:51 
SPAM for vaporware (was: YARDstick - custom processor developmen
JeffM <jeffm_@[EMAIL P  2007-09-17 09:41:41 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-17 16:51:20 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-17 16:55:07 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-17 17:22:51 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Evan Lavelle <nospam@[  2007-09-18 13:22:47 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-18 15:05:46 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-20 11:53:30 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
"FreeRTOS.org"   2007-09-20 19:13:43 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Shannon <sgomes@[EMAIL  2007-09-20 19:48:13 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-20 18:02:11 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-20 18:06:56 
Re: SPAM for vaporware (was: YARDstick - custom processor develo
Uncle Noah <nkavv@[EMA  2007-09-20 18:26:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Sep 5 22:45:58 CDT 2008.