This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: builtin_str{,n}cmp bug on s390{,x}


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]