Thread overview
[Issue 3179] New: [PATCH] Improvement of Inline Assembly D 2.0 specification
Jul 18, 2009
Walter Bright
Jul 18, 2009
Julian Salazar
Jul 18, 2009
Julian Salazar
Jul 18, 2009
Brad Roberts
Jul 18, 2009
Walter Bright
Jul 18, 2009
Walter Bright
Jul 18, 2009
Julian Salazar
Jan 23, 2012
Walter Bright
July 15, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179

           Summary: [PATCH] Improvement of Inline Assembly D 2.0
                    specification
           Product: D
           Version: 2.032
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch, spec
          Severity: enhancement
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: julian@ifeelrandom.com


Created an attachment (id=424)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=424)
Patch to iasm.dd

Here is a patch for the trunk/docsrc/iasm.dd file. The patch improves the specification by defining an x86-64 assembler syntax (registers, operands, etc), as well as clarifying certain keywords (like offsetof) and including opcodes for SSE4.1, SSE4.2, VMS and SMX in a table format.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com




--- Comment #1 from Walter Bright <bugzilla@digitalmars.com>  2009-07-18 12:08:47 PDT ---
The patch is formatted by bugzilla as garbage. Can you please resubmit as a diff with the existing iasm.dd?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179


Julian Salazar <julian@ifeelrandom.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #424|Patch to iasm.dd            |Diff to existing iasm.dd
        description|                            |
    Attachment #424|iasm.patch                  |iasm.diff
           filename|                            |




-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179





--- Comment #2 from Julian Salazar <julian@ifeelrandom.com>  2009-07-18 12:22:23 PDT ---
Created an attachment (id=425)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=425)
Complete upload of the edited iasm.dd file

It should work (works on my end); I really don't see an issue, it's uploaded with a text/plain mime-type with the patch option selected. The diff link provided beside the attachment even outputs what the diff would do to the file.

If it doesn't work on your end, I took the liberty of uploading the edited iasm.dd file itself to see if that works for you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |braddr@puremagic.com




--- Comment #3 from Brad Roberts <braddr@puremagic.com>  2009-07-18 12:29:43 PDT ---
Walter, could you define 'garbage'?  The patch looks fine to me, though I didn't attempt to apply it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179





--- Comment #4 from Walter Bright <bugzilla@digitalmars.com>  2009-07-18 12:48:47 PDT ---
It has lost all of its whitespace formatting, is showing garbage hyperlinks, and is trying to show jpg's. It should be just a text file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179





--- Comment #5 from Walter Bright <bugzilla@digitalmars.com>  2009-07-18 12:54:15 PDT ---
Created an attachment (id=426)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=426)
what I'm seeing for the patch.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 18, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179





--- Comment #6 from Julian Salazar <julian@ifeelrandom.com>  2009-07-18 13:10:57 PDT ---
Methinks someone's browser is screwing up the mime-types...

It looks to still be the same file but Walter's browser seems to be interpreting it as text/html? I think doing a save as to your computer as a *.patch file should do the trick.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 19, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3179


Unknown W. Brackets <unknown@simplemachines.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |unknown@simplemachines.org




--- Comment #7 from Unknown W. Brackets <unknown@simplemachines.org>  2009-07-19 03:42:03 PDT ---
To view a graphical version of the diff:

http://d.puremagic.com/issues/attachment.cgi?id=424&action=diff

To view a text version, right click and save as this link: (do not left click
in IE)

http://d.puremagic.com/issues/attachment.cgi?id=424

Otherwise, use a better browser such as Firefox, Chrome, Opera, or Safari.

(In reply to comment #6)
> Methinks someone's browser is screwing up the mime-types...
> 
> It looks to still be the same file but Walter's browser seems to be interpreting it as text/html? I think doing a save as to your computer as a *.patch file should do the trick.

He's using IE, it does that.

-[Unknown]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3179



--- Comment #8 from Walter Bright <bugzilla@digitalmars.com> 2012-01-23 01:19:15 PST ---
A pull request for this would be nice.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------