Re: [PATCH 5/7] Shrink SCRATCH

2014-05-12 Thread Jeff Law
On 05/12/14 10:37, Richard Sandiford wrote: The rtl.def SCRATCH entry predates the repository (1991) and I couldn't see anything in the initial versions of reload.c or reload1.c that set the code to a REG. local-alloc.c had: if (qty_scratch_rtx[q]) { if (GET_CODE (qty_scratch_rtx

Re: [PATCH 5/7] Shrink SCRATCH

2014-05-12 Thread Richard Sandiford
Jeff Law writes: > On 05/10/14 14:16, Richard Sandiford wrote: >> SCRATCH has a single "0" field because reload used to turn it directly >> into a REG. It no longer does (or could do) that since REG has three >> fields rather than one. This patch therefore updates the comment and >> removes the

Re: [PATCH 5/7] Shrink SCRATCH

2014-05-12 Thread Jeff Law
On 05/10/14 14:16, Richard Sandiford wrote: SCRATCH has a single "0" field because reload used to turn it directly into a REG. It no longer does (or could do) that since REG has three fields rather than one. This patch therefore updates the comment and removes the field. Tested on x86_64-linux