From: George Koehler Date: Fri, 9 Dec 2016 22:00:56 +0000 (-0500) Subject: Remove the bogus rules for 'lor 2' and 'str 2'. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5bd0ad42692cab2932e0496849a95bf080512651;p=ack.git Remove the bogus rules for 'lor 2' and 'str 2'. These instructions would load or store the EM heap pointer. They don't work. Programs must use brk() or sbrk() in libsys. The last file to use 'lor 2' and 'str 2' was lang/pc/libpc/sav.e in the Pascal library. Commit c084f9f deleted the file, so we no longer need rules 'lor 2' or 'str 2' to build the ACK. --- diff --git a/mach/powerpc/ncg/table b/mach/powerpc/ncg/table index 1f2232c3b..9d12698e5 100644 --- a/mach/powerpc/ncg/table +++ b/mach/powerpc/ncg/table @@ -1993,10 +1993,6 @@ PATTERNS move SP, %a yields %a - pat lor $1==2 /* Load HP */ - leaving - loe ".reghp" - pat str $1==0 /* Store FP */ with GPR gen @@ -2007,10 +2003,6 @@ PATTERNS gen move %1, SP - pat str $1==2 /* Store HP */ - leaving - ste ".reghp" - pat loc ass $1==4 /* Drop 4 bytes from stack */ with exact GPR /* nop */