https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503
--- Comment #9 from Uros Bizjak 2010-10-22 07:37:22
UTC ---
(In reply to comment #8)
> I built ffmpeg for x86-64 with --disable-asm with the attached patch and the
> regression tests failed. Reverting the patch fixes them. I saved the binaries
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503
--- Comment #8 from Alexander Strange 2010-10-21
04:39:36 UTC ---
I built ffmpeg for x86-64 with --disable-asm with the attached patch and the
regression tests failed. Reverting the patch fixes them. I saved the binaries
but haven't investigated
--- Comment #6 from ubizjak at gmail dot com 2009-11-09 07:38 ---
(In reply to comment #5)
> bt with a memory object and a register index will _not_ truncate the argument:
Actually, we avoid bt with memory objects just because of this (handling of
memory op is not consistent with regist
--- Comment #5 from bonzini at gnu dot org 2009-11-07 09:21 ---
bt with a memory object and a register index will _not_ truncate the argument:
static int btm(int *a, int b) {
asm ("btl %2, %1; movl $0, %0; setc %b0" : "=r" (b) : "m" (*a), "0" (b));
return b;
}
static int btr(int a,
--- Comment #4 from astrange at ithinksw dot com 2008-06-12 16:48 ---
Maybe it seemed likely to cause a warning - I haven't checked that yet, though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503
--- Comment #3 from ubizjak at gmail dot com 2008-06-12 10:43 ---
(In reply to comment #2)
> We have the SHIFT_COUNT_TRUNCATED macro for this (though I'm not sure if
> that says negative values are ok).
They are, but there is a comment in the documentation:
-- Macro: SHIFT_COUNT_TRUNCA
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-06-12 09:25 ---
We have the SHIFT_COUNT_TRUNCATED macro for this (though I'm not sure if
that says negative values are ok).
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-12 00:05 ---
>I'd guess this applies to some other architectures;
Not really. It depends on the definition of the shift. Most targets have
undefined values are produced from negative shifts values.
--
http://gcc.gnu.org/
--
astrange at ithinksw dot com changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503
10 matches
Mail list logo