1 /*- 2 * Copyright (c) 1984 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)machpats.c 1.4 (Berkeley) 05/08/91"; 10 #endif /* not lint */ 11 12 #include "inline.h" 13 14 /* 15 * Pattern table for special instructions. 16 */ 17 struct pats machine_ptab[] = { 18 19 { 3, "_blkcpy\n", 20 " movl (sp)+,r0\n\ 21 movl (sp)+,r1\n\ 22 movl (sp)+,r2\n\ 23 movblk\n" }, 24 25 { 3, "_bcopy\n", 26 " movl (sp)+,r0\n\ 27 movl (sp)+,r1\n\ 28 movl (sp)+,r2\n\ 29 movblk\n" }, 30 31 { 2, "_bzero\n", 32 " movl (sp)+,r1\n\ 33 movl (sp)+,r2\n\ 34 movab 1f,r0\n\ 35 movs3\n\ 36 .data\n\ 37 1: .byte 0\n\ 38 .text\n" }, 39 40 { 2, "_blkclr\n", 41 " movl (sp)+,r1\n\ 42 movl (sp)+,r2\n\ 43 movab 1f,r0\n\ 44 movs3\n\ 45 .data\n\ 46 1: .byte 0\n\ 47 .text\n" }, 48 49 { 0, "", "" } 50 }; 51