This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: builtin_str{,n}cmp bug on s390{,x}
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 10 Jul 2003 10:06:53 -0700
- Subject: Re: builtin_str{,n}cmp bug on s390{,x}
- References: <20030710155316.GG20507@sunsite.ms.mff.cuni.cz>
On Thu, Jul 10, 2003 at 05:53:16PM +0200, Jakub Jelinek wrote:
> a) introduce cmpmemsi etc. insns which builtin memcmp would use
> if they were not defined, it would fall back to cmpstrsi
> (cmpstrM would have strncmp semantics while cmpmemM would
> have memcmp semantics)
> b) add some target macro which would tell what semantics cmpstrM
> has
(a) is better than (b).
> c) kill cmpstrM on s390*
(c) is probably better for release branches.
r~