Re: inline asm and multi-alternative constraints

2015-11-09 Thread Jeff Law
On 11/07/2015 12:50 AM, David Wohlferd wrote: - Starting with 'modifiers', "=+&" and (reluctantly) "%" seem reasonable for inline asm. But both "#*" seem sketchy. Right. =+& are no-brainer yes, as are the constants 0-9. % is probably OK as well. #* are similar to !? in that they are inhere

Re: abi_tag questions

2015-11-09 Thread Stephan Bergmann
On 11/04/2015 12:48 PM, Jonathan Wakely wrote: On 4 November 2015 at 14:37, Stephan Bergmann wrote: I have two questions regarding the abi_tag attribute (as documented at ): [...] 2 "The argument can be a list of strings of arbi

GCC 6 Status Report (2015-11-09)

2015-11-09 Thread Richard Biener
Status == We've pushed back the switch to Stage 3 to the end of Saturday, Nov 14th. This is to allow smooth draining of review queues. Quality Data Priority # Change from last report --- --- P14+ 2 P2

Re: [RFC PR43721] Optimize a/b and a%b to single divmod call

2015-11-09 Thread Prathamesh Kulkarni
On 4 November 2015 at 20:35, Richard Biener wrote: > On Wed, 4 Nov 2015, Prathamesh Kulkarni wrote: > >> On 2 November 2015 at 18:31, Richard Biener wrote: >> > On Mon, 2 Nov 2015, Prathamesh Kulkarni wrote: >> > >> >> On 2 November 2015 at 13:20, Prathamesh Kulkarni >> >> wrote: >> >> > On 30 O

Re: inline asm and multi-alternative constraints

2015-11-09 Thread Richard Earnshaw
On 09/11/15 09:57, Richard Earnshaw wrote: > On 07/11/15 09:23, Segher Boessenkool wrote: >> On Fri, Nov 06, 2015 at 11:50:40PM -0800, David Wohlferd wrote: The same goes for some constraints and almost all output modifiers. >>> >>> Are you suggesting more doc changes? Looking thru the pages

Re: inline asm and multi-alternative constraints

2015-11-09 Thread Richard Earnshaw
On 07/11/15 09:23, Segher Boessenkool wrote: > On Fri, Nov 06, 2015 at 11:50:40PM -0800, David Wohlferd wrote: >>> The same goes for some constraints and almost all output modifiers. >> >> Are you suggesting more doc changes? Looking thru the pages you reference: >> >> - Starting with 'modifiers',

Re: basic asm and memory clobbers

2015-11-09 Thread Segher Boessenkool
On Sun, Nov 08, 2015 at 04:10:01PM -0800, David Wohlferd wrote: > It seems like a doc update is what is needed to close PR24414 (Old-style > asms don't clobber memory). What is needed to close the bug is to make the compiler work properly. Whether that means clobbering memory or not, I don't muc

Re: How to generate jump_table_data in rtl optimizers

2015-11-09 Thread Jeff Law
On 11/08/2015 11:20 PM, Bin.Cheng wrote: Hi, I used below code snippet to generate jump_table_data: //setup label refs start_sequence (); emit_jump_table_data(gen_rtx_ ADDR_DIFF_VEC (CASE_VECTOR_MODE, base_label_ref, label_refs...)) insns = get_insns (); end_sequence