1*49430Sbostic /*- 2*49430Sbostic * Copyright (c) 1984 The Regents of the University of California. 3*49430Sbostic * All rights reserved. 4*49430Sbostic * 5*49430Sbostic * %sccs.include.redist.c% 624037Ssam */ 724037Ssam 824037Ssam #ifndef lint 9*49430Sbostic static char sccsid[] = "@(#)machpats.c 1.4 (Berkeley) 05/08/91"; 10*49430Sbostic #endif /* not lint */ 1124037Ssam 1224037Ssam #include "inline.h" 1324037Ssam 1424037Ssam /* 1525692Ssam * Pattern table for special instructions. 1624037Ssam */ 1724037Ssam struct pats machine_ptab[] = { 1824037Ssam 1926405Ssam { 3, "_blkcpy\n", 2025692Ssam " movl (sp)+,r0\n\ 2125692Ssam movl (sp)+,r1\n\ 2225692Ssam movl (sp)+,r2\n\ 2325692Ssam movblk\n" }, 2425692Ssam 2526405Ssam { 3, "_bcopy\n", 2625692Ssam " movl (sp)+,r0\n\ 2725692Ssam movl (sp)+,r1\n\ 2825692Ssam movl (sp)+,r2\n\ 2925692Ssam movblk\n" }, 3025692Ssam 3126405Ssam { 2, "_bzero\n", 3225692Ssam " movl (sp)+,r1\n\ 3325692Ssam movl (sp)+,r2\n\ 3425692Ssam movab 1f,r0\n\ 3525692Ssam movs3\n\ 3625692Ssam .data\n\ 3725692Ssam 1: .byte 0\n\ 3825692Ssam .text\n" }, 3925692Ssam 4026405Ssam { 2, "_blkclr\n", 4125692Ssam " movl (sp)+,r1\n\ 4225692Ssam movl (sp)+,r2\n\ 4325692Ssam movab 1f,r0\n\ 4425692Ssam movs3\n\ 4525692Ssam .data\n\ 4625692Ssam 1: .byte 0\n\ 4725692Ssam .text\n" }, 4825692Ssam 4926405Ssam { 0, "", "" } 5024037Ssam }; 51