From: doug@cs.dartmouth.edu (Doug McIlroy)
Subject: [TUHS] arithmetic IF (was origin of string.h and ctype.h)
Date: Thu, 17 Aug 2017 09:38:56 -0400 [thread overview]
Message-ID: <201708171338.v7HDcu2s006401@coolidge.cs.Dartmouth.EDU> (raw)
> According to the Wikipedia article on FORTRAN, CAS was usually not the
> most efficient way to implement arithmetic IF anyway. CAS takes up
> four words of memory and takes three cycles to execute, whereas you
> can do it in two words and two cycles with the transfer instructions.
Though the article's conclusion was right, its numbers were wrong.
As a correct discussion of possible implementations of arithmetic-IF
would be long and essentially off topic, I have chopped most of it
out of the article.
doug
next reply other threads:[~2017-08-17 13:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 13:38 Doug McIlroy [this message]
[not found] <mailman.921.1502995544.3779.tuhs@minnie.tuhs.org>
2017-08-17 22:19 ` Paul McJones
2017-08-18 10:49 ` arnold
-- strict thread matches above, loose matches on Subject: below --
2017-08-17 15:14 Doug McIlroy
2017-08-16 18:04 Paul Winalski
2017-08-16 23:54 ` Greg 'groggy' Lehey
2017-08-17 14:04 ` arnold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201708171338.v7HDcu2s006401@coolidge.cs.Dartmouth.EDU \
--to=doug@cs.dartmouth.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).