public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: CH Gowri Kumar <gkumar@csa.iisc.ernet.in>
To: linux-ia64@vger.kernel.org
Subject: Conversion between different types on IA-64
Date: Tue, 29 Jul 2003 21:54:57 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105951522415896@msgid-missing> (raw)

Hi all,
Can anyone point me to a source of how to convert from a 
wider size to narrow size (long to int, int to char etc.) on IA-64?

For the other way round(narrow to wider), I could find SXT(sign extend) 
and ZXT(zero extend) instructions.

gcc seems(but not sure) to be storing the original value and loading it 
using the appropriate LD* instruction.

I am sorry if it's a too trivial question to be asked on this list.

Regards,
Gowri Kumar



             reply	other threads:[~2003-07-29 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 21:54 CH Gowri Kumar [this message]
2003-07-30  3:55 ` Conversion between different types on IA-64 Martin Pool
2003-07-30 10:20 ` CH Gowri Kumar

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=marc-linux-ia64-105951522415896@msgid-missing \
    --to=gkumar@csa.iisc.ernet.in \
    --cc=linux-ia64@vger.kernel.org \
    /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