Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: gah@u.washington.edu (G. Herrmannsfeldt)
Subject: CMPBGE in cc?
Date: 1995/12/21	[thread overview]
Message-ID: <4bcmf8$drn@nntp5.u.washington.edu> (raw)

I need to compile programs that do mostly 8 and 16 bit integer
arithmetic, and I need them to run fast.  

It seems that the CMPBGE instruction is the fastest way to do
8 bit comparisons, as it does them 8 at a time.  For 16bit it is
a little less convenient.

But anyway, I would like to see the cc compiler generate this instruction.

Does anyone have a C program that would show me that this can be done?

Thanks,

-- glen



                 reply	other threads:[~1995-12-21  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox