Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1211834

Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns
Date 2015-08-24 09:00 +0200
Message-ID <q0TTA-5t-1@gated-at.bofh.it> (permalink)
References (1 earlier) <q0cOC-5DI-9@gated-at.bofh.it> <q0mbg-29x-7@gated-at.bofh.it> <q0wNj-V9-1@gated-at.bofh.it> <q0FGV-54n-7@gated-at.bofh.it> <q0TJU-8m0-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Ingo Molnar <mingo@kernel.org> wrote:

> 
> * Denys Vlasenko <dvlasenk@redhat.com> wrote:
> 
> > I propose the table to be commented like shown below:
> > 
> > /*Opcode: d8      d9        da      db       dc      dd      de      df */
> > /*c0..f*/ fadd__, fld_i_,   fcmovb, fcmovnb, fadd_i, ffree_, faddp_, _df_c0_,
> > /*c8..f*/ fmul__, fxch_i,   fcmove, fcmovne, fmul_i, _dd_c8_,fmulp_, _df_c8_,
> > /*d0..7*/ fcom_st,fp_nop,   fcmovbe,fcmovnbe,_dc_d0_,fst_i_, _de_d0_,_df_d0_,
> > /*d8..f*/ fcompst,_d9_d8_,  fcmovu, fcmovnu, _dc_d8_,fstp_i, fcompp, _df_d8_,
> > /*e0..7*/ fsub__, FPU_etc,  __BAD__,finit_,  fsubri, fucom_, fsubrp, fstsw_,
> > /*e8..f*/ fsubr_, fconst,   fucompp,fucomi_, fsub_i, fucomp, fsubp_, fucomip,
> > /*f0..7*/ fdiv__, FPU_triga,__BAD__,fcomi_,  fdivri, __BAD__,fdivrp, fcomip,
> > /*f8..f*/ fdivr_, FPU_trigb,__BAD__,__BAD__, fdiv_i, __BAD__,fdivp_, __BAD__,
> 
> I agree with that, but please fix the vertical alignment (like my patch did), as 
> the table is pretty hard to navigate in this form.

and by that I mean to split each line into two, to have groups of 4 instructions 
and enough tabs between them.

> Also, the first patch in the series should remove the 'undocumented' #ifdef. 
> That define was fully justified ~20 years ago but let's not complicate new code 
> with it.

The formerly undocumented opcodes could also grow real names.

All in nicely separate patches.

Thanks,

	Ingo
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns Denys Vlasenko <dvlasenk@redhat.com> - 2015-08-21 12:30 +0200
  Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-22 10:20 +0200
  Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-22 11:00 +0200
    Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Denys Vlasenko <dvlasenk@redhat.com> - 2015-08-22 21:00 +0200
      Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-23 08:20 +0200
        Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Denys Vlasenko <dvlasenk@redhat.com> - 2015-08-23 17:50 +0200
          Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-24 08:50 +0200
            Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-24 09:00 +0200
              Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Denys Vlasenko <dvlasenk@redhat.com> - 2015-08-24 16:20 +0200
                Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P]  insns Ingo Molnar <mingo@kernel.org> - 2015-08-25 10:40 +0200

csiph-web