(x86 asm): Zero the high parts of the ?MM registers if available.
[catacomb] / symm / salsa20-x86ish-sse2.S
index 9cbaeff..76ac0ed 100644 (file)
 ///--------------------------------------------------------------------------
 /// Main code.
 
-       .arch pentium4
        .text
 
+FUNC(salsa20_core_x86ish_avx)
+       .arch   .avx
+       vzeroupper
+  endprologue
+       // drop through...
+ENDFUNC
+
+       .arch   pentium4
+
 FUNC(salsa20_core_x86ish_sse2)
 
        // Initial setup.