Skip to content

MMX SIMD integer packed arithmetic instruction compile sucess quietly #246

Description

@zanyoyi

Using nasm (current master SHA commit: 6015afc) on following file (command: nasm -fwin32 -w+all test.asm -o test.obj -l test.lst)

dq_data:
        dq 0, 0

section .text code use32
        paddq           mm0, [dq_data]
        psubq           mm0, [dq_data]
        pmuludq         mm0, [dq_data]

        paddq           mm0, qword[dq_data]
        ; works as expected
        psubq           mm0, oword[dq_data]
        ; mismatch in operand size
        pmuludq         mm0, oword[dq_data]
        ; mismatch in operand size

does not show warning or error on incorrect mnemonic line 12 and 14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions