64-bit port using CGEN

Frank Ch. Eigler fche@redhat.com
Wed May 16 08:09:00 GMT 2001


Hi -

On Wed, May 16, 2001 at 05:05:57PM +0200, Johan Rydberg wrote:
: [..]
: > Yup, known problem.  I suspect a good solution is to define
: > CGEN_INSN_INT to be "long long" for such extra-wide targets.  [...]
: 
: Yes. This is what I have done.  I also had to change some of the
: mask generation statements so that it generates a correct mask.

Yes; I would expect collateral changes in other places too.


: > : [...]
: > Our very own Stan Cox has submitted a patch that aims to work around
: > this problem using a different approach than the "long long" idea above:
: > 
: >         http://sources.redhat.com/ml/cgen/2001-q2/msg00003.html
: 
: Ok.  I will try this patch and see if to works for my port.

If you go the "long long"=CGEN_INSN_INT route, you may not need this
patch.  (It emulates longer words as an array of plain 32-bit ones.)


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7ApgkVZbdDOm/ZT0RAlVMAJ41JDV5clkt+0MmlL+JsemCcof9LgCdGwB2
+uKt28taNmjFCwTUizBTI54=
=Md86
-----END PGP SIGNATURE-----


More information about the Cgen mailing list