Re: How to generate jump_table_data in rtl optimizers

2015-11-08 Thread Bin.Cheng
On Mon, Nov 9, 2015 at 2: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 = g

How to generate jump_table_data in rtl optimizers

2015-11-08 Thread Bin.Cheng
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 (); split_edge_and_insert (edge, insns); But

basic asm and memory clobbers

2015-11-08 Thread David Wohlferd
It seems like a doc update is what is needed to close PR24414 (Old-style asms don't clobber memory). I'm working on this now (phase 1) in the unlikely event that someone is inspired to make a code change here instead. Like Richard Henderson, I rather expected basic (or "old-style") asm to pe

gcc-6-20151108 is now available

2015-11-08 Thread gccadmin
Snapshot gcc-6-20151108 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20151108/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision