summaryrefslogtreecommitdiff
path: root/ext/systemc/src/sysc/qt/md/ksr1_b.s
blob: 80b0c59eb8897a5daf05825392fe298bb1c8a6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * QuickThreads -- Threads-building toolkit.
 * Copyright (c) 1993 by David Keppel
 *
 * Permission to use, copy, modify and distribute this software and
 * its documentation for any purpose and without fee is hereby
 * granted, provided that the above copyright notice and this notice
 * appear in all copies.  This software is provided as a
 * proof-of-concept and for demonstration purposes; there is no
 * representation about the suitability of this software for any
 * purpose.
 */

	.file   "ksr1_b.s"
	.def	.debug;	.endef

        .globl b_call_reg$TXT
	.globl b_call_reg
	.globl b_call_imm$TXT
	.globl b_call_imm
	.globl b_add$TXT
	.globl b_add
	.globl b_load$TXT
	.globl b_load


b_call_reg:
b_call_imm:
b_add:
b_load:
	.word	b_call_reg$TXT
	.word	qt_error
	.word	qt_error$TXT


b_call_reg$TXT:
b_call_imm$TXT:
b_add$TXT:
b_load$TXT:
	finop			; cxnop
	finop			; cxnop
	finop			; ld8 16(%cp),%c4
        finop			; ld8 8(%cp),%cp
	finop			; cxnop
	finop			; cxnop
        finop			; jsr %c4,0(%c4)
	finop			; cxnop
	finop			; cxnop