This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC: setting lenght-atrribute
- To: Mueller-Lehnitz at t-online dot de, gcc at gcc dot gnu dot org
- Subject: Re: Porting GCC: setting lenght-atrribute
- From: Mike Stump <mrs at windriver dot com>
- Date: Thu, 17 Feb 2000 16:57:41 -0800 (PST)
> Date: Sun, 13 Feb 2000 11:52:42 +0100
> From: Mueller-Lehnitz@t-online.de (Anja =?iso-8859-1?Q?M=FCller?=)
> Another Question: What is the difference between Arithmetical and
> Logical Shifting ? When shiften left the GCC does not distinguish
> between these two cases -> there is only a the Operation "ashl*3",
> but when shiften right there are the Operations "ashr*3" and
> "lshr*3". What is the difference between them ?
Logical means shifting in a zero bit. Arithmetic means shifting in a
copy of the high bit. Welcome to assembly language.