svn commit: r237748 - in head/sys/cddl/dev/dtrace: amd64 i386

Andriy Gapon avg at FreeBSD.org
Fri Jun 29 07:42:13 UTC 2012


on 29/06/2012 10:35 Andriy Gapon said the following:
> Author: avg
> Date: Fri Jun 29 07:35:37 2012
> New Revision: 237748
> URL: http://svn.freebsd.org/changeset/base/237748
> 
> Log:
>   dtrace instruction decoder: add 0x0f 0x1f NOP opcode support
>   
>   According to the AMD manual the whole range from 0x09 to 0x1f are NOPs.
>   Intel manual mentions only 0x1f.  Use only Intel one for now, it seems
>   to be the one actually generated by compilers.
>   Use gdb mnemonic for the operation: "nopw".

BTW, here I have a patch that brings our copy of dtrace dis_tables.c to the
latest version available in OpenSolaris code:
http://people.freebsd.org/~avg/dtrace-disassm-osol.diff

I haven't studied at all what the newer code brings in, but it must be some
fixes and improvements, I guess :-)
The change is mostly a mechanical merge, plus some changes on top to get the
code to compile.
I've been using the code for a few weeks and haven't run into any problems.

Should I put this change into the tree?

-- 
Andriy Gapon




More information about the svn-src-head mailing list