summaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-29 18:06:41 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-29 18:06:41 -0700
commite83b5dbc94116983df1ec99d4f02cc8640f63da5 (patch)
treeded816253288526577640cf23faa5ccaa2ed2d0d /NOTES
downloadbyacc-e83b5dbc94116983df1ec99d4f02cc8640f63da5.tar.gz
byacc-e83b5dbc94116983df1ec99d4f02cc8640f63da5.tar.bz2
byacc-e83b5dbc94116983df1ec99d4f02cc8640f63da5.zip
Imported Upstream version 20100216upstream/20100216
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES9
1 files changed, 9 insertions, 0 deletions
diff --git a/NOTES b/NOTES
new file mode 100644
index 0000000..9db3c96
--- /dev/null
+++ b/NOTES
@@ -0,0 +1,9 @@
+Berkeley Yacc reflects its origins. The reason so many routines
+use exactly six register variables is that Berkeley Yacc was
+developed on a VAX using PCC. PCC placed at most six variables
+in registers. I went to considerable effort to find which six
+variables most belonged in registers. Changes in machines and
+compilers make that effort worthless, perhaps even harmful.
+
+The code contains many instances where address calculations are
+performed in particular ways to optimize the code for the VAX.