search for: jnz

Displaying 20 results from an estimated 191 matches for "jnz".

2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
...64.S linux-2.6-patched/arch/s390/lib/uaccess64.S --- linux-2.6/arch/s390/lib/uaccess64.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess64.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slgr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slgr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) aghi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slgr %r2,%r2 br %r14 4: lghi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the current page faulted # move with the reduced...
2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
...64.S linux-2.6-patched/arch/s390/lib/uaccess64.S --- linux-2.6/arch/s390/lib/uaccess64.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess64.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slgr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slgr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) aghi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slgr %r2,%r2 br %r14 4: lghi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the current page faulted # move with the reduced...
2011 May 03
2
[LLVMdev] Greedy register allocation
...by swapping physical register assignments, it won't do it if it requires extra spilling. This is actually the cause of the n-body regression. The benchmark has nested loops: %vreg1 = const pool load header1: ; large blocks with lots of floating point ops header2: ; small loop using %vreg1 jnz header2 ... jnz header1 The def of %vreg1 has been hoisted by LICM so it is live across a block with lots of floating point code. The allocator uses the low xmm registers for the large block, and %xmm8 is left for %vreg1 which has a low spill weight. This significantly improves code size, but the...
2010 Mar 09
3
Enhanced MDISKCHK.COM and MEMDISK patches
Good day to all, Gert Hulselmans requested a feature for MDISKCHK.COM that would function roughly like GETARGS.COM[1] by Murali Krishnan Ganapathy: DOS SET command output for MEMDISK kernel arguments passed by previous boot-loaders. He also needed to support the case for MEMDISK-in-a-MEMDISK type situations, where all MEMDISK kernel arguments could be gathered together and output as a list
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...AX=001Fh Get current working directory +; +comapi_getcwd: + mov P_ES,cs + mov P_BX,CurrentDirName + clc + ret + +; +; INT 22h AX=0020h Open directory +; +%if IS_SYSLINUX +comapi_opendir: + push ds + mov ds,P_ES + mov si,P_SI + mov di,InitRD + call mangle_name + pop ds + call searchdir + jnz comapi_err ; Didn't find a directory + cmp eax,0 + jz comapi_err ; Found nothing + ;ZF is unset + call alloc_fill_dir + mov P_EAX,eax + mov P_CX,SECTOR_SIZE + mov P_SI,si + clc + ret +%else +comapi_opendir equ comapi_err +%endif + +; +; INT 22h AX=0021h Read directory +; +%if IS_SYSLI...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...AX=001Eh Get current working directory +; +comapi_getcwd: + mov P_ES,cs + mov P_BX,CurrentDirName + clc + ret + +; +; INT 22h AX=001Fh Open directory +; +%if IS_SYSLINUX +comapi_opendir: + push ds + mov ds,P_ES + mov si,P_SI + mov di,InitRD + call mangle_name + pop ds + call searchdir + jnz comapi_err ; Didn't find a directory + cmp eax,0 + jz comapi_err ; Found nothing + ;ZF is unset + call alloc_fill_dir + mov P_EAX,eax + mov P_CX,SECTOR_SIZE + mov P_SI,si + clc + ret +%else +comapi_opendir equ comapi_err +%endif + +; +; INT 22h AX=0020h Read directory +; +%if IS_SYSLI...
2011 May 03
0
[LLVMdev] Greedy register allocation
...CostPerUse models the encoding size of the register? > This is actually the cause of the n-body regression. The benchmark has nested loops: > > %vreg1 = const pool load > header1: > ; large blocks with lots of floating point ops > header2: > ; small loop using %vreg1 > jnz header2 > ... > jnz header1 > > The def of %vreg1 has been hoisted by LICM so it is live across a > block with lots of floating point code. The allocator uses the low xmm > registers for the large block, and %xmm8 is left for %vreg1 which has > a low spill weight. This signif...
2001 Dec 11
0
VirtualProtect and app crash: what's your interpretation?
..., 28h 00760D86 mov eax, [eax+ecx+34h] 00760D8A sub eax, [ebp-4] 00760D8D cmp ds:dword_75D734, 2 00760D94 mov [ebp-14h], eax ; ; If (*(long *)75D734) != 2 then skip the call to ; VirtualProtect ; 00760D97 jnz short loc_760DC4 ; ; Push arguments to VirtualProtect( ; LPVOID lpAddress, ; SIZE_T dwSize, ; DWORD flNewProtect, ; PDWORD lpflOldProtect) ; 00760D99 lea eax, [ebp-8] ; ; lpflOldProtect is a local variable ; 00760D9C push eax ; ; flNewProtect =...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...+pspNextP: resw 1 + resb 124 +pspCmdLen: resb 1 +pspCmdArg: resb 127 + +;%define DEBUG + + section .text + org 100h + +_start: + mov ax,2 + mov bx, msg_progname + int 22h + + mov ax,2 + mov bx, msg_crlf + int 22h + + push es + mov ax,0ah + mov cl,9 + int 22h + pop es + cmp al,32h + jnz not_pxelinux + + mov dl,0 ; fake drive number + mov cl,11 ; fake sector size 2048 bytes + +not_pxelinux: + mov [derivative_id],al + mov [drivenumber],dl + mov [sectorshift],cl + mov ax,1 + shl ax,cl + mov [sectorsize],ax + mov ax,trackbufsize + shr ax,cl + mov [BufSafe],ax + + xor cx,cx...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...+pspInt20: resw 1 +pspNextP: resw 1 + resb 124 +pspCmdLen: resb 1 +pspCmdArg: resb 127 + + section .text + org 100h + +_start: + mov ax,2 + mov bx, msg_progname + int 22h + + mov ax,2 + mov bx, msg_crlf + int 22h + + push es + mov ax,0ah + mov cl,9 + int 22h + pop es + cmp al,32h + jnz not_pxelinux + + mov ax,2 + mov bx,msg_pxelinux + int 22h + ret +not_pxelinux: + mov [derivative_id],al + mov [drivenumber],dl + mov [sectorshift],cl + mov ax,1 + shl ax,cl + mov [sectorsize],ax + mov ax,trackbufsize + shr ax,cl + mov [BufSafe],ax + + xor cx,cx + mov cl,[pspCmdLen] +...
2002 Mar 08
0
PXELINUX: suggestion for improvement
...DHCP service is provided by ISC dhcpd 2.0. Cheers. Andy. -------------- next part -------------- Binary files ./pxelinux.0.orig and ./pxelinux.0 differ *** ./pxelinux.asm.orig Sun Feb 3 22:37:55 2002 --- ./pxelinux.asm Fri Mar 8 12:08:22 2002 *************** *** 954,959 **** --- 954,964 ---- jnz .success .badness: popa + cmp cx,9 + jl .skip_cpuid + call check_cpuid + jnz .success + .skip_cpuid: dec di loop .tryagain *************** *** 4827,4832 **** --- 4832,4990 ---- popad ret + ; + ; check_cpuid by <appro at fy.chalmers.se>. + ; + ; This routine...
2017 Sep 06
2
[PATCH 3/4] paravirt: add virt_spin_lock pvops function
...0400, Waiman Long wrote: > For clarification, I was actually asking if you consider just adding one > more jump label to skip it for Xen/KVM instead of making > virt_spin_lock() a pv-op. I don't understand. What performance are you worried about. Native will now do: "xor rax,rax; jnz some_cold_label" that's fairly trival code.
2017 Sep 06
2
[PATCH 3/4] paravirt: add virt_spin_lock pvops function
...0400, Waiman Long wrote: > For clarification, I was actually asking if you consider just adding one > more jump label to skip it for Xen/KVM instead of making > virt_spin_lock() a pv-op. I don't understand. What performance are you worried about. Native will now do: "xor rax,rax; jnz some_cold_label" that's fairly trival code.
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...o separate this patch into multiple patches, please let me know. diff --git a/core/comboot.inc b/core/comboot.inc index 2ff5f33..0d4f931 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -1067,12 +1067,8 @@ comapi_opendir: mov di,InitRD call mangle_name pop ds - call searchdir - jnz comapi_err ; Didn't find a directory - cmp eax,0 - jz comapi_err ; Found nothing - ;ZF is unset - call alloc_fill_dir + call searchdir4dir + jz comapi_err mov P_EAX,eax mov P_CX,SECTOR_SIZE mov P_SI,si diff --git a/core/ldlinux.asm b/core/ldlinux.asm index 2219d5f..0bd7d0d 10064...
2013 Oct 19
2
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
...utput COFF format along with target=i686-pc-mingw. because I want to compile to following asm file for both linux/gcc and windows/visual C++. .global sqrt .type sqrt, at function sqrt: fldl 4(%esp) fsqrt fstsw %ax sub $12,%esp fld %st(0) fstpt (%esp) mov (%esp),%ecx and $0x7ff,%ecx cmp $0x400,%ecx jnz 1f and $0x200,%eax sub $0x100,%eax sub %eax,(%esp) fstp %st(0) fldt (%esp) 1: add $12,%esp fstpl 4(%esp) fldl 4(%esp) ret > > Cheers, > Rafael -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo
2015 Feb 13
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...d ptr -34h push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov ebx, 0FFFFFFFFh cmp edi, 2 jnz loc_100000F29 mov rdi, [rsi+8] ; char * xor r14d, r14d xor esi, esi ; char ** mov edx, 0Ah ; int call _strtol mov r15, rax shl rax, 20h...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...> push r14 >> push r13 >> push r12 >> push rbx >> sub rsp, 18h >> mov ebx, 0FFFFFFFFh >> cmp edi, 2 >> jnz loc_100000F29 >> mov rdi, [rsi+8] ; char * >> xor r14d, r14d >> xor esi, esi ; char ** >> mov edx, 0Ah ; int >> call _strtol >>...
2017 Sep 06
1
[PATCH 3/4] paravirt: add virt_spin_lock pvops function
...rification, I was actually asking if you consider just adding one > >> more jump label to skip it for Xen/KVM instead of making > >> virt_spin_lock() a pv-op. > > I don't understand. What performance are you worried about. Native will > > now do: "xor rax,rax; jnz some_cold_label" that's fairly trival code. > > It is not native that I am talking about. I am worry about VM with > non-Xen/KVM hypervisor where virt_spin_lock() will actually be called. > Now that function will become a callee-saved function call instead of > being inline...
2017 Sep 06
1
[PATCH 3/4] paravirt: add virt_spin_lock pvops function
...rification, I was actually asking if you consider just adding one > >> more jump label to skip it for Xen/KVM instead of making > >> virt_spin_lock() a pv-op. > > I don't understand. What performance are you worried about. Native will > > now do: "xor rax,rax; jnz some_cold_label" that's fairly trival code. > > It is not native that I am talking about. I am worry about VM with > non-Xen/KVM hypervisor where virt_spin_lock() will actually be called. > Now that function will become a callee-saved function call instead of > being inline...
2008 Jun 17
1
ldlinux: CurrentDir not set if syslinux.cfg is missing
...d now it's CurrentDir unless the filename starts with '/'. Possible fix is to set CurrentDir to RootDir if no config file is found. - Sebastian --- core/ldlinux.asm.orig 2008-06-17 19:25:35.000000000 +0200 +++ core/ldlinux.asm 2008-06-17 19:36:13.000000000 +0200 @@ -909,6 +909,8 @@ jnz .config_open mov di,syslinux_cfg3 call open + mov eax,[RootDir] ; Make the root directory ... + mov [CurrentDir],eax ; ... the current directory jz no_config_file .config_open: mov eax,[PrevDir] ; Make the directory with syslinux.cfg ...