Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-09-09 Thread Aleksandar Markovic
wrote: > > ... > > tcg_gen_extend_s_i32_i64 > > tcg_gen_extend_0_i32_i64 > > These should not drift too far from the other extension names, > > tcg_gen_ext{8,16}{u,s}_i32 > tcg_gen_ext{8,16,32}{u,s}_i64 > > What if we use the AArch64 mnemonics: zxt (zero-extend) and sxt (sign-extend)? > T

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-21 Thread Philippe Mathieu-Daudé
On 8/20/19 6:21 PM, BALATON Zoltan wrote: >On 8/20/19 5:37 PM, Richard Henderson wrote: >> What if we use the AArch64 mnemonics: zxt (zero-extend) and sxt >> (sign-extend)? >> This would give us >> >>    tcg_gen_zxt8_i32 >>    tcg_gen_sxt8_i32 >>    (etc) >>    tcg_gen_zxt_i32_i64 >>    tcg_gen_sxt

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-21 Thread Philippe Mathieu-Daudé
On 8/20/19 6:46 PM, David Hildenbrand wrote: > On 20.08.19 17:37, Richard Henderson wrote: >> On 8/20/19 6:49 AM, Aleksandar Markovic wrote: From: Peter Maydell On Tue, 20 Aug 2019 at 13:50, Aleksandar Markovic wrote: > The idea is to provide significant "lexicographic" distanc

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread David Hildenbrand
On 20.08.19 19:02, Aleksandar Markovic wrote: >> From: David Hildenbrand >> >> I just got familiar with the terminology and everything I read so far >> confuses me even more (gather/pick/extend/extl/shrd). No, I don't like that. > > David, > > How often did you use the functions in question? Thi

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
20.08.2019. 18.49, "Peter Maydell" је написао/ла: > > On Tue, 20 Aug 2019 at 17:44, David Hildenbrand wrote: > > > > On 20.08.19 18:38, Aleksandar Markovic wrote: > > >> From: BALATON Zoltan > > >> > > >> Sorry to comment on this without really knowing what is it about but maybe > > >> my view i

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
> From: David Hildenbrand > > I just got familiar with the terminology and everything I read so far > confuses me even more (gather/pick/extend/extl/shrd). No, I don't like that. David, How often did you use the functions in question? Thinks about that, and about reasons for that. Yours, Aleks

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
> From: Laurent Vivier > > Personally I agree with David, proposed terminology is not more obvious > to me and changing things just for matter of taste is not a good idea. Thanks, Laurent for your input, but this in not a matter of taste, there are exact metrics here - different things should be

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Laurent Vivier
Le 20/08/2019 à 18:44, David Hildenbrand a écrit : > On 20.08.19 18:38, Aleksandar Markovic wrote: >>> From: BALATON Zoltan >>> >>> Sorry to comment on this without really knowing what is it about but maybe >>> my view is not completely useless if this is to be understood by people >>> who don't k

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Richard Henderson
On 8/20/19 9:15 AM, Aleksandar Markovic wrote: > > tcg_gen_gather_i32 > > tcg_gen_gather_i64 > > tcg_gen_gather_tl > > I'm not sure how "gather" applies. > > > gather = come together; assemble or accumulate Sure, but... > To me this sounds like a vector > scatter/gather

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Peter Maydell
On Tue, 20 Aug 2019 at 17:44, David Hildenbrand wrote: > > On 20.08.19 18:38, Aleksandar Markovic wrote: > >> From: BALATON Zoltan > >> > >> Sorry to comment on this without really knowing what is it about but maybe > >> my view is not completely useless if this is to be understood by people > >>

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread David Hildenbrand
On 20.08.19 17:37, Richard Henderson wrote: > On 8/20/19 6:49 AM, Aleksandar Markovic wrote: >>> From: Peter Maydell >>> On Tue, 20 Aug 2019 at 13:50, Aleksandar Markovic >>> wrote: The idea is to provide significant "lexicographic" distance between those > groups of functions, rather

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread David Hildenbrand
On 20.08.19 18:38, Aleksandar Markovic wrote: >> From: BALATON Zoltan >> >> Sorry to comment on this without really knowing what is it about but maybe >> my view is not completely useless if this is to be understood by people >> who don't know anything about it. If it is not useful just ignore. >

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
> From: BALATON Zoltan > > Sorry to comment on this without really knowing what is it about but maybe > my view is not completely useless if this is to be understood by people > who don't know anything about it. If it is not useful just ignore. No, Zoltan, to the contrary, you hit the nail - the

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread BALATON Zoltan
Hello, Sorry to comment on this without really knowing what is it about but maybe my view is not completely useless if this is to be understood by people who don't know anything about it. If it is not useful just ignore. On Tue, 20 Aug 2019, Richard Henderson wrote: Would it be clearer to us

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
On Tue, Aug 20, 2019 at 5:37 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 8/20/19 6:49 AM, Aleksandar Markovic wrote: > >> From: Peter Maydell > >> On Tue, 20 Aug 2019 at 13:50, Aleksandar Markovic > >> wrote: > >>> The idea is to provide significant "lexicographic" distance

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Richard Henderson
On 8/20/19 6:49 AM, Aleksandar Markovic wrote: >> From: Peter Maydell >> On Tue, 20 Aug 2019 at 13:50, Aleksandar Markovic >> wrote: >>> The idea is to provide significant "lexicographic" distance between those > >>> groups of functions, rather than having the similar name (wiht common root >>>

Re: [Qemu-devel] [EXTERNAL]Re: Proposal for amending TCG interface naming scheme

2019-08-20 Thread Aleksandar Markovic
> From: Peter Maydell > On Tue, 20 Aug 2019 at 13:50, Aleksandar Markovic > wrote: > > > > Hello, all. > > > > I noticed certain barrier and difficulties wrt learning TCG interface by > > newcomers and to some extent oldcomers too. At least some of them can be > > attributed to not best choice of