Re: [Xen-devel] [PATCH] x86/string: Use compiler builtins whenever possible

2016-08-10 Thread Andrew Cooper
On 09/08/16 15:39, Jan Beulich wrote: On 09.08.16 at 16:27, wrote: >> On 09/08/16 15:01, Jan Beulich wrote: >> On 09.08.16 at 14:41, wrote: The use of -fno-builtin inhibits this automatic transformation. Manually tranform

Re: [Xen-devel] [PATCH] x86/string: Use compiler builtins whenever possible

2016-08-09 Thread Jan Beulich
>>> On 09.08.16 at 16:27, wrote: > On 09/08/16 15:01, Jan Beulich wrote: > On 09.08.16 at 14:41, wrote: >>> The use of -fno-builtin inhibits this automatic transformation. Manually >>> tranform the callsites. This causes constructs such

Re: [Xen-devel] [PATCH] x86/string: Use compiler builtins whenever possible

2016-08-09 Thread Andrew Cooper
On 09/08/16 15:01, Jan Beulich wrote: On 09.08.16 at 14:41, wrote: >> The use of -fno-builtin inhibits this automatic transformation. Manually >> tranform the callsites. This causes constructs such as strlen("literal") to >> be evaluated at compile time, and

Re: [Xen-devel] [PATCH] x86/string: Use compiler builtins whenever possible

2016-08-09 Thread Jan Beulich
>>> On 09.08.16 at 14:41, wrote: > The use of -fno-builtin inhibits this automatic transformation. Manually > tranform the callsites. This causes constructs such as strlen("literal") to > be evaluated at compile time, and certain simple operations to be replaced >

[Xen-devel] [PATCH] x86/string: Use compiler builtins whenever possible

2016-08-09 Thread Andrew Cooper
The use of -fno-builtin inhibits this automatic transformation. Manually tranform the callsites. This causes constructs such as strlen("literal") to be evaluated at compile time, and certain simple operations to be replaced with repeated string operations. Signed-off-by: Andrew Cooper