Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!alberta!auvax!rwa From: rwa@auvax.UUCP (Ross Alexander) Newsgroups: comp.arch Subject: 32-bit CPUs ( NEC V70 ) and silly examples Message-ID: <162@auvax.UUCP> Date: Sat, 9-May-87 00:48:43 EDT Article-I.D.: auvax.162 Posted: Sat May 9 00:48:43 1987 Date-Received: Sun, 10-May-87 09:16:23 EDT References: <3810030@nucsrl.UUCP> <491@necis.UUCP> <3530@spool.WISC.EDU> <4016@necntc.NEC.COM> Organization: Athabasca U., Alberta, Canada Lines: 42 Keywords: V60, V70, silly examples Summary: oh, really? I suppose you do that all the time. In article <4016@necntc.NEC.COM>, pec@necntc.NEC.COM (Paul Cohen) writes: > _______________________________________________ > | struct sttyp { > | unsigned first, second, third; > | struct sttyp *fourth; > | double fifth, a,b,c,d,e;} *stru > C code: | > | > | stru->fourth->fourth->third = 2; > |============================================== > | mov.w _stru+0xc,r0 # &(stru->fourth) in R0 > Assembly Code: | > | mov.w #2,0x8[0xc[r0]] # stru->fourth-> > | # fourth->third = 2; > |______________________________________________ > No doubt about it, the V70 is a complex chip; it is also fast. It packs > a great deal of functionality to provide high performance at a reasonable > cost in a real system. I don't want to rain on anybody's parade, especially on such tenuous evidence as this... but how often do you, dear reader, write 'w->x->x->z = 2;' ? perhaps not very often ? Or another way of phrasing this might be: "your machine is a _h*ll_ of a lot smarter than I am !". Now quite honestly, I am no great screaming h*ll as far as brains go (you may quote me on that :-} ) but the example has a contrived feel to it; perhaps some statistical analysis of C frequencies (i.e., real usage) would be apropos in justifiying the significance of the above ? But I would love to believe that new horizons of speed and efficiency are just waiting for me! please don't take the above mild reproof as a wild flame. I just want to hear some real, informed, constructive information on the chip. And your information is very tantalizing. It's just not very significant, and that bothers me. ...!ihnp4!alberta!auvax!rwa Ross Alexander, Athabasca University snappy quote: (very roughly) "the set of all sets is disallowed" (Russel, Lord Whitehead); "oh, really ?!" (Kurt Goedel). [ I don't claim to understand the above, my cats did it... I wish I did ]