lkml.org 
[lkml]   [2020]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 04/17] x86/acrn: Introduce hypercall interfaces
On Mon, Nov 02, 2020 at 10:09:01AM -0600, Segher Boessenkool wrote:
> I think that will work for x86_64. But it won't matter much, most of
> the time you give an immediate number.

Yeah, my question is more along the lines of "is this constraint somehow
special, i.e., 'ir' (and not 'm') or can it be whatever, i.e., 'g'"?

> It is a tiny bit neater of course (if anyone still remembers what "g"
> is, you cannot use it much these days).

Oh I always remember what it is because it is right there in the docs:

"6.47.3.1 Simple Constraints

...

‘g’ Any register, memory or immediate integer operand is allowed,
except for registers that are not general registers."

;-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2020-11-02 18:20    [W:0.088 / U:3.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site