login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
14
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
H. Peter Anvin <hpa@...>
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: <akpm@...>, <linux-kernel@...>, Andi Kleen <ak@...>, Chuck Ebbert <cebbert@...>, Christoph Hellwig <hch@...>, Jeremy Fitzhardinge <jeremy@...>
Subject:
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
Date: Tuesday, November 13, 2007 - 9:02 pm
Mathieu Desnoyers wrote:
quoted text
> > Ok, so the most flexible solution that I see, that should fit for both > i386 and x86_64 would be : > > > 1 byte : "=Q" : Any register accessible as rh: a, b, c, and d. > 2, 4 bytes : "=R" : Legacy register—the eight integer registers available > on all i386 processors (a, b, c, d, si, di, bp, sp). > 8 bytes : (only for x86_64) > "=r" : A register operand is allowed provided that it is in a > general register. > > That should make sure x86_64 won't try to use REX prefixed opcodes for > 1, 2 and 4 bytes values. > > Does it make sense ? >
That's probably the best bet. -hpa -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 5/8] Immediate Values - x86 Optimization
, Mathieu Desnoyers
, (Tue Nov 13, 2:58 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Rusty Russell
, (Wed Nov 14, 11:08 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Mathieu Desnoyers
, (Thu Nov 15, 12:06 am)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Rusty Russell
, (Thu Nov 15, 12:45 am)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Mathieu Desnoyers
, (Thu Nov 15, 1:37 am)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Rusty Russell
, (Thu Nov 15, 7:06 am)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Mathieu Desnoyers
, (Fri Nov 16, 10:03 am)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Rusty Russell
, (Sun Nov 18, 7:11 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Mathieu Desnoyers
, (Mon Nov 19, 3:15 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Mathieu Desnoyers
, (Mon Nov 19, 10:28 am)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Rusty Russell
, (Mon Nov 19, 7:06 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (simplif...
, Mathieu Desnoyers
, (Tue Nov 20, 1:02 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, H. Peter Anvin
, (Tue Nov 13, 3:07 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Mathieu Desnoyers
, (Tue Nov 13, 3:24 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, H. Peter Anvin
, (Tue Nov 13, 3:36 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, Mathieu Desnoyers
, (Tue Nov 13, 3:45 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization
, H. Peter Anvin
, (Tue Nov 13, 3:56 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, Mathieu Desnoyers
, (Tue Nov 13, 4:40 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, H. Peter Anvin
, (Tue Nov 13, 5:26 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, Mathieu Desnoyers
, (Tue Nov 13, 6:02 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, H. Peter Anvin
, (Tue Nov 13, 6:35 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, Mathieu Desnoyers
, (Tue Nov 13, 8:34 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update)
, H. Peter Anvin
, (Tue Nov 13, 9:02 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update 2)
, Mathieu Desnoyers
, (Tue Nov 13, 9:44 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update 2)
, H. Peter Anvin
, (Tue Nov 13, 10:58 pm)
[PATCH] Immediate Values x86 Optimization Declare Discarded ...
, Mathieu Desnoyers
, (Wed Nov 14, 2:52 pm)
Re: [PATCH] Immediate Values x86 Optimization Declare Discar...
, H. Peter Anvin
, (Wed Nov 14, 3:00 pm)
[PATCH] Add __discard section to x86
, Mathieu Desnoyers
, (Wed Nov 14, 3:16 pm)
Re: [PATCH] Add __discard section to x86
, H. Peter Anvin
, (Wed Nov 14, 3:33 pm)
Re: [patch 5/8] Immediate Values - x86 Optimization (update 2)
, Mathieu Desnoyers
, (Wed Nov 14, 10:16 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andi Kleen
[PATCH] [3/58] x86_64: asm/ptrace.h needs linux/compiler.h
Ingo Molnar
Re: containers (was Re: -mm merge plans for 2.6.23)
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
[GIT]: Networking
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
892 guests
online.
Online users
sreejithc
lea22
virtualtiendhd
bribeyers306
Syndicate