public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bernds@codesourcery.com>
To: Mohamed Shafi <shafitvm@gmail.com>
Cc: GCC <gcc@gcc.gnu.org>
Subject: Re: Need help in deciding the instruction set for a new target.
Date: Mon, 23 Aug 2010 20:24:00 -0000	[thread overview]
Message-ID: <4C72C30F.4010003@codesourcery.com> (raw)
In-Reply-To: <AANLkTimKoa7xNV4dgqQdysJGB6bc2_O7bQrKruiMXhEL@mail.gmail.com>

On 08/23/2010 08:05 PM, Mohamed Shafi wrote:

> sub.s32 srcdstGP, #imm16 // signed 16-bit register to immediate subtract
> sub.u32 srcdstGP, #imm16 // unsigned 16-bit register to immediate subtract

If you're using a bit to decide between these two, a better encoding
would be to just support a single instruction with a signed 17bit immediate.


Bernd

  parent reply	other threads:[~2010-08-23 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23 18:25 Mohamed Shafi
2010-08-23 19:00 ` Ian Lance Taylor
2010-08-23 20:24 ` Bernd Schmidt [this message]
2010-08-23 22:20 ` Richard Henderson

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=4C72C30F.4010003@codesourcery.com \
    --to=bernds@codesourcery.com \
    --cc=gcc@gcc.gnu.org \
    --cc=shafitvm@gmail.com \
    /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).