Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-28 Thread Jeff Law
On 10/28/13 09:12, Ilya Enkovich wrote: I fixed documentation for bounds load/store hooks. Also added documentation for list of builtins returned by builtin_chkp_function. Thanks, Ilya -- gcc/ 2013-10-28 Ilya Enkovich * target.def (builtin_chkp_function): New. (chkp_bound

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-28 Thread Ilya Enkovich
On 24 Oct 23:21, Jeff Law wrote: > On 10/24/13 02:24, Ilya Enkovich wrote: > >These two hooks are used by expand pass to pass/receive bounds for > >args. When bounds are passed in a register, expand does not need this > >hook and uses regular move insn. If we are out of bound register or > >platfor

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-24 Thread Jeff Law
On 10/24/13 02:24, Ilya Enkovich wrote: 2013/10/24 Jeff Law : On 10/21/13 08:20, Ilya Enkovich wrote: diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 8d220f3..79bd0f9 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi +@deftypefn {Target Hook} rtx TARGET_LOAD_BOUNDS_FOR_ARG (rtx @var{slot

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-24 Thread Ilya Enkovich
2013/10/24 Jeff Law : > On 10/21/13 08:20, Ilya Enkovich wrote: > >> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi >> index 8d220f3..79bd0f9 100644 >> --- a/gcc/doc/tm.texi >> +++ b/gcc/doc/tm.texi >> +@deftypefn {Target Hook} rtx TARGET_LOAD_BOUNDS_FOR_ARG (rtx @var{slot}, >> rtx @var{arg}, rtx @

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-23 Thread Jeff Law
On 10/21/13 08:20, Ilya Enkovich wrote: diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 8d220f3..79bd0f9 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi +@deftypefn {Target Hook} rtx TARGET_LOAD_BOUNDS_FOR_ARG (rtx @var{slot}, rtx @var{arg}, rtx @var{slot_no}) +This hook is used to emit

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-21 Thread Ilya Enkovich
esOn 21 Oct 11:44, Joseph S. Myers wrote: > On Mon, 21 Oct 2013, Ilya Enkovich wrote: > > > +DEFHOOK > > +(builtin_chkp_function, > > + "Pointers checker instrumentation pass uses this hook to obtain\n\ > > +target-specific functions which implement specified generic checker\n\ > > +builtins.", >

Re: [PATCH, MPX, 2/X] Pointers Checker [1/25] Hooks

2013-10-21 Thread Joseph S. Myers
On Mon, 21 Oct 2013, Ilya Enkovich wrote: > +DEFHOOK > +(builtin_chkp_function, > + "Pointers checker instrumentation pass uses this hook to obtain\n\ > +target-specific functions which implement specified generic checker\n\ > +builtins.", > + tree, (unsigned fcode), > + default_builtin_chkp_funct