]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/commpage/bzero_sse2.s
xnu-1456.1.26.tar.gz
[apple/xnu.git] / osfmk / i386 / commpage / bzero_sse2.s
index a80418bd9f503f87a93d52e1a092e8710414639f..be5facd290e491163a931124044122fb9a372775 100644 (file)
 #define kShort         80              // too short to bother with SSE (must be >=80)
 #define        kVeryLong       (1024*1024)
 
+// void        bzero(void *b, size_t len);
 
-        .text
-        .align  5, 0x90
-Lbzero_sse2:                            // void        bzero(void *b, size_t len);
+COMMPAGE_FUNCTION_START(bzero_sse2, 32, 5)
        pushl   %ebp                    // set up a frame for backtraces
        movl    %esp,%ebp
         pushl   %edi
@@ -160,5 +159,4 @@ LVeryLong:
         sfence                          // required by non-temporal stores
        jmp     Lshort
 
-
-       COMMPAGE_DESCRIPTOR(bzero_sse2,_COMM_PAGE_BZERO,kHasSSE2,kHasSSE4_2)
+COMMPAGE_DESCRIPTOR(bzero_sse2,_COMM_PAGE_BZERO,kHasSSE2,kHasSSE4_2)