diff options
Diffstat (limited to 'util.asm')
-rw-r--r-- | util.asm | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -40,3 +40,12 @@ %error %? not supported with cpuname %endif %endmacro + +; make a mm register all-ones +%macro ONES 1 + %if mmsize == 64 + vpternlogq %1, %1, %1, 0xff + %else + pcmpeqq %1, %1 + %endif +%endmacro |