From 03e957f08f8072d32fdb75e36a937562c3f25495 Mon Sep 17 00:00:00 2001 From: faissaloo Date: Tue, 26 Jul 2016 18:40:12 +0100 Subject: I need to remember to make before testing next time lol, yeah it doesn't work --- sh | Bin 1648 -> 1656 bytes sh.asm | 7 +++++++ 2 files changed, 7 insertions(+) diff --git a/sh b/sh index 36dbb89..76d3769 100755 Binary files a/sh and b/sh differ diff --git a/sh.asm b/sh.asm index 8189393..5257997 100644 --- a/sh.asm +++ b/sh.asm @@ -349,6 +349,10 @@ _concat_dir: _dirty_strcpy_1: movDqU xmm2, [rdi+r8] movDqU [rbx+r8],xmm2 + + pcmpistri xmm1, xmm2, 122 + jz _dirty_strcpy_1_exit + PcmpIstrI xmm0, xmm2, 122 ;if there was a null in the ;copied string exit loop jz _dirty_strcpy_1_exit @@ -364,6 +368,9 @@ _concat_dir: movdqu xmm2, [r15+r11] movdqu [rbx+r8], xmm2 + pcmpistri xmm1, xmm2, 122 + jz _parse5 + pcmpistri xmm0, xmm2, 122 jz _parse5 -- cgit v1.2.3