[Top] [All Lists]

Re: [PATCH] MIPS: Add current_cpu_prid() to optimize the code generation

To: Ralf Baechle <>
Subject: Re: [PATCH] MIPS: Add current_cpu_prid() to optimize the code generation
From: wu zhangjin <>
Date: Sun, 26 Dec 2010 01:18:38 +0800
Cc:, Wu Zhangjin <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=gvFWB3qtNkfbl4ok3C1oNvCAiIlcDRf+WZ627HIo494=; b=vCQEyQRqZUyw7mfP/0KJPJQsFq8BMVsqVEg1I14YuLXIfPqlZbv4IgdJHS4lFunN2Y NkXxZxgSdxngzJ4pA/oBj8VY9MqpbbT8AVUQo17oNWFh9Eqku3fiKdz0JotKLekUG0tV 4vvnadCCRkpCZcXXJAA0WzdBxDlVT/qJ+FOpo=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KImrnIDfbybhOrwkaOtegknub48jvlpZUeszDvVaQeIwDOYqVP0gZ+ahRn5mIGfcBk 8p1L25Rsyew3f5OxLRW8LNNeT0EkwhFd3I3Js0M/C3PGbBgw7h2GzyAz6pv7w4+0Aja9 AuL+7lXD03y2N87maG6ak12ZRn7tY2a8ev/9A=
In-reply-to: <>
Original-recipient: rfc822;
References: <>
Hi, Ralf

The 2nd revision will be sent out with some enhancement and more
comments, so, please ignore this one.

Wu Zhangjin

On Sat, Dec 25, 2010 at 11:27 PM, Wu Zhangjin <> wrote:
> current_cpu_prid(), cpu_prid_comp(), cpu_prid_imp() and cpu_prid_rev()
> are added to simplify/beautify the c->processord_id related code, as a
> result, the code generation will be optimized.

<Prev in Thread] Current Thread [Next in Thread>