From: fche@redhat.com (Frank Ch. Eigler)
To: johan.rydberg@netinsight.se (Johan Rydberg)
Cc: cgen@sources.redhat.com
Subject: Re: 64-bit port using CGEN
Date: Wed, 16 May 2001 07:50:00 -0000 [thread overview]
Message-ID: <o51yppe4at.fsf@toenail.toronto.redhat.com> (raw)
In-Reply-To: <3B01F306.4152A19C.cygnus.local.cgen@netinsight.se>
johan.rydberg wrote:
: [...]
: First of all, opcode values are truncated to zero:
:
: static const CGEN_IFMT ifmt_j = {
: 64, 64, 0xe000000000000000, { { F (F_OPC) }, { F (F_ABS61) }, { 0 } }
: };
: pxs-opc.c:55: warning: large integer implicitly truncated to unsigned type
Yup, known problem. I suspect a good solution is to define
CGEN_INSN_INT to be "long long" for such extra-wide targets. (That
will in turn require that pervasive assumptions that CGEN_INSN_INT is
32 bits wide be corrected.)
: [...]
: Second,
: The genereated insert and extract code aborts when word length is larger than
: 32 bit. From /opcodes/cgen-ibld.in: [...]
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
- FChE
next prev parent reply other threads:[~2001-05-16 7:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-15 17:10 Johan Rydberg
2001-05-15 19:36 ` Eric Christopher
2001-05-15 19:39 ` Johan Rydberg
2001-05-15 19:42 ` Eric Christopher
2001-05-15 19:46 ` Johan Rydberg
2001-05-15 20:15 ` matthew green
2001-05-15 20:24 ` Johan Rydberg
[not found] ` <3B01F306.4152A19C.cygnus.local.cgen@netinsight.se>
2001-05-16 7:50 ` Frank Ch. Eigler [this message]
2001-05-16 8:05 ` Johan Rydberg
2001-05-16 8:09 ` Frank Ch. Eigler
2001-05-16 8:17 ` Johan Rydberg
2001-05-15 20:15 ` matthew green
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=o51yppe4at.fsf@toenail.toronto.redhat.com \
--to=fche@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=johan.rydberg@netinsight.se \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).