Peter Wemm 795a3f5279 Microoptimization to allow the compiler to evaluate ntohl() etc on
known constants at compile time rather than at run time.  We have a number
of nasty hacks around the place to cache ntohl() of constants (eg: nfs).
This change allows the compiler to compile-time evaluate ntohl(1) as
0x01000000 rather than having to emit assembler code to do it.  This
has other smaller flow-on effects because the compiler can see that
ntohl(constant) itself has a constant value now and can propagate the
compile time evaluation.

Obtained from:  Ideas from NetBSD and Linux, and some code from NetBSD
2003-09-22 21:46:47 +00:00
..
2003-05-19 20:29:07 +00:00
2003-09-10 01:11:58 +00:00
2003-09-10 01:11:58 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2003-02-08 20:37:55 +00:00
2002-06-29 07:04:59 +00:00
2003-05-19 20:29:07 +00:00
2002-03-20 05:48:58 +00:00
2002-03-20 05:48:58 +00:00
2003-06-02 00:29:35 +00:00
2003-03-24 20:44:39 +00:00
2002-10-23 10:14:30 +00:00
2002-11-27 16:28:18 +00:00