asm.h (198338) | asm.h (209618) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/asm.h 198338 2009-10-21 18:09:48Z marcel $ */ | 1/* $FreeBSD: head/sys/ia64/include/asm.h 209618 2010-07-01 00:30:35Z marcel $ */ |
2/* From: NetBSD: asm.h,v 1.18 1997/11/03 04:22:06 ross Exp */ 3 4/*- 5 * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University 6 * All Rights Reserved. 7 * 8 * Permission to use, copy, modify and distribute this software and its 9 * documentation is hereby granted, provided that both the copyright --- 28 unchanged lines hidden (view full) --- 38/* 39 * Macro to make a local label name. 40 */ 41#define LLABEL(name,num) L ## name ## num 42 43/* 44 * MCOUNT 45 */ | 2/* From: NetBSD: asm.h,v 1.18 1997/11/03 04:22:06 ross Exp */ 3 4/*- 5 * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University 6 * All Rights Reserved. 7 * 8 * Permission to use, copy, modify and distribute this software and its 9 * documentation is hereby granted, provided that both the copyright --- 28 unchanged lines hidden (view full) --- 38/* 39 * Macro to make a local label name. 40 */ 41#define LLABEL(name,num) L ## name ## num 42 43/* 44 * MCOUNT 45 */ |
46#if defined(GPROF) | 46#if defined(PROF) || (defined(_KERNEL) && defined(GPROF)) |
47#define MCOUNT \ 48 alloc out0 = ar.pfs, 8, 0, 4, 0; \ 49 mov out1 = r1; \ 50 mov out2 = b0;; \ 51 mov out3 = r0; \ 52 br.call.sptk b0 = _mcount;; 53#else 54#define MCOUNT /* nothing */ --- 138 unchanged lines hidden --- | 47#define MCOUNT \ 48 alloc out0 = ar.pfs, 8, 0, 4, 0; \ 49 mov out1 = r1; \ 50 mov out2 = b0;; \ 51 mov out3 = r0; \ 52 br.call.sptk b0 = _mcount;; 53#else 54#define MCOUNT /* nothing */ --- 138 unchanged lines hidden --- |