* [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops
@ 2015-01-10 16:51 Bastian Koppelmann
2015-01-10 19:37 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Bastian Koppelmann @ 2015-01-10 16:51 UTC (permalink / raw)
To: qemu-devel; +Cc: rth
The documentation for the tcg-ops subfi, extr_i64_i32 and extr32_i64 was still
missing.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
---
tcg/README | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tcg/README b/tcg/README
index a550ff1..ba40023 100644
--- a/tcg/README
+++ b/tcg/README
@@ -179,6 +179,10 @@ t0=t1+t2
t0=t1-t2
+* subfi_i32/i64 t0, const, t1
+
+t0 = const-t1
+
* neg_i32/i64 t0, t1
t0=-t1 (two's complement)
@@ -353,6 +357,14 @@ from t2 (32 bit).
Construct t0 (64-bit) taking the low half from t1 (64 bit) and the high half
from t2 (64 bit).
+* extr_i64_i32 t0, t1, t2
+extracts the low half of t2 (64 bit) into t0 (32 bit) and the high half into
+t1 (32 bit).
+
+* extr32_i64 t0, t1, t2
+extracts the low half of t2 (64 bit) into t0 (64 bit) and the high half into
+t1 (64 bit). Both values are not sign extended.
+
********* Load/Store
* ld_i32/i64 t0, t1, offset
--
2.2.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops
2015-01-10 16:51 [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops Bastian Koppelmann
@ 2015-01-10 19:37 ` Richard Henderson
2015-01-10 21:15 ` Bastian Koppelmann
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 2015-01-10 19:37 UTC (permalink / raw)
To: Bastian Koppelmann, qemu-devel
On 01/10/2015 08:51 AM, Bastian Koppelmann wrote:
> The documentation for the tcg-ops subfi, extr_i64_i32 and extr32_i64 was still
> missing.
No, there are no such tcg ops.
There are *functions* by these names in tcg-op.h, but no opcodes.
If you want to document this sort of thing, it should go elsewhere.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops
2015-01-10 21:15 ` Bastian Koppelmann
@ 2015-01-10 20:50 ` Richard Henderson
0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2015-01-10 20:50 UTC (permalink / raw)
To: Bastian Koppelmann, qemu-devel
On 01/10/2015 01:15 PM, Bastian Koppelmann wrote:
> Fair enough. Where would you recommend to put the documentation?
I don't know. I don't know where would be most useful.
Perhaps just expanded comments in the header?
Comments might be best, as it'll be easiest to keep up
to date as the code evolves...
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops
2015-01-10 19:37 ` Richard Henderson
@ 2015-01-10 21:15 ` Bastian Koppelmann
2015-01-10 20:50 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Bastian Koppelmann @ 2015-01-10 21:15 UTC (permalink / raw)
To: Richard Henderson, qemu-devel
Sorry ..., I did not use reply all ...
On 01/10/2015 07:37 PM, Richard Henderson wrote:
> On 01/10/2015 08:51 AM, Bastian Koppelmann wrote:
>> The documentation for the tcg-ops subfi, extr_i64_i32 and extr32_i64 was still
>> missing.
>
> No, there are no such tcg ops.
>
> There are *functions* by these names in tcg-op.h, but no opcodes.
> If you want to document this sort of thing, it should go elsewhere.
>
>
> r~
Fair enough. Where would you recommend to put the documentation?
Cheers,
Bastian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-10 20:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-10 16:51 [Qemu-devel] [PATCH] tcg: Add documentation for missing tcg-ops Bastian Koppelmann
2015-01-10 19:37 ` Richard Henderson
2015-01-10 21:15 ` Bastian Koppelmann
2015-01-10 20:50 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).