|
|
1.1 root 1: /*
2: * Copyright (c) 1984 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifndef lint
8: static char sccsid[] = "@(#)machpats.c 1.3 (Berkeley) 2/24/86";
9: #endif
10:
11: #include "inline.h"
12:
13: /*
14: * Pattern table for special instructions.
15: */
16: struct pats machine_ptab[] = {
17:
18: { 3, "_blkcpy\n",
19: " movl (sp)+,r0\n\
20: movl (sp)+,r1\n\
21: movl (sp)+,r2\n\
22: movblk\n" },
23:
24: { 3, "_bcopy\n",
25: " movl (sp)+,r0\n\
26: movl (sp)+,r1\n\
27: movl (sp)+,r2\n\
28: movblk\n" },
29:
30: { 2, "_bzero\n",
31: " movl (sp)+,r1\n\
32: movl (sp)+,r2\n\
33: movab 1f,r0\n\
34: movs3\n\
35: .data\n\
36: 1: .byte 0\n\
37: .text\n" },
38:
39: { 2, "_blkclr\n",
40: " movl (sp)+,r1\n\
41: movl (sp)+,r2\n\
42: movab 1f,r0\n\
43: movs3\n\
44: .data\n\
45: 1: .byte 0\n\
46: .text\n" },
47:
48: { 0, "", "" }
49: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.