sim's -DPROFILE=1 conflicts with CGEN's PROFILE attribute
Frank Ch. Eigler
fche@redhat.com
Wed Nov 15 12:06:00 GMT 2000
Hi -
On Wed, Nov 15, 2000 at 12:56:30PM -0700, Greg McGary wrote:
: [...]
: There is a third solution solution:
: 3) Define A like so (e.g., for _HW_):
:
: #if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
: #define A(a) (1 << CGEN_HW_##a)
: #else
: #define A(a) (1 << CGEN_HW_/**/a)
: #endif
Thanks, that's a neat way to solve the problem. (There is some precedent
elsewhere in the toolchain for assuming ANSI compliance in compilers,
so the non-## case may not even be needed any more.)
If you send a patch (see cgen/desc-cpu.scm and opc-itab.scm), you can get
your name into the ChangeLog.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6EuyYVZbdDOm/ZT0RAmj0AJ93J23eqmdhooS7mfVAl7aQD7cbjgCfW9Xc
5QSY3pr1188n8AeDfkFLYgc=
=KmIK
-----END PGP SIGNATURE-----
More information about the Cgen
mailing list