Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ADDL/V instruction and friends
@ 1996-10-15  4:00 Craig Partridge
  1996-10-16  4:00 ` Peter Montgomery
  0 siblings, 1 reply; 2+ messages in thread
From: Craig Partridge @ 1996-10-15  4:00 UTC (permalink / raw)



Hi:

    I was reading through the 21164 hardware and discovered a set of
instructions with a /V in the name (ADDL/V, ADDQ/V, MULQ/V, etc).

What does the /V stand for (it isn't anywhere in my Alpha Architecture
Reference Manual) and what does it cause the instructions to do differently
(other than load a different op code :-)).

Thanks!

Craig



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ADDL/V instruction and friends
  1996-10-15  4:00 ADDL/V instruction and friends Craig Partridge
@ 1996-10-16  4:00 ` Peter Montgomery
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Montgomery @ 1996-10-16  4:00 UTC (permalink / raw)



In article <DzCC4z.AFF@world.std.com> craigp@world.std.com 
(Craig Partridge) writes:
>    I was reading through the 21164 hardware and discovered a set of
>instructions with a /V in the name (ADDL/V, ADDQ/V, MULQ/V, etc).

>What does the /V stand for (it isn't anywhere in my Alpha Architecture
>Reference Manual) and what does it cause the instructions to do differently
>(other than load a different op code :-)).

	My Alpha Architecture Reference Manual (paperback, 1992)
lists ADDL on p. 4-23, section 4.4.1.  Under Qualifiers, it lists

               Integer Overflow Enable (/V)

I haven't tried ADDL/V, but I suspect it causes an integer overflow
exception if the sum of two positive values exceeds 2^31-1,
or the sum of two negative values is less than -2^31.
Some languages, such as Ada and LISP, require overflow detection.
I like unsigned arithmetic (modulo 2^32) and don't want an add to abort.
-- 
        Peter L. Montgomery              Internet: pmontgom@math.orst.edu

One party's equation:
        PRESIDENTIAL PEOPLE   =   DIET PINEAPPLE ROLES



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-16  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-15  4:00 ADDL/V instruction and friends Craig Partridge
1996-10-16  4:00 ` Peter Montgomery

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