From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,60acd230b837c4ef,start X-Google-Attributes: gid1164f8,public From: gah@u.washington.edu (G. Herrmannsfeldt) Subject: CMPBGE in cc? Date: 1995/12/21 Message-ID: <4bcmf8$drn@nntp5.u.washington.edu>#1/1 X-Deja-AN: 122480977 organization: University of Washington keywords: cmpbge nntp-posting-user: gah newsgroups: comp.sys.dec summary: how to get cc to generate CMPBGE? 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