x86: fix rNmp macros with nasm

For some reason, nasm requires this.  No harm done to yasm.

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-08-06 00:21:36 +01:00
parent f295fee2c9
commit 7238265052
1 changed files with 2 additions and 2 deletions

View File

@ -139,10 +139,10 @@ CPU amdnop
%define r%1mp %2
%elif ARCH_X86_64 ; memory
%define r%1m [rsp + stack_offset + %3]
%define r%1mp qword r %+ %1m
%define r%1mp qword r %+ %1 %+ m
%else
%define r%1m [esp + stack_offset + %3]
%define r%1mp dword r %+ %1m
%define r%1mp dword r %+ %1 %+ m
%endif
%define r%1 %2
%endmacro