text
stringlengths
2
100k
meta
dict
; RUN: opt < %s -instcombine -S | grep shufflevector ; PR2645 ; instcombine shouldn't delete the shufflevector. define internal void @""(i8*, i32, i8*) { ; <label>:3 br label %4 ; <label>:4 ; preds = %6, %3 %.0 = phi i32 [ 0, %3 ], [ %19, %6 ] ; <i32> [#uses=4] %5 = icmp slt i32 %.0, %1 ; <i1> [#uses=1] br i1 %5, label %6, label %20 ; <label>:6 ; preds = %4 %7 = getelementptr i8, i8* %2, i32 %.0 ; <i8*> [#uses=1] %8 = bitcast i8* %7 to <4 x i16>* ; <<4 x i16>*> [#uses=1] %9 = load <4 x i16>, <4 x i16>* %8, align 1 ; <<4 x i16>> [#uses=1] %10 = bitcast <4 x i16> %9 to <1 x i64> ; <<1 x i64>> [#uses=1] %11 = call <2 x i64> @foo(<1 x i64> %10) ; <<2 x i64>> [#uses=1] %12 = bitcast <2 x i64> %11 to <4 x i32> ; <<4 x i32>> [#uses=1] %13 = bitcast <4 x i32> %12 to <8 x i16> ; <<8 x i16>> [#uses=2] %14 = shufflevector <8 x i16> %13, <8 x i16> %13, <8 x i32> < i32 0, i32 0, i32 1, i32 1, i32 2, i32 2, i32 3, i32 3 > ; <<8 x i16>> [#uses=1] %15 = bitcast <8 x i16> %14 to <4 x i32> ; <<4 x i32>> [#uses=1] %16 = sitofp <4 x i32> %15 to <4 x float> ; <<4 x float>> [#uses=1] %17 = getelementptr i8, i8* %0, i32 %.0 ; <i8*> [#uses=1] %18 = bitcast i8* %17 to <4 x float>* ; <<4 x float>*> [#uses=1] store <4 x float> %16, <4 x float>* %18, align 1 %19 = add i32 %.0, 1 ; <i32> [#uses=1] br label %4 ; <label>:20 ; preds = %4 call void @llvm.x86.mmx.emms( ) ret void } declare <2 x i64> @foo(<1 x i64>) declare void @llvm.x86.mmx.emms( )
{ "language": "Assembly" }
/* * Copyright (c) 2017 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ TEST_BEGIN(XORal, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF) mov eax, ARG1_32 xor al, 1 TEST_END TEST_BEGIN(XORax, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF) mov eax, ARG1_32 xor ax, 1 TEST_END TEST_BEGIN(XOReax, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF) mov eax, ARG1_32 xor eax, 1 TEST_END TEST_BEGIN(XORr8i8, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF) mov ebx, ARG1_32 xor bl, 1 TEST_END TEST_BEGIN_64(XORr8u8_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF) mov r8, ARG1_64 xor r8b, 0x7F TEST_END_64 TEST_BEGIN_64(XORr8s8_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF) mov r8, ARG1_64 xor r8b, 0xFF /* Sign-extended to 64-bits */ TEST_END_64 TEST_BEGIN(XORr8r8, 2) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 0, 1, 0, 0xFF, 1, 0x7F, 1, 0x7F, 0xFF, 0xFF, 0xFF) mov ebx, ARG1_32 mov eax, ARG2_32 xor bl, al TEST_END TEST_BEGIN_64(XORr8r8_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 0, 1, 0, 0xFF, 1, 0x7F, 1, 0x7F, 0xFF, 0xFF, 0xFF) xor ARG1_8, ARG2_8 TEST_END_64 TEST_BEGIN(XORr16u8, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF) xor ARG1_16, 0x7F TEST_END TEST_BEGIN(XORr16s8, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF) xor ARG1_16, 0xFF /* Sign-extended to 16-bits */ TEST_END TEST_BEGIN(XORr16i16, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF) xor ARG1_16, 0xFFFF TEST_END TEST_BEGIN(XORr16r16, 2) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 0, 1, 0, 0xFF, 1, 0x7F, 1, 0x7F, 0xFF, 0xFF, 0xFF, 0x7FFF, 1, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF) xor ARG1_16, ARG2_16 TEST_END TEST_BEGIN(XORr32u8, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF) xor ARG1_32, 0x7F TEST_END TEST_BEGIN(XORr32s8, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF) xor ARG1_32, 0xFF TEST_END TEST_BEGIN(XORr32i32, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF) xor ARG1_32, 0x7FFFFFFF TEST_END TEST_BEGIN(XORr32r32, 2) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 0, 1, 0, 0xFFFFFFFF, 1, 0xFFFFFFFF, 0xFFFFFFFF, 0x7FFFFFFF, 1, 0, 0x10, 0x7F, 0x10) xor ARG1_32, ARG2_32 TEST_END TEST_BEGIN_64(XORr64u8_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF) xor ARG1_64, 0x7F TEST_END_64 TEST_BEGIN_64(XORr64s8_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF) xor ARG1_64, 0xFF /* Sign-extended */ TEST_END_64 TEST_BEGIN_64(XORr64u32_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF) xor ARG1_64, 0x7FFFFFFF TEST_END_64 TEST_BEGIN_64(XORr64s32_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 1, 0x7F, 0xFF, 0x7FFF, 0xFFFF, 0x7FFFFFFF, 0xFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF) .byte 0x48; /* REX.W */ xor ARG1_32, 0xFFFFFFFF /* Sign-extended */ TEST_END_64 TEST_BEGIN_64(XORr64r64_64, 2) TEST_IGNORE_FLAGS(AF) TEST_INPUTS( 0, 0, 1, 0, 0xFFFFFFFF, 1, 0xFFFFFFFF, 0xFFFFFFFF, 0x7FFFFFFF, 1, 0, 0x10, 0x7F, 0x10, 0x7FFFFFFFFFFFFFFF, 1, 0x7FFFFFFFFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF) xor ARG1_64, ARG2_64 TEST_END_64 TEST_BEGIN(PXORr64r64_64, 1) TEST_IGNORE_FLAGS(AF) TEST_INPUTS() pxor xmm0, xmm1 pxor xmm2, xmm3 pxor xmm4, xmm5 TEST_END
{ "language": "Assembly" }
PUBLIC ffi_call_AMD64 EXTRN __chkstk:NEAR EXTRN ffi_closure_SYSV:NEAR _TEXT SEGMENT ;;; ffi_closure_OUTER will be called with these registers set: ;;; rax points to 'closure' ;;; r11 contains a bit mask that specifies which of the ;;; first four parameters are float or double ;;; ;;; It must move the parameters passed in registers to their stack location, ;;; call ffi_closure_SYSV for the actual work, then return the result. ;;; ffi_closure_OUTER PROC FRAME ;; save actual arguments to their stack space. test r11, 1 jne first_is_float mov QWORD PTR [rsp+8], rcx jmp second first_is_float: movlpd QWORD PTR [rsp+8], xmm0 second: test r11, 2 jne second_is_float mov QWORD PTR [rsp+16], rdx jmp third second_is_float: movlpd QWORD PTR [rsp+16], xmm1 third: test r11, 4 jne third_is_float mov QWORD PTR [rsp+24], r8 jmp forth third_is_float: movlpd QWORD PTR [rsp+24], xmm2 forth: test r11, 8 jne forth_is_float mov QWORD PTR [rsp+32], r9 jmp done forth_is_float: movlpd QWORD PTR [rsp+32], xmm3 done: .ALLOCSTACK 40 sub rsp, 40 .ENDPROLOG mov rcx, rax ; context is first parameter mov rdx, rsp ; stack is second parameter add rdx, 40 ; correct our own area mov rax, ffi_closure_SYSV call rax ; call the real closure function ;; Here, code is missing that handles float return values add rsp, 40 movd xmm0, rax ; In case the closure returned a float. ret 0 ffi_closure_OUTER ENDP ;;; ffi_call_AMD64 stack$ = 0 prepfunc$ = 32 ecif$ = 40 bytes$ = 48 flags$ = 56 rvalue$ = 64 fn$ = 72 ffi_call_AMD64 PROC FRAME mov QWORD PTR [rsp+32], r9 mov QWORD PTR [rsp+24], r8 mov QWORD PTR [rsp+16], rdx mov QWORD PTR [rsp+8], rcx .PUSHREG rbp push rbp .ALLOCSTACK 48 sub rsp, 48 ; 00000030H .SETFRAME rbp, 32 lea rbp, QWORD PTR [rsp+32] .ENDPROLOG mov eax, DWORD PTR bytes$[rbp] add rax, 15 and rax, -16 call __chkstk sub rsp, rax lea rax, QWORD PTR [rsp+32] mov QWORD PTR stack$[rbp], rax mov rdx, QWORD PTR ecif$[rbp] mov rcx, QWORD PTR stack$[rbp] call QWORD PTR prepfunc$[rbp] mov rsp, QWORD PTR stack$[rbp] movlpd xmm3, QWORD PTR [rsp+24] movd r9, xmm3 movlpd xmm2, QWORD PTR [rsp+16] movd r8, xmm2 movlpd xmm1, QWORD PTR [rsp+8] movd rdx, xmm1 movlpd xmm0, QWORD PTR [rsp] movd rcx, xmm0 call QWORD PTR fn$[rbp] ret_int$: cmp DWORD PTR flags$[rbp], 1 ; FFI_TYPE_INT jne ret_float$ mov rcx, QWORD PTR rvalue$[rbp] mov DWORD PTR [rcx], eax jmp SHORT ret_nothing$ ret_float$: cmp DWORD PTR flags$[rbp], 2 ; FFI_TYPE_FLOAT jne SHORT ret_double$ mov rax, QWORD PTR rvalue$[rbp] movlpd QWORD PTR [rax], xmm0 jmp SHORT ret_nothing$ ret_double$: cmp DWORD PTR flags$[rbp], 3 ; FFI_TYPE_DOUBLE jne SHORT ret_int64$ mov rax, QWORD PTR rvalue$[rbp] movlpd QWORD PTR [rax], xmm0 jmp SHORT ret_nothing$ ret_int64$: cmp DWORD PTR flags$[rbp], 12 ; FFI_TYPE_SINT64 jne ret_nothing$ mov rcx, QWORD PTR rvalue$[rbp] mov QWORD PTR [rcx], rax jmp SHORT ret_nothing$ ret_nothing$: xor eax, eax lea rsp, QWORD PTR [rbp+16] pop rbp ret 0 ffi_call_AMD64 ENDP _TEXT ENDS END
{ "language": "Assembly" }
; Test that the cos library call simplifier works correctly. ; ; RUN: opt < %s -instcombine -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" declare float @cos(double) ; Check that cos functions with the wrong prototype aren't simplified. define float @test_no_simplify1(double %d) { ; CHECK-LABEL: @test_no_simplify1( %neg = fsub double -0.000000e+00, %d %cos = call float @cos(double %neg) ; CHECK: call float @cos(double %neg) ret float %cos }
{ "language": "Assembly" }
glabel func_80999194 /* 00A14 80999194 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44 /* 00A18 80999198 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00 /* 00A1C 8099919C 3C01425C */ lui $at, 0x425C ## $at = 425C0000 /* 00A20 809991A0 44815000 */ mtc1 $at, $f10 ## $f10 = 55.00 /* 00A24 809991A4 E4440060 */ swc1 $f4, 0x0060($v0) ## 00000060 /* 00A28 809991A8 C4860024 */ lwc1 $f6, 0x0024($a0) ## 00000024 /* 00A2C 809991AC E4460024 */ swc1 $f6, 0x0024($v0) ## 00000024 /* 00A30 809991B0 C4880028 */ lwc1 $f8, 0x0028($a0) ## 00000028 /* 00A34 809991B4 460A4400 */ add.s $f16, $f8, $f10 /* 00A38 809991B8 E4500028 */ swc1 $f16, 0x0028($v0) ## 00000028 /* 00A3C 809991BC C492002C */ lwc1 $f18, 0x002C($a0) ## 0000002C /* 00A40 809991C0 03E00008 */ jr $ra /* 00A44 809991C4 E452002C */ swc1 $f18, 0x002C($v0) ## 0000002C
{ "language": "Assembly" }
{2, {28,0,0,0,0,1,0,0,00000000-0000-0000-0000-000000000000,1, {1,0},0,0,1,1,1,0,1,0, {0}, {0},1, {17, {-1,02023637-7868-4a5f-8576-835a76e0c9ba},0,0,1, {0, {0, {"B",1},0} },9,"ФормаКоманднаяПанель", {1,0}, {1,0},0,1,0,0,0,2,2, {3,4, {0} }, {6,3,0,1}, {0,0,0},1, {0,0,1},0,1},0,"","",1, {17, {0},0,0,0,7,"Navigator", {1,0}, {1,0},0,1,0,0,0,2,2, {3,4, {0} }, {6,3,0,1}, {0,0,0},0,0,1} }," // { Plugin interface &НаКлиенте Функция ОписаниеПлагина(ВозможныеТипыПлагинов) Экспорт Возврат ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов); КонецФункции &НаСервере Функция ОписаниеПлагинаНаСервере(ВозможныеТипыПлагинов) Возврат ЭтотОбъектНаСервере().ОписаниеПлагина(ВозможныеТипыПлагинов); КонецФункции // } Plugin interface // { Helpers &НаСервере Функция ЭтотОбъектНаСервере() Возврат РеквизитФормыВЗначение(""Объект""); КонецФункции // } Helpers ", {4,1, {9, {1},0,"Объект", {1,0}, {"Pattern", {"#",85629dd2-6be4-49c6-9a69-13411102aa57} }, {0, {0, {"B",1},0} }, {0, {0, {"B",1},0} }, {0,0}, {0,0},1,0,0,0, {0,0}, {0,0} },0,0, {#base64:77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxTZXR0 aW5ncyB4bWxucz0iaHR0cDovL3Y4LjFjLnJ1LzguMS9kYXRhLWNvbXBvc2l0aW9u LXN5c3RlbS9zZXR0aW5ncyIgeG1sbnM6ZGNzY29yPSJodHRwOi8vdjguMWMucnUv OC4xL2RhdGEtY29tcG9zaXRpb24tc3lzdGVtL2NvcmUiIHhtbG5zOnN0eWxlPSJo dHRwOi8vdjguMWMucnUvOC4xL2RhdGEvdWkvc3R5bGUiIHhtbG5zOnN5cz0iaHR0 cDovL3Y4LjFjLnJ1LzguMS9kYXRhL3VpL2ZvbnRzL3N5c3RlbSIgeG1sbnM6djg9 Imh0dHA6Ly92OC4xYy5ydS84LjEvZGF0YS9jb3JlIiB4bWxuczp2OHVpPSJodHRw Oi8vdjguMWMucnUvOC4xL2RhdGEvdWkiIHhtbG5zOndlYj0iaHR0cDovL3Y4LjFj LnJ1LzguMS9kYXRhL3VpL2NvbG9ycy93ZWIiIHhtbG5zOndpbj0iaHR0cDovL3Y4 LjFjLnJ1LzguMS9kYXRhL3VpL2NvbG9ycy93aW5kb3dzIiB4bWxuczp4cz0iaHR0 cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDov L3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiLz4=} }, {0,0}, {0,0}, {0,0}, {0,0} }
{ "language": "Assembly" }
/* i80386 submul_1 -- Multiply a limb vector with a limb and add * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1998, * 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. * Actually it's the same code with only minor changes in the * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. */ #include "sysdep.h" #include "asm-syntax.h" /******************* * mpi_limb_t * _gcry_mpih_submul_1( mpi_ptr_t res_ptr, (sp + 4) * mpi_ptr_t s1_ptr, (sp + 8) * mpi_size_t s1_size, (sp + 12) * mpi_limb_t s2_limb) (sp + 16) */ #define res_ptr edi #define s1_ptr esi #define size ecx #define s2_limb ebp TEXT ALIGN (3) GLOBL C_SYMBOL_NAME(_gcry_mpih_submul_1) C_SYMBOL_NAME(_gcry_mpih_submul_1:) INSN1(push,l ,R(edi)) INSN1(push,l ,R(esi)) INSN1(push,l ,R(ebx)) INSN1(push,l ,R(ebp)) INSN2(mov,l ,R(res_ptr),MEM_DISP(esp,20)) INSN2(mov,l ,R(s1_ptr),MEM_DISP(esp,24)) INSN2(mov,l ,R(size),MEM_DISP(esp,28)) INSN2(mov,l ,R(s2_limb),MEM_DISP(esp,32)) INSN2(lea,l ,R(res_ptr),MEM_INDEX(res_ptr,size,4)) INSN2(lea,l ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4)) INSN1(neg,l ,R(size)) INSN2(xor,l ,R(ebx),R(ebx)) ALIGN (3) Loop: INSN2(mov,l ,R(eax),MEM_INDEX(s1_ptr,size,4)) INSN1(mul,l ,R(s2_limb)) INSN2(add,l ,R(eax),R(ebx)) INSN2(adc,l ,R(edx),$0) INSN2(sub,l ,MEM_INDEX(res_ptr,size,4),R(eax)) INSN2(adc,l ,R(edx),$0) INSN2(mov,l ,R(ebx),R(edx)) INSN1(inc,l ,R(size)) INSN1(jnz, ,Loop) INSN2(mov,l ,R(eax),R(ebx)) INSN1(pop,l ,R(ebp)) INSN1(pop,l ,R(ebx)) INSN1(pop,l ,R(esi)) INSN1(pop,l ,R(edi)) ret
{ "language": "Assembly" }
!!!COM: Palestrina, Giovanni Perluigi da !!!OPR: Missa Fratres Ego Enim Accepi !!!OMD: Gloria !!!OTL: First Section **kern **kern **kern **kern **kern **kern **kern **kern *Ibass *Itenor *Icalto *Icant *Ibass *Itenor *Icalto *Icant !Bassus !Tenor !Altus !Cantus !Bassus !Tenor !Altus !Cantus *clefF4 *clefGv2 *clefG2 *clefG2 *clefF4 *clefGv2 *clefG2 *clefG2 *k[b-] *k[b-] *k[b-] *k[b-] *k[b-] *k[b-] *k[b-] *k[b-] *G:dor *G:dor *G:dor *G:dor *G:dor *G:dor *G:dor *G:dor *M4/2 *M4/2 *M4/2 *M4/2 *M4/2 *M4/2 *M4/2 *M4/2 =1 =1 =1 =1 =1 =1 =1 =1 0r 0r 0r 0r 0r 0r 0g 1r . . . . . . . 1dd =2 =2 =2 =2 =2 =2 =2 =2 0r 0r 0r 0r 0G 1r 1d 1dd . . . . . 1d [1g [1b- =3 =3 =3 =3 =3 =3 =3 =3 0r 0r 0r 0r 1D 1d 2g] 2b-] . . . . . . 2f 2a . . . . [1G [1B- 2.b- 4g . . . . . . . 4a . . . . . . . 4b- . . . . . . 4a 4cc =4 =4 =4 =4 =4 =4 =4 =4 0r 0r 0r 0r 2G] 2B-] 2g 1dd . . . . 2F 2A 2a . . . . . [1B- 4G 2.d 2dd . . . . . 4A . . . . . . . 4B- . [2dd . . . . . 4c 4e . =5 =5 =5 =5 =5 =5 =5 =5 0r 0r 0r 0r 2B-] 2d 4f 2dd] . . . . . . 4g . . . . . 2A 2e 1a 4cc . . . . . . . 4b- . . . . 2F 2f . 2a . . . . 2G 2d 4g 2b- . . . . . . 4f . =6 =6 =6 =6 =6 =6 =6 =6 0r 0r 0r 0r 0A 2c# 2e 0a . . . . . 1d 2f . . . . . . . 1e . . . . . . 2c# . . =7 =7 =7 =7 =7 =7 =7 =7 0G 0d 1g 0b- 0r 0r 0r 0r . . 2d . . . . . . . [2g . . . . . =8 =8 =8 =8 =8 =8 =8 =8 1D 1d 2g] 1a 0r 0r 0r 0r . . 2f . . . . . [1G [1B- [1b- 4g . . . . . . . 4a . . . . . . . 4b- . . . . . . . 4cc . . . . =9 =9 =9 =9 =9 =9 =9 =9 2G] 2B-] 2b-] 4dd 0r 0r 0r 0r . . . 4ee . . . . 2F 2c 4a 2.ff . . . . . . 4g . . . . . 1B- 4d 2.f . . . . . . 4e . 4ee . . . . . [2f . 2dd . . . . . . 4g . . . . . =10 =10 =10 =10 =10 =10 =10 =10 0A 2f] 0a 2cc 0r 0r 0r 0r . 4e . 1dd . . . . . 4d . . . . . . . 1e . . . . . . . . . 2cc# . . . . =11 =11 =11 =11 =11 =11 =11 =11 0r 1d 1a 1dd 1d 2r 1r 1ff . . . . . 2.a . . . 1r 1r 1r 2c . 1a 2ee . . . . . 4g . . . . . . [2d 4f . [2ff . . . . . 4e . . =12 =12 =12 =12 =12 =12 =12 =12 0r 0r 0r 0r 4d] 1d 2f 4ff] . . . . 4c . . 4ee . . . . 2B- . 2g 2dd . . . . 1A 2e 1a 1cc . . . . . 2f . . =13 =13 =13 =13 =13 =13 =13 =13 2r 2r 2r 2r 1G 1g 1d 4b- . . . . . . . 4cc 2G 2d 2b- 2g . . . 4dd . . . . . . . 4ee- 2F# 2d 2a 2a 1r 1d 1r 1dd [2G 2d [2g [2b- . . . . =14 =14 =14 =14 =14 =14 =14 =14 2G] 2G 2g] 2b-] 0r 0r 0r 0r 2E- 2.c 2g 2cc . . . . 1D . 1f 2dd . . . . . 4B . . . . . . . 2B . [2ff . . . . =15 =15 =15 =15 =15 =15 =15 =15 0C 0c 2a 2ff] 1r 1r 1r 1r . . 4g 4ee . . . . . . 4f 4dd . . . . . . 1g 1ee 1c 2r 1e 1cc . . . . . 2g . . =16 =16 =16 =16 =16 =16 =16 =16 0r 0r 0r 0r 2B 2g 2d 2dd . . . . 1c 1g 1e 1cc . . . . 2A [2f 2f 2cc =17 =17 =17 =17 =17 =17 =17 =17 1r 1r 1r 1r 1G 4f] 1g 2.b- . . . . . 8e . . . . . . . 8d . . . . . . . 2e . . . . . . . . . 8a . . . . . . . 8g 2r 2r 2r 2r 1F 1f 1c 1a 2F 2c 2a 2ff . . . . =18 =18 =18 =18 =18 =18 =18 =18 2F 2c 2a 2ff 1r 1r 1r 1r 2F 2c 2a 2ff . . . . [1C [1c [1g [1ee 1c 1g 1e 1cc =19 =19 =19 =19 =19 =19 =19 =19 1C] 1c] 1g] 1ee] 2c 2e 1.g 2cc . . . . 2c 2c . 2g 1G 1B- 1g 1dd 1G 2d . 2.b- . . . . . [2g [2d . . . . . . . . 4cc =20 =20 =20 =20 =20 =20 =20 =20 0D 0A 1a 0dd 0d 2g] 2d] 1dd . . . . . 4f# 1a . . . . . . 4e . . . . 1d . . 1f# . 1a . . . . . . 2d . =21 =21 =21 =21 =21 =21 =21 =21 2r 2r 2r 2r 2G 2g 2d 2b 1C 1c 1g 1ee 1c 1g 1e 1cc 2C 2c 2g 2ee 2c 2g 2e 2cc =22 =22 =22 =22 =22 =22 =22 =22 1C 1c 2g 1ee 1c 1e 1g 1cc . . 2.cc . . . . . [1F 2.A . [1ff [1F 2.a 2.f [1cc . . 4b- . . . . . . . [2a . . . . . . 4B- . . . 4g 4g . =23 =23 =23 =23 =23 =23 =23 =23 2F] 2c 2a] 2ff] 2F] 2f 2a 2cc] 2F 2c 2f 2ff 2F 2f 2a 2cc 1BB- 1B- 1d 2ff 1B- 1f 1b- 1dd . . . [2f . . . . =24 =24 =24 =24 =24 =24 =24 =24 0F 1c 0f 4f] 2.F 1f 1a 1cc . . . 4g . . . . . . . 4a . . . . . . . 4b- 4G . . . . 4A . 1cc 1A 1F 1a 1ff . 4B- . . . . . . . 4c . . . . . . . 4d . . . . . . =25 =25 =25 =25 =25 =25 =25 =25 0C 2.e 2.g 0cc 1c 2r 2r 1ee . . . . . 1c 2g . . 4f 4f . . . . . . 1g 1e . 1r . 2g 2r . . . . . 2c [2e [2cc =26 =26 =26 =26 =26 =26 =26 =26 0r 0r 0r 0r 2r 1A 2e] 2cc] . . . . 1F . 2c 2cc . . . . . 2F 2.f 1a . . . . 2F [2f . . . . . . . . 4g . =27 =27 =27 =27 =27 =27 =27 =27 0r 0r 0r 0r 1D 2f] 2a 2f . . . . . 2d 2a 1ff . . . . 2BB- 2.d 1b- . . . . . [2B- . . 2dd . . . . . 4e . . =28 =28 =28 =28 =28 =28 =28 =28 0r 0r 0r 0r 2B-] 2f 2r 1dd . . . . 2G 2.g 1b- . . . . . 2G . . 2.gg . . . . . 4f . . . . . . [2c 4e 2g . . . . . . 4d . 4ff =29 =29 =29 =29 =29 =29 =29 =29 0r 0r 0r 0r 2c] 2c 1g 2ee . . . . 2B- 2d . 1dd . . . . 1A 1e 1a . . . . . . . . 2cc# =30 =30 =30 =30 =30 =30 =30 =30 2r 2r 2r 2r 1D 1d 1a 1dd 2.D 2.d 2.f# 2.a . . . . . . . . 1r 1r 1r 1r 4D 4d 4f# 4a . . . . 2D 2d 2f# 2a . . . . =31 =31 =31 =31 =31 =31 =31 =31 2G 2d 2g 2b- 0r 0r 0r 0r 2F# 2d 2a 2a . . . . 2.G 1d [1b- 4g . . . . . . . 4a . . . . . . . 4b- . . . . 4A . . 4cc . . . . =32 =32 =32 =32 =32 =32 =32 =32 4B- 2.d 2b-] 4dd 0r 0r 0r 0r 4c . . 4ee . . . . 1d . 4a 1ff . . . . . 4e 4g . . . . . . 4f 2a . . . . . . 4g . . . . . . 2d [2a 2f 2dd . . . . =33 =33 =33 =33 =33 =33 =33 =33 1c 2a] 1cc 1ee- 0r 0r 0r 0r . 1g . . . . . . 1d . 1a 1dd . . . . . 2f# . . . . . . =34 =34 =34 =34 =34 =34 =34 =34 0r 0r 0r 0r 1.G 1.d 1.g 1.b . . . . 2G 2d 2g 2b =35 =35 =35 =35 =35 =35 =35 =35 0r 0r 0r 0r 1c 1e 1g 1cc . . . . 2B 2d 1g 2dd . . . . [2c [2e . 2g =36 =36 =36 =36 =36 =36 =36 =36 0r 0r 0r 0r 4c] 2e] 2g 2.cc . . . . 4B- . . . . . . . 4A 2.f 2.a . . . . . 4G . . 4b- . . . . 2F . . 4a . . . . . 4e 4g 8b- . . . . . . . 8cc . . . . [2B- 4d 4f [2dd . . . . . 4c 4e . =37 =37 =37 =37 =37 =37 =37 =37 0r 0r 0r 0r 2B-] 1B- 2d 4dd] . . . . . . . 4cc . . . . 2G . 2e 1b- . . . . 1F 2.c 2f . . . . . . . 2f 2a . . . . . 4c . . =38 =38 =38 =38 =38 =38 =38 =38 2r 2r 2r 2r 1B- 1d 1f 1b- 2.B- 2.f 2.b- 2.dd . . . . . . . . 1r 1r 1r 1r 4B- 4f 4b- 4dd . . . . 2B- 2f 2b- 2dd . . . . =39 =39 =39 =39 =39 =39 =39 =39 1c 1e 1.g 1cc 0r 0r 0r 0r 2G 1d . 2b- . . . . [2B- . 2f [2dd . . . . =40 =40 =40 =40 =40 =40 =40 =40 2B-] 2f 2b- 2dd] 0r 0r 0r 0r 2F 2f 2a 2cc . . . . 2.G [1d 4g 2.b- . . . . . . 4a . . . . . . . [2b- . . . . . 4A . . 4cc . . . . =41 =41 =41 =41 =41 =41 =41 =41 4B- 2d] 2b-] 4dd 0r 0r 0r 0r 4c . . 4ee . . . . 1d 2d 2a 4ff . . . . . . . 4dd . . . . . 1A 2.a 2ee . . . . 2c# . . 2ee . . . . . . 4g . . . . . =42 =42 =42 =42 =42 =42 =42 =42 1d 2r 1f# 1dd 1r 1r 1r 1r . 1d . . . . . . 2.G . 2.g 2.b [1G 1d [1g 2r . [2g . . . . . [2dd 4A . 8f 4cc . . . . . . 8e . . . . . =43 =43 =43 =43 =43 =43 =43 =43 1B 4g] 1d 1dd 1G] 1g 0g] 2dd] . 4f . . . . . . . 2d . . . . . 1gg 2.c 2e 1g [1cc 1C 1e . . . [2c . . . . . 2gg 4B- . . . . . . . =44 =44 =44 =44 =44 =44 =44 =44 1A 2c] 1a 1cc] 1F 2.f 1c 2ff . 2.f . . . . . 2cc . . . . . 4e- . . 1B- . [1f [1b- 1BB- 4d 2r 1dd . 4e- . . . 4c . . . 2d . . . 2B- [2f . =45 =45 =45 =45 =45 =45 =45 =45 0F 0c 0f] 2b-] 0F 2c 4f] 1ff . . . . . . 4g . . . . 4a . 2.f 1a . . . . 4g . . . . . . . 1a . . . 1ff . . . . . 4e- . . . . . . . 2c 2f . =46 =46 =46 =46 =46 =46 =46 =46 0BB- 0B- 0f 2.b- 2r 2d 0f 2.dd . . . . 2.B- 2.d . . . . . 4cc . . . 4cc . . . 1dd . . . 1b- . . . . 4B- 4d . . . . . . 2B- 2d . . =47 =47 =47 =47 =47 =47 =47 =47 0r 0r 0r 0r 2A 2c 2r 2r . . . . 2G 2B- 2.b- 2.dd . . . . 1B- 2d . . . . . . . . 4b- 4dd . . . . . [2f 2b- 2dd =48 =48 =48 =48 =48 =48 =48 =48 0r 0r 0r 0r 2F 4f] 2a 2cc . . . . . 4e . . . . . . 1G 4d 2g 2b- . . . . . 4c . . . . . . . 2B- 2b- 2dd . . . . 4F 2c 4a [2ff . . . . 4E . 4g . =49 =49 =49 =49 =49 =49 =49 =49 0r 0r 0r 0r 1D 4d 2f 4ff] . . . . . 4c . 4ee . . . . . 4B- 2f 4dd . . . . . 4A . 4cc . . . . 1E- 1G 1g 2b- . . . . . . . 2cc =50 =50 =50 =50 =50 =50 =50 =50 0r 2r 2r 2r 1D 1A 1f# 1dd . 1d 1f# 1a . . . . . . . . 1r 1r 1r 1r . 2g 2g 2b- . . . . =51 =51 =51 =51 =51 =51 =51 =51 0r 4f 2a 2cc 0r 0r 0r 0r . 4e . . . . . . . 4d 1b- 2dd . . . . . 4c . . . . . . . 2B- . 2dd . . . . . 2c 4a 4cc . . . . . . 4g 4b- . . . . =52 =52 =52 =52 =52 =52 =52 =52 1r 1d 2.f 2a 0r 0r 0r 0r . . . 1dd . . . . . . 8e . . . . . . . 8d . . . . . [1A 2r 2e . . . . . . [2e 2A 4cc# . . . . . . . 4b . . . . =53 =53 =53 =53 =53 =53 =53 =53 2A] 2e] 2.a 2cc# 0r 0r 0r 0r 2d 2f . 2dd . . . . . . 4b- . . . . . 4c 2g 1cc 2ee . . . . 4B- . . . . . . . 4A [2a . [2ff . . . . 4G . . . . . . . =54 =54 =54 =54 =54 =54 =54 =54 2F 2a] 2cc 2ff] 0r 0r 0r 0r 2G 4g 2b- 4ee . . . . . 4f . 4dd . . . . 1A 4e 1a 4cc# . . . . . 4d . 2dd . . . . . 2e . . . . . . . . . 4cc# . . . . =55 =55 =55 =55 =55 =55 =55 =55 1D 1d 1a 1dd 2r 2r 2r 2r . . . . 1D 1d 1f# 1a 1r 1r 1r 1r . . . . . . . . 2G 2d 2g 2b- =56 =56 =56 =56 =56 =56 =56 =56 0r 0r 0r 0r 4F 2f 2a 2cc . . . . 4E . . . . . . . 4D 2.f 1b- 1dd . . . . 4C . . . . . . . 2BB- . . . . . . . . 4d . . . . . . 2C 2e- 4a 2cc . . . . . . 4g . =57 =57 =57 =57 =57 =57 =57 =57 1r 1r 1r 1r 1D 0d 2f# 2b- . . . . . . 1g 4a . . . . . . . 4g 1d 2r 1a [1dd 1D . . 1a . [2d . . . . 2f# . =58 =58 =58 =58 =58 =58 =58 =58 2B- 2d] 1b- 2dd] 1G 2.d 1g 1g 2G 2g . 2dd . . . . . . . . . 4d . . 1d 4f 1a 1dd 2D 2d 2r 2r . 4e . . . . . . . 4d . . 2D 4f 2a 2dd . 4c . . . 4e . . =59 =59 =59 =59 =59 =59 =59 =59 2.G 4B- 1g 0dd 0G 4d 2b- 2dd . 4c . . . 4c . . . 2d . . . 4B- 2b- 2dd 4A . . . . 4c . . 2.B- 1G 2.d . . 1d 1g 1b- 4c . 4e . . . . . =60 =60 =60 =60 =60 =60 =60 =60 1d 2r [0f# [0dd [0D [0d [0f# [0a . 1d . . . . . . 1D . . . . . . . . 4c . . . . . . . 4B- . . . . . . =61 =61 =61 =61 =61 =61 =61 =61 0D 1A 0f#] 0dd] 0D] 0d] 0f#] 0a] . 1A . . . . . . *- *- *- *- *- *- *- *- !!!CDT: 1525/^1526/-1594/2/2 !!!OCY: Italia !!!AGN: Mass (Parody) !!!AST: renaissance, vocal !!!ASW: Motet (Palestrina) !!!PWK: Masses, Book 8vce !!!RNB: Cadence finals: D !!!YOR: Le Opere Complete, v. 30, p. 110 !!!YOO: Rome, Italy: Fratelli Scalera !!!END: 1992// !!!EED: John Miller !!!YEC: Copyright 2000, John Miller !!!YEN: United States of America !!!YEM: Rights to all derivative electronic formats reserved. !!!YEM: Refer to licensing agreement for further details. !!!YEM: This file must be accompanied by the licensing agreement. !!!YEM: A copy of the licensing agreement may be found at http://www.music-cog.ohio-state.edu/HumdrumDatabases/Palestrina/license.txt !!!EMD: converted to Humdrum by Bret Aarden
{ "language": "Assembly" }
/* ;uInt longest_match_x64( ; deflate_state *s, ; IPos cur_match); // current match ; gvmat64.S -- Asm portion of the optimized longest_match for 32 bits x86_64 ; (AMD64 on Athlon 64, Opteron, Phenom ; and Intel EM64T on Pentium 4 with EM64T, Pentium D, Core 2 Duo, Core I5/I7) ; this file is translation from gvmat64.asm to GCC 4.x (for Linux, Mac XCode) ; Copyright (C) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant. ; ; File written by Gilles Vollant, by converting to assembly the longest_match ; from Jean-loup Gailly in deflate.c of zLib and infoZip zip. ; and by taking inspiration on asm686 with masm, optimised assembly code ; from Brian Raiter, written 1998 ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any purpose, ; including commercial applications, and to alter it and redistribute it ; freely, subject to the following restrictions: ; ; 1. The origin of this software must not be misrepresented; you must not ; claim that you wrote the original software. If you use this software ; in a product, an acknowledgment in the product documentation would be ; appreciated but is not required. ; 2. Altered source versions must be plainly marked as such, and must not be ; misrepresented as being the original software ; 3. This notice may not be removed or altered from any source distribution. ; ; http://www.zlib.net ; http://www.winimage.com/zLibDll ; http://www.muppetlabs.com/~breadbox/software/assembly.html ; ; to compile this file for zLib, I use option: ; gcc -c -arch x86_64 gvmat64.S ;uInt longest_match(s, cur_match) ; deflate_state *s; ; IPos cur_match; // current match / ; ; with XCode for Mac, I had strange error with some jump on intel syntax ; this is why BEFORE_JMP and AFTER_JMP are used */ #define BEFORE_JMP .att_syntax #define AFTER_JMP .intel_syntax noprefix #ifndef NO_UNDERLINE # define match_init _match_init # define longest_match _longest_match #endif .intel_syntax noprefix .globl match_init, longest_match .text longest_match: #define LocalVarsSize 96 /* ; register used : rax,rbx,rcx,rdx,rsi,rdi,r8,r9,r10,r11,r12 ; free register : r14,r15 ; register can be saved : rsp */ #define chainlenwmask (rsp + 8 - LocalVarsSize) #define nicematch (rsp + 16 - LocalVarsSize) #define save_rdi (rsp + 24 - LocalVarsSize) #define save_rsi (rsp + 32 - LocalVarsSize) #define save_rbx (rsp + 40 - LocalVarsSize) #define save_rbp (rsp + 48 - LocalVarsSize) #define save_r12 (rsp + 56 - LocalVarsSize) #define save_r13 (rsp + 64 - LocalVarsSize) #define save_r14 (rsp + 72 - LocalVarsSize) #define save_r15 (rsp + 80 - LocalVarsSize) /* ; all the +4 offsets are due to the addition of pending_buf_size (in zlib ; in the deflate_state structure since the asm code was first written ; (if you compile with zlib 1.0.4 or older, remove the +4). ; Note : these value are good with a 8 bytes boundary pack structure */ #define MAX_MATCH 258 #define MIN_MATCH 3 #define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) /* ;;; Offsets for fields in the deflate_state structure. These numbers ;;; are calculated from the definition of deflate_state, with the ;;; assumption that the compiler will dword-align the fields. (Thus, ;;; changing the definition of deflate_state could easily cause this ;;; program to crash horribly, without so much as a warning at ;;; compile time. Sigh.) ; all the +zlib1222add offsets are due to the addition of fields ; in zlib in the deflate_state structure since the asm code was first written ; (if you compile with zlib 1.0.4 or older, use "zlib1222add equ (-4)"). ; (if you compile with zlib between 1.0.5 and 1.2.2.1, use "zlib1222add equ 0"). ; if you compile with zlib 1.2.2.2 or later , use "zlib1222add equ 8"). */ /* you can check the structure offset by running #include <stdlib.h> #include <stdio.h> #include "deflate.h" void print_depl() { deflate_state ds; deflate_state *s=&ds; printf("size pointer=%u\n",(int)sizeof(void*)); printf("#define dsWSize %u\n",(int)(((char*)&(s->w_size))-((char*)s))); printf("#define dsWMask %u\n",(int)(((char*)&(s->w_mask))-((char*)s))); printf("#define dsWindow %u\n",(int)(((char*)&(s->window))-((char*)s))); printf("#define dsPrev %u\n",(int)(((char*)&(s->prev))-((char*)s))); printf("#define dsMatchLen %u\n",(int)(((char*)&(s->match_length))-((char*)s))); printf("#define dsPrevMatch %u\n",(int)(((char*)&(s->prev_match))-((char*)s))); printf("#define dsStrStart %u\n",(int)(((char*)&(s->strstart))-((char*)s))); printf("#define dsMatchStart %u\n",(int)(((char*)&(s->match_start))-((char*)s))); printf("#define dsLookahead %u\n",(int)(((char*)&(s->lookahead))-((char*)s))); printf("#define dsPrevLen %u\n",(int)(((char*)&(s->prev_length))-((char*)s))); printf("#define dsMaxChainLen %u\n",(int)(((char*)&(s->max_chain_length))-((char*)s))); printf("#define dsGoodMatch %u\n",(int)(((char*)&(s->good_match))-((char*)s))); printf("#define dsNiceMatch %u\n",(int)(((char*)&(s->nice_match))-((char*)s))); } */ #define dsWSize 68 #define dsWMask 76 #define dsWindow 80 #define dsPrev 96 #define dsMatchLen 144 #define dsPrevMatch 148 #define dsStrStart 156 #define dsMatchStart 160 #define dsLookahead 164 #define dsPrevLen 168 #define dsMaxChainLen 172 #define dsGoodMatch 188 #define dsNiceMatch 192 #define window_size [ rcx + dsWSize] #define WMask [ rcx + dsWMask] #define window_ad [ rcx + dsWindow] #define prev_ad [ rcx + dsPrev] #define strstart [ rcx + dsStrStart] #define match_start [ rcx + dsMatchStart] #define Lookahead [ rcx + dsLookahead] //; 0ffffffffh on infozip #define prev_length [ rcx + dsPrevLen] #define max_chain_length [ rcx + dsMaxChainLen] #define good_match [ rcx + dsGoodMatch] #define nice_match [ rcx + dsNiceMatch] /* ; windows: ; parameter 1 in rcx(deflate state s), param 2 in rdx (cur match) ; see http://weblogs.asp.net/oldnewthing/archive/2004/01/14/58579.aspx and ; http://msdn.microsoft.com/library/en-us/kmarch/hh/kmarch/64bitAMD_8e951dd2-ee77-4728-8702-55ce4b5dd24a.xml.asp ; ; All registers must be preserved across the call, except for ; rax, rcx, rdx, r8, r9, r10, and r11, which are scratch. ; ; gcc on macosx-linux: ; see http://www.x86-64.org/documentation/abi-0.99.pdf ; param 1 in rdi, param 2 in rsi ; rbx, rsp, rbp, r12 to r15 must be preserved ;;; Save registers that the compiler may be using, and adjust esp to ;;; make room for our stack frame. ;;; Retrieve the function arguments. r8d will hold cur_match ;;; throughout the entire function. edx will hold the pointer to the ;;; deflate_state structure during the function's setup (before ;;; entering the main loop. ; ms: parameter 1 in rcx (deflate_state* s), param 2 in edx -> r8 (cur match) ; mac: param 1 in rdi, param 2 rsi ; this clear high 32 bits of r8, which can be garbage in both r8 and rdx */ mov [save_rbx],rbx mov [save_rbp],rbp mov rcx,rdi mov r8d,esi mov [save_r12],r12 mov [save_r13],r13 mov [save_r14],r14 mov [save_r15],r15 //;;; uInt wmask = s->w_mask; //;;; unsigned chain_length = s->max_chain_length; //;;; if (s->prev_length >= s->good_match) { //;;; chain_length >>= 2; //;;; } mov edi, prev_length mov esi, good_match mov eax, WMask mov ebx, max_chain_length cmp edi, esi jl LastMatchGood shr ebx, 2 LastMatchGood: //;;; chainlen is decremented once beforehand so that the function can //;;; use the sign flag instead of the zero flag for the exit test. //;;; It is then shifted into the high word, to make room for the wmask //;;; value, which it will always accompany. dec ebx shl ebx, 16 or ebx, eax //;;; on zlib only //;;; if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead; mov eax, nice_match mov [chainlenwmask], ebx mov r10d, Lookahead cmp r10d, eax cmovnl r10d, eax mov [nicematch],r10d //;;; register Bytef *scan = s->window + s->strstart; mov r10, window_ad mov ebp, strstart lea r13, [r10 + rbp] //;;; Determine how many bytes the scan ptr is off from being //;;; dword-aligned. mov r9,r13 neg r13 and r13,3 //;;; IPos limit = s->strstart > (IPos)MAX_DIST(s) ? //;;; s->strstart - (IPos)MAX_DIST(s) : NIL; mov eax, window_size sub eax, MIN_LOOKAHEAD xor edi,edi sub ebp, eax mov r11d, prev_length cmovng ebp,edi //;;; int best_len = s->prev_length; //;;; Store the sum of s->window + best_len in esi locally, and in esi. lea rsi,[r10+r11] //;;; register ush scan_start = *(ushf*)scan; //;;; register ush scan_end = *(ushf*)(scan+best_len-1); //;;; Posf *prev = s->prev; movzx r12d,word ptr [r9] movzx ebx, word ptr [r9 + r11 - 1] mov rdi, prev_ad //;;; Jump into the main loop. mov edx, [chainlenwmask] cmp bx,word ptr [rsi + r8 - 1] jz LookupLoopIsZero LookupLoop1: and r8d, edx movzx r8d, word ptr [rdi + r8*2] cmp r8d, ebp jbe LeaveNow sub edx, 0x00010000 BEFORE_JMP js LeaveNow AFTER_JMP LoopEntry1: cmp bx,word ptr [rsi + r8 - 1] BEFORE_JMP jz LookupLoopIsZero AFTER_JMP LookupLoop2: and r8d, edx movzx r8d, word ptr [rdi + r8*2] cmp r8d, ebp BEFORE_JMP jbe LeaveNow AFTER_JMP sub edx, 0x00010000 BEFORE_JMP js LeaveNow AFTER_JMP LoopEntry2: cmp bx,word ptr [rsi + r8 - 1] BEFORE_JMP jz LookupLoopIsZero AFTER_JMP LookupLoop4: and r8d, edx movzx r8d, word ptr [rdi + r8*2] cmp r8d, ebp BEFORE_JMP jbe LeaveNow AFTER_JMP sub edx, 0x00010000 BEFORE_JMP js LeaveNow AFTER_JMP LoopEntry4: cmp bx,word ptr [rsi + r8 - 1] BEFORE_JMP jnz LookupLoop1 jmp LookupLoopIsZero AFTER_JMP /* ;;; do { ;;; match = s->window + cur_match; ;;; if (*(ushf*)(match+best_len-1) != scan_end || ;;; *(ushf*)match != scan_start) continue; ;;; [...] ;;; } while ((cur_match = prev[cur_match & wmask]) > limit ;;; && --chain_length != 0); ;;; ;;; Here is the inner loop of the function. The function will spend the ;;; majority of its time in this loop, and majority of that time will ;;; be spent in the first ten instructions. ;;; ;;; Within this loop: ;;; ebx = scanend ;;; r8d = curmatch ;;; edx = chainlenwmask - i.e., ((chainlen << 16) | wmask) ;;; esi = windowbestlen - i.e., (window + bestlen) ;;; edi = prev ;;; ebp = limit */ .balign 16 LookupLoop: and r8d, edx movzx r8d, word ptr [rdi + r8*2] cmp r8d, ebp BEFORE_JMP jbe LeaveNow AFTER_JMP sub edx, 0x00010000 BEFORE_JMP js LeaveNow AFTER_JMP LoopEntry: cmp bx,word ptr [rsi + r8 - 1] BEFORE_JMP jnz LookupLoop1 AFTER_JMP LookupLoopIsZero: cmp r12w, word ptr [r10 + r8] BEFORE_JMP jnz LookupLoop1 AFTER_JMP //;;; Store the current value of chainlen. mov [chainlenwmask], edx /* ;;; Point edi to the string under scrutiny, and esi to the string we ;;; are hoping to match it up with. In actuality, esi and edi are ;;; both pointed (MAX_MATCH_8 - scanalign) bytes ahead, and edx is ;;; initialized to -(MAX_MATCH_8 - scanalign). */ lea rsi,[r8+r10] mov rdx, 0xfffffffffffffef8 //; -(MAX_MATCH_8) lea rsi, [rsi + r13 + 0x0108] //;MAX_MATCH_8] lea rdi, [r9 + r13 + 0x0108] //;MAX_MATCH_8] prefetcht1 [rsi+rdx] prefetcht1 [rdi+rdx] /* ;;; Test the strings for equality, 8 bytes at a time. At the end, ;;; adjust rdx so that it is offset to the exact byte that mismatched. ;;; ;;; We already know at this point that the first three bytes of the ;;; strings match each other, and they can be safely passed over before ;;; starting the compare loop. So what this code does is skip over 0-3 ;;; bytes, as much as necessary in order to dword-align the edi ;;; pointer. (rsi will still be misaligned three times out of four.) ;;; ;;; It should be confessed that this loop usually does not represent ;;; much of the total running time. Replacing it with a more ;;; straightforward "rep cmpsb" would not drastically degrade ;;; performance. */ LoopCmps: mov rax, [rsi + rdx] xor rax, [rdi + rdx] jnz LeaveLoopCmps mov rax, [rsi + rdx + 8] xor rax, [rdi + rdx + 8] jnz LeaveLoopCmps8 mov rax, [rsi + rdx + 8+8] xor rax, [rdi + rdx + 8+8] jnz LeaveLoopCmps16 add rdx,8+8+8 BEFORE_JMP jnz LoopCmps jmp LenMaximum AFTER_JMP LeaveLoopCmps16: add rdx,8 LeaveLoopCmps8: add rdx,8 LeaveLoopCmps: test eax, 0x0000FFFF jnz LenLower test eax,0xffffffff jnz LenLower32 add rdx,4 shr rax,32 or ax,ax BEFORE_JMP jnz LenLower AFTER_JMP LenLower32: shr eax,16 add rdx,2 LenLower: sub al, 1 adc rdx, 0 //;;; Calculate the length of the match. If it is longer than MAX_MATCH, //;;; then automatically accept it as the best possible match and leave. lea rax, [rdi + rdx] sub rax, r9 cmp eax, MAX_MATCH BEFORE_JMP jge LenMaximum AFTER_JMP /* ;;; If the length of the match is not longer than the best match we ;;; have so far, then forget it and return to the lookup loop. ;/////////////////////////////////// */ cmp eax, r11d jg LongerMatch lea rsi,[r10+r11] mov rdi, prev_ad mov edx, [chainlenwmask] BEFORE_JMP jmp LookupLoop AFTER_JMP /* ;;; s->match_start = cur_match; ;;; best_len = len; ;;; if (len >= nice_match) break; ;;; scan_end = *(ushf*)(scan+best_len-1); */ LongerMatch: mov r11d, eax mov match_start, r8d cmp eax, [nicematch] BEFORE_JMP jge LeaveNow AFTER_JMP lea rsi,[r10+rax] movzx ebx, word ptr [r9 + rax - 1] mov rdi, prev_ad mov edx, [chainlenwmask] BEFORE_JMP jmp LookupLoop AFTER_JMP //;;; Accept the current string, with the maximum possible length. LenMaximum: mov r11d,MAX_MATCH mov match_start, r8d //;;; if ((uInt)best_len <= s->lookahead) return (uInt)best_len; //;;; return s->lookahead; LeaveNow: mov eax, Lookahead cmp r11d, eax cmovng eax, r11d //;;; Restore the stack and return from whence we came. // mov rsi,[save_rsi] // mov rdi,[save_rdi] mov rbx,[save_rbx] mov rbp,[save_rbp] mov r12,[save_r12] mov r13,[save_r13] mov r14,[save_r14] mov r15,[save_r15] ret 0 //; please don't remove this string ! //; Your can freely use gvmat64 in any free or commercial app //; but it is far better don't remove the string in the binary! // db 0dh,0ah,"asm686 with masm, optimised assembly code from Brian Raiter, written 1998, converted to amd 64 by Gilles Vollant 2005",0dh,0ah,0 match_init: ret 0
{ "language": "Assembly" }
Fix build breakage without openssl. From upstream: http://bk1.ntp.org/ntp-stable/?PAGE=patch&REV=5497b345z5MNTuNvJWuqPSje25NQTg Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura ntp-4.2.8.orig/configure.ac ntp-4.2.8/configure.ac --- ntp-4.2.8.orig/configure.ac 2014-12-22 10:16:10.449311393 -0300 +++ ntp-4.2.8/configure.ac 2014-12-22 10:17:30.757215905 -0300 @@ -102,7 +102,7 @@ enable_nls=no LIBOPTS_CHECK_NOBUILD([sntp/libopts]) -NTP_ENABLE_LOCAL_LIBEVENT +NTP_LIBEVENT_CHECK_NOBUILD([2], [sntp/libevent]) NTP_LIBNTP @@ -771,6 +771,10 @@ #### +AC_CHECK_FUNCS([arc4random_buf]) + +#### + saved_LIBS="$LIBS" LIBS="$LIBS $LDADD_LIBNTP" AC_CHECK_FUNCS([daemon]) diff -Nura ntp-4.2.8.orig/libntp/ntp_crypto_rnd.c ntp-4.2.8/libntp/ntp_crypto_rnd.c --- ntp-4.2.8.orig/libntp/ntp_crypto_rnd.c 2014-12-22 10:16:10.430301237 -0300 +++ ntp-4.2.8/libntp/ntp_crypto_rnd.c 2014-12-22 10:18:04.921468163 -0300 @@ -24,6 +24,21 @@ int crypto_rand_init = 0; #endif +#ifndef HAVE_ARC4RANDOM_BUF +static void +arc4random_buf(void *buf, size_t nbytes); + +void +evutil_secure_rng_get_bytes(void *buf, size_t nbytes); + +static void +arc4random_buf(void *buf, size_t nbytes) +{ + evutil_secure_rng_get_bytes(buf, nbytes); + return; +} +#endif + /* * As of late 2014, here's how we plan to provide cryptographic-quality * random numbers: diff -Nura ntp-4.2.8.orig/Makefile.am ntp-4.2.8/Makefile.am --- ntp-4.2.8.orig/Makefile.am 2014-12-22 10:16:10.441307117 -0300 +++ ntp-4.2.8/Makefile.am 2014-12-22 10:16:49.403122474 -0300 @@ -3,6 +3,7 @@ NULL = SUBDIRS = \ + sntp \ scripts \ include \ libntp \ @@ -17,7 +18,6 @@ clockstuff \ kernel \ util \ - sntp \ tests \ $(NULL) @@ -64,7 +64,6 @@ .gcc-warning \ libtool \ html/.datecheck \ - sntp/built-sources-only \ $(srcdir)/COPYRIGHT \ $(srcdir)/.checkChangeLog \ $(NULL) diff -Nura ntp-4.2.8.orig/sntp/configure.ac ntp-4.2.8/sntp/configure.ac --- ntp-4.2.8.orig/sntp/configure.ac 2014-12-22 10:16:10.428300168 -0300 +++ ntp-4.2.8/sntp/configure.ac 2014-12-22 10:24:11.238172928 -0300 @@ -97,11 +97,14 @@ enable_nls=no LIBOPTS_CHECK -AM_COND_IF( - [BUILD_SNTP], - [NTP_LIBEVENT_CHECK], - [NTP_LIBEVENT_CHECK_NOBUILD] -) +# From when we only used libevent for sntp: +#AM_COND_IF( +# [BUILD_SNTP], +# [NTP_LIBEVENT_CHECK], +# [NTP_LIBEVENT_CHECK_NOBUILD] +#) + +NTP_LIBEVENT_CHECK([2]) # Checks for libraries. diff -Nura ntp-4.2.8.orig/sntp/m4/ntp_libevent.m4 ntp-4.2.8/sntp/m4/ntp_libevent.m4 --- ntp-4.2.8.orig/sntp/m4/ntp_libevent.m4 2014-12-22 10:16:10.417294288 -0300 +++ ntp-4.2.8/sntp/m4/ntp_libevent.m4 2014-12-22 10:20:31.757915561 -0300 @@ -1,4 +1,25 @@ -dnl NTP_ENABLE_LOCAL_LIBEVENT -*- Autoconf -*- +# SYNOPSIS -*- Autoconf -*- +# +# NTP_ENABLE_LOCAL_LIBEVENT +# NTP_LIBEVENT_CHECK([MINVERSION [, DIR]]) +# NTP_LIBEVENT_CHECK_NOBUILD([MINVERSION [, DIR]]) +# +# DESCRIPTION +# +# AUTHOR +# +# Harlan Stenn +# +# LICENSE +# +# This file is Copyright (c) 2014 Network Time Foundation +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice, +# author attribution and this notice are preserved. This file is offered +# as-is, without any warranty. + +dnl NTP_ENABLE_LOCAL_LIBEVENT dnl dnl Provide only the --enable-local-libevent command-line option. dnl @@ -29,7 +50,7 @@ dnl but DO NOT invoke DIR/configure if we are going to use our bundled dnl version. This may be the case for nested packages. dnl -dnl provide --enable-local-libevent . +dnl provides --enable-local-libevent . dnl dnl Examples: dnl diff -Nura ntp-4.2.8.orig/util/Makefile.am ntp-4.2.8/util/Makefile.am --- ntp-4.2.8.orig/util/Makefile.am 2014-12-22 10:16:10.435303910 -0300 +++ ntp-4.2.8/util/Makefile.am 2014-12-22 10:21:02.500339706 -0300 @@ -19,6 +19,7 @@ LDADD= ../libntp/libntp.a $(LDADD_LIBNTP) $(LIBM) $(PTHREAD_LIBS) tg2_LDADD= ../libntp/libntp.a $(LDADD_LIBNTP) $(LIBM) ntp_keygen_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a +ntp_keygen_LDADD += $(LDADD_LIBEVENT) ntp_keygen_LDADD += $(LDADD_LIBNTP) $(PTHREAD_LIBS) $(LDADD_NTP) $(LIBM) ntp_keygen_SOURCES = ntp-keygen.c ntp-keygen-opts.c ntp-keygen-opts.h
{ "language": "Assembly" }
/* Linux default implementation for creat. Copyright (C) 2017-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library. If not, see <https://www.gnu.org/licenses/>. */ #include <fcntl.h> #include <sys/types.h> #include <sysdep-cancel.h> #ifndef __OFF_T_MATCHES_OFF64_T /* Create FILE with protections MODE. */ int __creat (const char *file, mode_t mode) { # ifdef __NR_creat return SYSCALL_CANCEL (creat, file, mode); # else return __open (file, O_WRONLY | O_CREAT | O_TRUNC, mode); # endif } weak_alias (__creat, creat) #endif
{ "language": "Assembly" }
// TR1 wctype.h -*- C++ -*- // Copyright (C) 2006-2013 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // Under Section 7 of GPL version 3, you are granted additional // permissions described in the GCC Runtime Library Exception, version // 3.1, as published by the Free Software Foundation. // You should have received a copy of the GNU General Public License and // a copy of the GCC Runtime Library Exception along with this program; // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. /** @file tr1/wctype.h * This is a TR1 C++ Library header. */ #ifndef _GLIBCXX_TR1_WCTYPE_H #define _GLIBCXX_TR1_WCTYPE_H 1 #include <tr1/cwctype> #endif // _GLIBCXX_TR1_WCTYPE_H
{ "language": "Assembly" }
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !gccgo #include "textflag.h" // // System calls for arm, Linux // // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-28 B syscall·Syscall(SB) TEXT ·Syscall6(SB),NOSPLIT,$0-40 B syscall·Syscall6(SB) TEXT ·SyscallNoError(SB),NOSPLIT,$0-24 BL runtime·entersyscall(SB) MOVW trap+0(FP), R7 MOVW a1+4(FP), R0 MOVW a2+8(FP), R1 MOVW a3+12(FP), R2 MOVW $0, R3 MOVW $0, R4 MOVW $0, R5 SWI $0 MOVW R0, r1+16(FP) MOVW $0, R0 MOVW R0, r2+20(FP) BL runtime·exitsyscall(SB) RET TEXT ·RawSyscall(SB),NOSPLIT,$0-28 B syscall·RawSyscall(SB) TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 B syscall·RawSyscall6(SB) TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24 MOVW trap+0(FP), R7 // syscall entry MOVW a1+4(FP), R0 MOVW a2+8(FP), R1 MOVW a3+12(FP), R2 SWI $0 MOVW R0, r1+16(FP) MOVW $0, R0 MOVW R0, r2+20(FP) RET TEXT ·seek(SB),NOSPLIT,$0-28 B syscall·seek(SB)
{ "language": "Assembly" }
config BR2_PACKAGE_XCB_UTIL bool "xcb-util" depends on BR2_PACKAGE_LIBXCB help Libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries. http://xcb.freedesktop.org/
{ "language": "Assembly" }
(module (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) (memory $0 0) (global $~lib/rt/stub/offset (mut i32) (i32.const 0)) (export "memory" (memory $0)) (start $~start) (func $~lib/rt/stub/__alloc (param $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) global.get $~lib/rt/stub/offset i32.const 16 i32.add local.tee $4 i32.const 16 i32.add local.tee $1 memory.size local.tee $3 i32.const 16 i32.shl local.tee $2 i32.gt_u if local.get $3 local.get $1 local.get $2 i32.sub i32.const 65535 i32.add i32.const -65536 i32.and i32.const 16 i32.shr_u local.tee $2 local.get $3 local.get $2 i32.gt_s select memory.grow i32.const 0 i32.lt_s if local.get $2 memory.grow i32.const 0 i32.lt_s if unreachable end end end local.get $1 global.set $~lib/rt/stub/offset local.get $4 i32.const 16 i32.sub local.tee $1 i32.const 16 i32.store local.get $1 i32.const 1 i32.store offset=4 local.get $1 local.get $0 i32.store offset=8 local.get $1 i32.const 0 i32.store offset=12 ) (func $~start i32.const 1024 global.set $~lib/rt/stub/offset i32.const 3 call $~lib/rt/stub/__alloc i32.const 4 call $~lib/rt/stub/__alloc ) )
{ "language": "Assembly" }
//+build !noasm !appengine // // Minio Cloud Storage, (C) 2017 Minio, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // Use github.com/minio/asm2plan9s on this file to assemble ARM instructions to // the opcodes of their Plan9 equivalents TEXT ·updateArm64(SB), 7, $0 MOVD state+0(FP), R0 MOVD msg_base+8(FP), R1 MOVD msg_len+16(FP), R2 // length of message SUBS $32, R2 BMI complete // Definition of registers // v0 = v0.lo // v1 = v0.hi // v2 = v1.lo // v3 = v1.hi // v4 = mul0.lo // v5 = mul0.hi // v6 = mul1.lo // v7 = mul1.hi // Load constants table pointer MOVD $·constants(SB), R3 // and load constants into v28, v29, and v30 WORD $0x4c40607c // ld1 {v28.16b-v30.16b}, [x3] WORD $0x4cdf2c00 // ld1 {v0.2d-v3.2d}, [x0], #64 WORD $0x4c402c04 // ld1 {v4.2d-v7.2d}, [x0] SUBS $64, R0 loop: // Main loop WORD $0x4cdfa83a // ld1 {v26.4s-v27.4s}, [x1], #32 // Add message WORD $0x4efa8442 // add v2.2d, v2.2d, v26.2d WORD $0x4efb8463 // add v3.2d, v3.2d, v27.2d // v1 += mul0 WORD $0x4ee48442 // add v2.2d, v2.2d, v4.2d WORD $0x4ee58463 // add v3.2d, v3.2d, v5.2d // First pair of multiplies WORD $0x4e1d200a // tbl v10.16b,{v0.16b,v1.16b},v29.16b WORD $0x4e1e204b // tbl v11.16b,{v2.16b,v3.16b},v30.16b WORD $0x2eaac16c // umull v12.2d, v11.2s, v10.2s WORD $0x6eaac16d // umull2 v13.2d, v11.4s, v10.4s // v0 += mul1 WORD $0x4ee68400 // add v0.2d, v0.2d, v6.2d WORD $0x4ee78421 // add v1.2d, v1.2d, v7.2d // Second pair of multiplies WORD $0x4e1d204f // tbl v15.16b,{v2.16b,v3.16b},v29.16b WORD $0x4e1e200e // tbl v14.16b,{v0.16b,v1.16b},v30.16b // EOR multiplication result in WORD $0x6e2c1c84 // eor v4.16b,v4.16b,v12.16b WORD $0x6e2d1ca5 // eor v5.16b,v5.16b,v13.16b WORD $0x2eaec1f0 // umull v16.2d, v15.2s, v14.2s WORD $0x6eaec1f1 // umull2 v17.2d, v15.4s, v14.4s // First pair of zipper-merges WORD $0x4e1c0052 // tbl v18.16b,{v2.16b},v28.16b WORD $0x4ef28400 // add v0.2d, v0.2d, v18.2d WORD $0x4e1c0073 // tbl v19.16b,{v3.16b},v28.16b WORD $0x4ef38421 // add v1.2d, v1.2d, v19.2d // Second pair of zipper-merges WORD $0x4e1c0014 // tbl v20.16b,{v0.16b},v28.16b WORD $0x4ef48442 // add v2.2d, v2.2d, v20.2d WORD $0x4e1c0035 // tbl v21.16b,{v1.16b},v28.16b WORD $0x4ef58463 // add v3.2d, v3.2d, v21.2d // EOR multiplication result in WORD $0x6e301cc6 // eor v6.16b,v6.16b,v16.16b WORD $0x6e311ce7 // eor v7.16b,v7.16b,v17.16b SUBS $32, R2 BPL loop // Store result WORD $0x4c9f2c00 // st1 {v0.2d-v3.2d}, [x0], #64 WORD $0x4c002c04 // st1 {v4.2d-v7.2d}, [x0] complete: RET // Constants for TBL instructions DATA ·constants+0x0(SB)/8, $0x000f010e05020c03 // zipper merge constant DATA ·constants+0x8(SB)/8, $0x070806090d0a040b DATA ·constants+0x10(SB)/8, $0x0f0e0d0c07060504 // setup first register for multiply DATA ·constants+0x18(SB)/8, $0x1f1e1d1c17161514 DATA ·constants+0x20(SB)/8, $0x0b0a090803020100 // setup second register for multiply DATA ·constants+0x28(SB)/8, $0x1b1a191813121110 GLOBL ·constants(SB), 8, $48
{ "language": "Assembly" }
.TH scancel "1" "Slurm Commands" "July 2020" "Slurm Commands" .SH "NAME" scancel \- Used to signal jobs or job steps that are under the control of Slurm. .SH "SYNOPSIS" \fBscancel\fR [\fIOPTIONS\fR...] [\fIjob_id\fR[_\fIarray_id\fR][.\fIstep_id\fR]] [\fIjob_id\fR[_\fIarray_id\fR][.\fIstep_id\fR]...] .SH "DESCRIPTION" \fBscancel\fR is used to signal or cancel jobs, job arrays or job steps. An arbitrary number of jobs or job steps may be signaled using job specification filters or a space separated list of specific job and/or job step IDs. If the job ID of a job array is specified with an array ID value then only that job array element will be cancelled. If the job ID of a job array is specified without an array ID value then all job array elements will be cancelled. While a heterogeneous job is in pending state, only the entire job can be cancelled rather than its individual components. A request to cancel an individual component of a heterogeneous job not in pending state will return an error. After the job has begun execution, the individual component can be cancelled. A job or job step can only be signaled by the owner of that job or user root. If an attempt is made by an unauthorized user to signal a job or job step, an error message will be printed and the job will not be signaled. .SH "OPTIONS" .TP \fB\-A\fR, \fB\-\-account\fR=\fIaccount\fR Restrict the scancel operation to jobs under this charge account. .TP \fB\-b\fR, \fB\-\-batch\fR By default, signals other than SIGKILL are not sent to the batch step (the shell script). With this option \fBscancel\fR signals only the batch step, but not any other steps. This is useful when the shell script has to trap the signal and take some application defined action. Note that most shells cannot handle signals while a command is running (child process of the batch step), the shell use to wait wait until the command ends to then handle the signal. Children of the batch step are not signaled with this option, use \fB\-f\fR, \fB\-\-full\fR instead. NOTE: If used with \fB\-f\fR, \fB\-\-full\fR, this option ignored. NOTE: This option is not applicable if \fIstep_id\fR is specified. NOTE: The shell itself may exit upon receipt of many signals. You may avoid this by explicitly trap signals within the shell script (e.g. "trap <arg> <signals>"). See the shell documentation for details. .TP \fB\-\-ctld\fR Send the job signal request to the slurmctld daemon rather than directly to the slurmd daemons. This increases overhead, but offers better fault tolerance. This is the default behavior on architectures using front end nodes (e.g. Cray ALPS computers) or when the \fB\-\-clusters\fR option is used. .TP \fB\-f\fR, \fB\-\-full\fR By default, signals other than SIGKILL are not sent to the batch step (the shell script). With this option \fBscancel\fR signals also the batch script and its children processes. Most shells cannot handle signals while a command is running (child process of the batch step), the shell use to wait until the command ends to then handle the signal. Unlike \fB\-b\fR, \fB\-\-batch\fR, children of the batch step are also signaled with this option. NOTE: srun steps are also children of the batch step, so steps are also signaled with this option. .TP \fB\-\-help\fR Print a help message describing all \fBscancel\fR options. .TP \fB\-H\fR, \fB\-\-hurry\fR Do not stage out any burst buffer data. .TP \fB\-i\fR, \fB\-\-interactive\fR Interactive mode. Confirm each job_id.step_id before performing the cancel operation. .TP \fB\-M\fR, \fB\-\-clusters\fR=<\fIstring\fR> Cluster to issue commands to. Implies \fB\-\-ctld\fR. Note that the SlurmDBD must be up for this option to work properly. .TP \fB\-n\fR, \fB\-\-jobname\fR=\fIjob_name\fR, \fB\-\-name\fR=\fIjob_name\fR Restrict the scancel operation to jobs with this job name. .TP \fB\-p\fR, \fB\-\-partition\fR=\fIpartition_name\fR Restrict the scancel operation to jobs in this partition. .TP \fB\-q\fR, \fB\-\-qos\fR=\fIqos\fR Restrict the scancel operation to jobs with this quality of service. .TP \fB\-Q\fR, \fB\-\-quiet\fR Do not report an error if the specified job is already completed. This option is incompatible with the \fB\-\-verbose\fR option. .TP \fB\-R\fR, \fB\-\-reservation\fR=\fIreservation_name\fR Restrict the scancel operation to jobs with this reservation name. .TP \fB\-\-sibling\fR=\fIcluster_name\fR Remove an active sibling job from a federated job. .TP \fB\-s\fR, \fB\-\-signal\fR=\fIsignal_name\fR The name or number of the signal to send. If this option is not used the specified job or step will be terminated. \fBNote\fR. If this option is used the signal is sent directly to the slurmd where the job is running bypassing the slurmctld thus the job state will not change even if the signal is delivered to it. Use the \fIscontrol\fR command if you want the job state change be known to slurmctld. .TP \fB\-t\fR, \fB\-\-state\fR=\fIjob_state_name\fR Restrict the scancel operation to jobs in this state. \fIjob_state_name\fR may have a value of either "PENDING", "RUNNING" or "SUSPENDED". .TP \fB\-u\fR, \fB\-\-user\fR=\fIuser_name\fR Restrict the scancel operation to jobs owned by this user. .TP \fB\-\-usage\fR Print a brief help message listing the \fBscancel\fR options. .TP \fB\-v\fR, \fB\-\-verbose\fR Print additional logging. Multiple v's increase logging detail. This option is incompatible with the \fB\-\-quiet\fR option. .TP \fB\-V\fR, \fB\-\-version\fR Print the version number of the scancel command. .TP \fB\-w\fR, \fB\-\-nodelist=\fIhost1,host2,...\fR Cancel any jobs using any of the given hosts. The list may be specified as a comma\-separated list of hosts, a range of hosts (host[1\-5,7,...] for example), or a filename. The host list will be assumed to be a filename only if it contains a "/" character. .TP \fB\-\-wckey\fR=\fIwckey\fR Restrict the scancel operation to jobs using this workload characterization key. .TP ARGUMENTS .TP \fIjob_id\fP The Slurm job ID to be signaled. .TP \fIstep_id\fP The step ID of the job step to be signaled. If not specified, the operation is performed at the level of a job. If neither \fB\-\-batch\fR nor \fB\-\-signal\fR are used, the entire job will be terminated. When \fB\-\-batch\fR is used, the batch shell processes will be signaled. The child processes of the shell will not be signaled by Slurm, but the shell may forward the signal. When \fB\-\-batch\fR is not used but \fB\-\-signal\fR is used, then all job steps will be signaled, but the batch script itself will not be signaled. .SH "PERFORMANCE" .PP Executing \fBscancel\fR sends a remote procedure call to \fBslurmctld\fR. If enough calls from \fBscancel\fR or other Slurm client commands that send remote procedure calls to the \fBslurmctld\fR daemon come in at once, it can result in a degradation of performance of the \fBslurmctld\fR daemon, possibly resulting in a denial of service. .PP Do not run \fBscancel\fR or other Slurm client commands that send remote procedure calls to \fBslurmctld\fR from loops in shell scripts or other programs. Ensure that programs limit calls to \fBscancel\fR to the minimum necessary for the information you are trying to gather. .SH "ENVIRONMENT VARIABLES" .PP Some \fBscancel\fR options may be set via environment variables. These environment variables, along with their corresponding options, are listed below. (Note: commandline options will always override these settings) .TP 20 \fBSCANCEL_ACCOUNT\fR \fB\-A\fR, \fB\-\-account\fR=\fIaccount\fR .TP \fBSCANCEL_BATCH\fR \fB\-b, \-\-batch\fR .TP \fBSCANCEL_CTLD\fR \fB\-\-ctld\fR .TP \fBSCANCEL_FULL\fR \fB\-f, \-\-full\fR .TP \fBSCANCEL_HURRY\fR \fB\-H\fR, \fB\-\-hurry\fR .TP \fBSCANCEL_INTERACTIVE\fR \fB\-i\fR, \fB\-\-interactive\fR .TP \fBSCANCEL_NAME\fR \fB\-n\fR, \fB\-\-name\fR=\fIjob_name\fR .TP \fBSCANCEL_PARTITION\fR \fB\-p\fR, \fB\-\-partition\fR=\fIpartition_name\fR .TP \fBSCANCEL_QOS\fR \fB\-q\fR, \fB\-\-qos\fR=\fIqos\fR .TP \fBSCANCEL_STATE\fR \fB\-t\fR, \fB\-\-state\fR=\fIjob_state_name\fR .TP \fBSCANCEL_USER\fR \fB\-u\fR, \fB\-\-user\fR=\fIuser_name\fR .TP \fBSCANCEL_VERBOSE\fR \fB\-v\fR, \fB\-\-verbose\fR .TP \fBSCANCEL_WCKEY\fR \fB\-\-wckey\fR=\fIwckey\fR .TP \fBSLURM_CONF\fR The location of the Slurm configuration file. .TP \fBSLURM_CLUSTERS\fR \fB\-M\fR, \fB\-\-clusters\fR .SH "NOTES" .LP If multiple filters are supplied (e.g. \fB\-\-partition\fR and \fB\-\-name\fR) only the jobs satisfying all of the filtering options will be signaled. .LP Cancelling a job step will not result in the job being terminated. The job must be cancelled to release a resource allocation. .LP To cancel a job, invoke \fBscancel\fR without \-\-signal option. This will send first a SIGCONT to all steps to eventually wake them up followed by a SIGTERM, then wait the KillWait duration defined in the slurm.conf file and finally if they have not terminated send a SIGKILL. This gives time for the running job/step(s) to clean up. .LP If a signal value of "KILL" is sent to an entire job, this will cancel the active job steps but not cancel the job itself. .LP On Cray systems, all signals \fBexcept\fR SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU, SIGURG, or SIGWINCH cause the ALPS reservation to be released. The job however will not be terminated except in the case of SIGKILL and may then be used for post processing. .SH "AUTHORIZATION" When using SlurmDBD, users who have an AdminLevel defined (Operator or Admin) and users who are account coordinators are given the authority to invoke scancel on other users jobs. .SH "EXAMPLES" .TP Send SIGTERM to steps 1 and 3 of job 1234: scancel \-\-signal=TERM 1234.1 1234.3 .TP Cancel job 1234 along with all of its steps: scancel 1234 .TP Send SIGKILL to all steps of job 1235, but do not cancel the job itself: scancel \-\-signal=KILL 1235 .TP Send SIGUSR1 to the batch shell processes of job 1236: scancel \-\-signal=USR1 \-\-batch 1236 .TP Cancel job all pending jobs belonging to user "bob" in partition "debug": scancel \-\-state=PENDING \-\-user=bob \-\-partition=debug .TP Cancel only array ID 4 of job array 1237 scancel 1237_4 .SH "COPYING" Copyright (C) 2002-2007 The Regents of the University of California. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). .br Copyright (C) 2008-2011 Lawrence Livermore National Security. .br Copyright (C) 2010\-2015 SchedMD LLC. .LP This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>. .LP Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .LP Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .SH "SEE ALSO" \fBslurm_kill_job\fR (3), \fBslurm_kill_job_step\fR (3)
{ "language": "Assembly" }
RUN: rm -rf %t RUN: mkdir -p %t RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40113f" > %t.input RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64.debuglink 0x40113f" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401020" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40110e" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401160" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x8dc" >> %t.input RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0xa05" >> %t.input RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x987" >> %t.input RUN: echo "%p/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 0x568" >> %t.input RUN: cp "%p/Inputs/dwarfdump-test3.elf-x86-64-space" "%t/dwarfdump-test3.elf-x86-64 space" RUN: echo "\"%t/dwarfdump-test3.elf-x86-64 space\" 0x640" >> %t.input RUN: echo "\"%t/dwarfdump-test3.elf-x86-64 space\" 0x633" >> %t.input RUN: echo "\"%t/dwarfdump-test3.elf-x86-64 space\" 0x62d" >> %t.input RUN: echo "%p/Inputs/macho-universal 0x1f84" >> %t.input RUN: echo "%p/Inputs/macho-universal:i386 0x1f67" >> %t.input RUN: echo "%p/Inputs/macho-universal:x86_64 0x100000f05" >> %t.input RUN: echo "%p/Inputs/llvm-symbolizer-dwo-test 0x400514" >> %t.input RUN: echo "%p/Inputs/llvm-symbolizer-local-mem-func-gcc.elf-x86-64 0x61a" >> %t.input RUN: echo "%p/Inputs/fission-ranges.elf-x86_64 0x720" >> %t.input RUN: echo "%p/Inputs/arange-overlap.elf-x86_64 0x714" >> %t.input RUN: cp %p/Inputs/split-dwarf-test.dwo %t RUN: echo "%p/Inputs/split-dwarf-test 0x400504" >> %t.input RUN: echo "%p/Inputs/split-dwarf-test 0x4004f4" >> %t.input RUN: echo "%p/Inputs/cross-cu-inlining.x86_64-macho.o 0x17" >> %t.input RUN: cp %p/Inputs/split-dwarf-multiple-cu.dwo %t RUN: echo "%p/Inputs/split-dwarf-multiple-cu.o 0x4" >> %t.input RUN: cp %p/Inputs/split-dwarf-addr-object-relocation.dwo %t RUN: echo "%p/Inputs/split-dwarf-addr-object-relocation.o 0x14" >> %t.input RUN: cp %p/Inputs/split-dwarf-dwp.o %t RUN: cp %p/Inputs/split-dwarf-dwp.o.dwp %t RUN: echo "%t/split-dwarf-dwp.o 0x4" >> %t.input RUN: cd %t RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \ RUN: --default-arch=i386 < %t.input | FileCheck --check-prefix=CHECK --check-prefix=SPLIT --check-prefix=DWO %s Ensure we get the same results in the absence of gmlt-like data in the executable but the presence of a .dwo file RUN: echo "%p/Inputs/split-dwarf-test-nogmlt 0x400504" >> %t.input RUN: echo "%p/Inputs/split-dwarf-test-nogmlt 0x4004f4" >> %t.input RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \ RUN: --default-arch=i386 < %t.input | FileCheck --check-prefix=SPLIT --check-prefix=DWO %s Ensure we get gmlt like results in the absence of a .dwo file but the presence of gmlt-like data in the executable RUN: rm %t/split-dwarf-test.dwo RUN: echo "%p/Inputs/split-dwarf-test 0x400504" >> %t.input RUN: echo "%p/Inputs/split-dwarf-test 0x4004f4" >> %t.input RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \ RUN: --default-arch=i386 < %t.input | FileCheck --check-prefix=SPLIT --check-prefix=NODWO %s RUN: cp %p/Inputs/split-dwarf-dwp.o %t/split-dwarf-dwp-different-name.o RUN: echo "%t/split-dwarf-dwp-different-name.o 0x54" > %t.input RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \ RUN: --default-arch=i386 --dwp=%p/Inputs/split-dwarf-dwp.o.dwp < %t.input | FileCheck --check-prefix=DWP %s CHECK: main CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16 CHECK: main CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16 CHECK: _start CHECK: _Z1fii CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11 CHECK: DummyClass CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4 CHECK: a CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-helper.cc:2 CHECK: main CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-main.cc:4 CHECK: _Z1cv CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2 CHECK: inlined_h CHECK-NEXT: dwarfdump-inl-test.h:2 CHECK-NEXT: inlined_g CHECK-NEXT: dwarfdump-inl-test.h:7 CHECK-NEXT: inlined_f CHECK-NEXT: dwarfdump-inl-test.cc:3 CHECK-NEXT: main CHECK-NEXT: dwarfdump-inl-test.cc:8 CHECK: inlined_g CHECK-NEXT: dwarfdump-inl-test.h:7 CHECK-NEXT: inlined_f CHECK-NEXT: dwarfdump-inl-test.cc:3 CHECK-NEXT: main CHECK-NEXT: dwarfdump-inl-test.cc:8 CHECK: inlined_f CHECK-NEXT: dwarfdump-inl-test.cc:3 CHECK-NEXT: main CHECK-NEXT: dwarfdump-inl-test.cc:8 CHECK: inlined_h CHECK-NEXT: dwarfdump-inl-test.h:3 CHECK-NEXT: inlined_g CHECK-NEXT: dwarfdump-inl-test.h:7 CHECK-NEXT: inlined_f CHECK-NEXT: dwarfdump-inl-test.cc:3 CHECK-NEXT: main CHECK-NEXT: dwarfdump-inl-test.cc:8 CHECK: C CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test3.cc:3 CHECK: _Z3do1v CHECK-NEXT: /tmp/include{{[/\\]}}dwarfdump-test3-decl.h:7 CHECK: _Z3do2v CHECK-NEXT: /tmp/dbginfo{{[/\\]}}include{{[/\\]}}dwarfdump-test3-decl2.h:1 CHECK: main CHECK: _Z3inci CHECK: _Z3inci CHECK: main CHECK-NEXT: llvm-symbolizer-dwo-test.cc:11 CHECK-NOT: local_mem_func CHECK: _ZZ2f1vEN3foo14local_mem_funcEv CHECK-NEXT: {{.*}}local-mem-func.cpp:3:0 CHECK: main CHECK-NEXT: {{.*}}fission-ranges.cc:6 CHECK: _ZN1S3bazEv CHECK-NEXT: {{.*}}arange-overlap.cc:6 DWO: _Z2f2v NODWO: {{^f2$}} SPLIT-NEXT: {{.*}}split-dwarf-test.cpp SPLIT-NEXT: main SPLIT-NEXT: {{.*}}split-dwarf-test.cpp SPLIT: _Z2f1v SPLIT-NEXT: {{.*}}split-dwarf-test.cpp ; func has been inlined into main by LTO. Check that the symbolizer is able ; to resolve the cross-cu reference and retrieve func's name CHECK: func CHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:16:3 CHECK-NEXT: main CHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:11:0 CHECK: f2 CHECK-NEXT: split-dwarf-multiple-cu.cpp:3:3 CHECK-NEXT: f3 CHECK-NEXT: split-dwarf-multiple-cu.cpp:6:0 CHECK: f2 CHECK-NEXT: split-dwarf-addr-object-relocation.cpp:3:3 CHECK-NEXT: f3 CHECK-NEXT: split-dwarf-addr-object-relocation.cpp:6:0 DWP: f2 DWP-NEXT: split-dwarf-dwp.cpp:3:3 DWP-NEXT: main DWP-NEXT: split-dwarf-dwp.cpp:10:0 RUN: echo "unexisting-file 0x1234" > %t.input2 RUN: llvm-symbolizer < %t.input2 2>&1 | FileCheck %s --check-prefix=MISSING-FILE MISSING-FILE: LLVMSymbolizer: error reading file: {{[Nn]}}o such file or directory RUN: echo "%p/Inputs/macho-universal 0x1f84" > %t.input3 RUN: llvm-symbolizer < %t.input3 | FileCheck %s --check-prefix=UNKNOWN-ARCH UNKNOWN-ARCH-NOT: main UNKNOWN-ARCH: ?? UNKNOWN-ARCH-NOT: main RUN: echo "0x40113f" > %t.input4 RUN: echo "0x401020" >> %t.input4 RUN: llvm-symbolizer --obj %p/Inputs/dwarfdump-test.elf-x86-64 < %t.input4 \ RUN: | FileCheck %s --check-prefix=BINARY BINARY: main BINARY-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16 BINARY: _start RUN: echo "0x401140" > %t.input5 RUN: echo "0x401020" >> %t.input5 RUN: echo "0x401120" >> %t.input5 RUN: llvm-symbolizer --obj %p/Inputs/llvm-symbolizer-test.elf-x86-64 < %t.input5 \ RUN: | FileCheck %s --check-prefix=BINARY_C BINARY_C: main BINARY_C-NEXT: /tmp/dbginfo{{[/\\]}}llvm-symbolizer-test.c:10 BINARY_C: _start BINARY_C: {{g$}} RUN: echo "0x1f1" > %t.input6 RUN: llvm-symbolizer --obj %p/Inputs/shared-object-stripped.elf-i386 < %t.input6 \ RUN: | FileCheck %s --check-prefix=STRIPPED STRIPPED: global_func RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" > %t.input7 RUN: llvm-symbolizer --functions=short --demangle=false < %t.input7 \ RUN: | FileCheck %s --check-prefix=SHORT_FUNCTION_NAME RUN: llvm-symbolizer --functions=short -C=false < %t.input7 \ RUN: | FileCheck %s --check-prefix=SHORT_FUNCTION_NAME SHORT_FUNCTION_NAME-NOT: _Z1cv
{ "language": "Assembly" }
//------------------------------------------------------------------------- /* Copyright (C) 1997, 2005 - 3D Realms Entertainment This file is part of Shadow Warrior version 1.2 Shadow Warrior is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Original Source: 1997 - Frank Maddin and Jim Norwood Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms */ //------------------------------------------------------------------------- #ifdef MAKE_STAG_ENUM #define STAG_ENTRY(st1_name, number, flgs) st1_name = number, #endif #ifdef MAKE_STAG_TABLE #define STAG_ENTRY(st1_name, number, flgs) \ strcpy(StagInfo[number].name, #st1_name); \ StagInfo[number].flags = flgs; #endif #define STAGF_MATCH_TAG2 (BIT(31)) STAG_ENTRY(SECT_SINK, 0, 0) STAG_ENTRY(SECT_OPERATIONAL, 1, 0) STAG_ENTRY(SECT_CURRENT, 3, 0) STAG_ENTRY(SECT_NO_RIDE, 5, 0) STAG_ENTRY(SECT_DIVE_AREA, 7, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_UNDERWATER, 8, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_UNDERWATER2, 9, STAGF_MATCH_TAG2) STAG_ENTRY(SO_ANGLE, 16, 0) STAG_ENTRY(SECT_FLOOR_PAN, 19, 0) STAG_ENTRY(SECT_CEILING_PAN, 21, 0) STAG_ENTRY(SECT_WALL_PAN_SPEED, 23, 0) STAG_ENTRY(SECT_WALL_PAN_ANG, 24, 0) STAG_ENTRY(SECT_DEBRIS_SEWER, 25, 0) STAG_ENTRY(SECT_SO_CENTER, 27, 0) STAG_ENTRY(SECT_MATCH, 28, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_LOCK_DOOR, 29, 0) STAG_ENTRY(SPRI_CLIMB_MARKER, 30, 0) STAG_ENTRY(SECT_SO_SPRITE_OBJ, 31, 0) STAG_ENTRY(SECT_SO_DONT_BOB, 32, 0) STAG_ENTRY(SECT_SO_SINK_DEST, 33, 0) STAG_ENTRY(SECT_SO_DONT_SINK, 34, 0) STAG_ENTRY(SECT_SO_FORM_WHIRLPOOL, 37, 0) STAG_ENTRY(SECT_ACTOR_BLOCK, 38, 0) STAG_ENTRY(SECT_SO_CLIP_DIST, 39, 0) STAG_ENTRY(MULTI_PLAYER_START, 42, 0) STAG_ENTRY(FIREBALL_TRAP, 43, STAGF_MATCH_TAG2) STAG_ENTRY(BOLT_TRAP, 44, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_SO_DONT_ROTATE, 45, 0) STAG_ENTRY(PARALLAX_LEVEL, 46, 0) STAG_ENTRY(SECT_DONT_COPY_PALETTE, 47, 0) STAG_ENTRY(MULTI_COOPERATIVE_START, 48, 0) STAG_ENTRY(SO_SET_SPEED, 49, 0) STAG_ENTRY(SO_SPIN, 50, 0) STAG_ENTRY(SO_SPIN_REVERSE, 51, 0) STAG_ENTRY(SO_BOB_START, 52, 0) STAG_ENTRY(SO_BOB_SPEED, 53, 0) STAG_ENTRY(SO_TURN_SPEED, 55, 0) STAG_ENTRY(LAVA_ERUPT, 56, 0) STAG_ENTRY(SECT_EXPLODING_CEIL_FLOOR, 57, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_COPY_DEST, 58, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_COPY_SOURCE, 59, STAGF_MATCH_TAG2) STAG_ENTRY(SO_SHOOT_POINT, 62, 0) STAG_ENTRY(SPEAR_TRAP, 63, STAGF_MATCH_TAG2) STAG_ENTRY(SO_SYNC1, 64, 0) STAG_ENTRY(SO_SYNC2, 65, 0) STAG_ENTRY(DEMO_CAMERA, 66, 0) STAG_ENTRY(SO_LIMIT_TURN, 68, 0) STAG_ENTRY(SPAWN_SPOT, 69, STAGF_MATCH_TAG2) STAG_ENTRY(SO_MATCH_EVENT, 70, STAGF_MATCH_TAG2) STAG_ENTRY(SO_SLOPE_FLOOR_TO_POINT, 71, 0) STAG_ENTRY(SO_SLOPE_CEILING_TO_POINT, 72, 0) STAG_ENTRY(SO_TORNADO, 73, 0) STAG_ENTRY(SO_FLOOR_MORPH, 74, 0) STAG_ENTRY(SO_AMOEBA, 75, 0) STAG_ENTRY(SO_MAX_DAMAGE, 76, 0) STAG_ENTRY(SO_RAM_DAMAGE, 77, 0) STAG_ENTRY(SO_CLIP_BOX, 78, 0) STAG_ENTRY(SO_SLIDE, 79, 0) STAG_ENTRY(SO_KILLABLE, 80, 0) STAG_ENTRY(SO_AUTO_TURRET, 81, 0) STAG_ENTRY(SECT_DAMAGE, 82, 0) STAG_ENTRY(WARP_TELEPORTER, 84, STAGF_MATCH_TAG2) STAG_ENTRY(WARP_CEILING_PLANE, 85, STAGF_MATCH_TAG2) STAG_ENTRY(WARP_FLOOR_PLANE, 86, STAGF_MATCH_TAG2) STAG_ENTRY(WARP_COPY_SPRITE1, 87, STAGF_MATCH_TAG2) STAG_ENTRY(WARP_COPY_SPRITE2, 88, STAGF_MATCH_TAG2) STAG_ENTRY(PLAX_GLOB_Z_ADJUST, 90, 0) STAG_ENTRY(PLAX_Z_ADJUST, 91, 0) STAG_ENTRY(SECT_VATOR, 92, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_VATOR_DEST, 94, 0) STAG_ENTRY(CEILING_Z_ADJUST, 97, 0) STAG_ENTRY(FLOOR_Z_ADJUST, 98, 0) STAG_ENTRY(FLOOR_SLOPE_DONT_DRAW, 99, 0) STAG_ENTRY(SO_SCALE_INFO, 100, 0) STAG_ENTRY(SO_SCALE_POINT_INFO, 101, 0) STAG_ENTRY(SO_SCALE_XY_MULT, 102, 0) STAG_ENTRY(SECT_WALL_MOVE, 103, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_WALL_MOVE_CANSEE, 104, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_SPIKE, 106, STAGF_MATCH_TAG2) STAG_ENTRY(LIGHTING, 108, STAGF_MATCH_TAG2) STAG_ENTRY(LIGHTING_DIFFUSE, 109, STAGF_MATCH_TAG2) STAG_ENTRY(VIEW_THRU_CEILING, 120, 0) STAG_ENTRY(VIEW_THRU_FLOOR, 121, 0) STAG_ENTRY(VIEW_LEVEL1, 110, 0) STAG_ENTRY(VIEW_LEVEL2, 111, 0) STAG_ENTRY(VIEW_LEVEL3, 112, 0) STAG_ENTRY(VIEW_LEVEL4, 113, 0) STAG_ENTRY(VIEW_LEVEL5, 114, 0) STAG_ENTRY(VIEW_LEVEL6, 115, 0) STAG_ENTRY(SO_WALL_DONT_MOVE_UPPER, 130, STAGF_MATCH_TAG2) STAG_ENTRY(SO_WALL_DONT_MOVE_LOWER, 131, STAGF_MATCH_TAG2) STAG_ENTRY(BREAKABLE, 132, STAGF_MATCH_TAG2) STAG_ENTRY(QUAKE_SPOT, 133, STAGF_MATCH_TAG2) STAG_ENTRY(SOUND_SPOT, 134, STAGF_MATCH_TAG2) STAG_ENTRY(SLIDE_SECTOR, 135, 0) STAG_ENTRY(CEILING_FLOOR_PIC_OVERRIDE, 136, 0) STAG_ENTRY(TRIGGER_SECTOR, 140, STAGF_MATCH_TAG2) STAG_ENTRY(DELETE_SPRITE, 141, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_ROTATOR, 143, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_ROTATOR_PIVOT, 144, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_SLIDOR, 145, STAGF_MATCH_TAG2) STAG_ENTRY(SECT_CHANGOR, 146, STAGF_MATCH_TAG2) STAG_ENTRY(SO_DRIVABLE_ATTRIB, 147, 0) STAG_ENTRY(WALL_DONT_STICK, 148, 0) STAG_ENTRY(SPAWN_ITEMS, 149, 0) STAG_ENTRY(STOP_SOUND_SPOT, 150, 0) STAG_ENTRY(BOUND_FLOOR_UPPER, 200, 0) STAG_ENTRY(BOUND_FLOOR_LOWER, 201, 0) STAG_ENTRY(BOUND_FLOOR_BASE_OFFSET, 202, 0) STAG_ENTRY(BOUND_FLOOR_OFFSET, 203, 0) STAG_ENTRY(BOUND_SO_UPPER0, 500, 0) STAG_ENTRY(BOUND_SO_LOWER0, 501, 0) STAG_ENTRY(BOUND_SO_UPPER1, 505, 0) STAG_ENTRY(BOUND_SO_LOWER1, 506, 0) STAG_ENTRY(BOUND_SO_UPPER2, 510, 0) STAG_ENTRY(BOUND_SO_LOWER2, 511, 0) STAG_ENTRY(BOUND_SO_UPPER3, 515, 0) STAG_ENTRY(BOUND_SO_LOWER3, 516, 0) STAG_ENTRY(BOUND_SO_UPPER4, 520, 0) STAG_ENTRY(BOUND_SO_LOWER4, 521, 0) STAG_ENTRY(BOUND_SO_UPPER5, 525, 0) STAG_ENTRY(BOUND_SO_LOWER5, 526, 0) STAG_ENTRY(BOUND_SO_UPPER6, 530, 0) STAG_ENTRY(BOUND_SO_LOWER6, 531, 0) STAG_ENTRY(BOUND_SO_UPPER7, 535, 0) STAG_ENTRY(BOUND_SO_LOWER7, 536, 0) STAG_ENTRY(BOUND_SO_UPPER8, 540, 0) STAG_ENTRY(BOUND_SO_LOWER8, 541, 0) STAG_ENTRY(BOUND_SO_UPPER9, 545, 0) STAG_ENTRY(BOUND_SO_LOWER9, 546, 0) STAG_ENTRY(BOUND_SO_UPPER10, 550, 0) STAG_ENTRY(BOUND_SO_LOWER10, 551, 0) STAG_ENTRY(BOUND_SO_UPPER11, 555, 0) STAG_ENTRY(BOUND_SO_LOWER11, 556, 0) STAG_ENTRY(BOUND_SO_UPPER12, 560, 0) STAG_ENTRY(BOUND_SO_LOWER12, 561, 0) STAG_ENTRY(BOUND_SO_UPPER13, 565, 0) STAG_ENTRY(BOUND_SO_LOWER13, 566, 0) STAG_ENTRY(BOUND_SO_UPPER14, 570, 0) STAG_ENTRY(BOUND_SO_LOWER14, 571, 0) STAG_ENTRY(BOUND_SO_UPPER15, 575, 0) STAG_ENTRY(BOUND_SO_LOWER15, 576, 0) STAG_ENTRY(BOUND_SO_UPPER16, 580, 0) STAG_ENTRY(BOUND_SO_LOWER16, 581, 0) STAG_ENTRY(BOUND_SO_UPPER17, 585, 0) STAG_ENTRY(BOUND_SO_LOWER17, 586, 0) STAG_ENTRY(BOUND_SO_UPPER18, 590, 0) STAG_ENTRY(BOUND_SO_LOWER18, 591, 0) STAG_ENTRY(BOUND_SO_UPPER19, 595, 0) STAG_ENTRY(BOUND_SO_LOWER19, 596, 0) STAG_ENTRY(TV_CAMERA, 1000, 0) STAG_ENTRY(AMBIENT, 1002, 0) STAG_ENTRY(ECHOSPOT, 1005, 0) STAG_ENTRY(DRIP_GENERATOR, 1006, 0) #undef STAG_ENTRY
{ "language": "Assembly" }
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing project authors may ; be found in the AUTHORS file in the root of the source tree. ; EXPORT |vp8_start_encode| EXPORT |vp8_encode_bool| EXPORT |vp8_stop_encode| EXPORT |vp8_encode_value| IMPORT |vp8_validate_buffer_arm| INCLUDE vp8_asm_enc_offsets.asm ARM REQUIRE8 PRESERVE8 AREA |.text|, CODE, READONLY ; macro for validating write buffer position ; needs vp8_writer in r0 ; start shall not be in r1 MACRO VALIDATE_POS $start, $pos push {r0-r3, r12, lr} ; rest of regs are preserved by subroutine call ldr r2, [r0, #vp8_writer_buffer_end] ldr r3, [r0, #vp8_writer_error] mov r1, $pos mov r0, $start bl vp8_validate_buffer_arm pop {r0-r3, r12, lr} MEND ; r0 BOOL_CODER *br ; r1 unsigned char *source ; r2 unsigned char *source_end |vp8_start_encode| PROC str r2, [r0, #vp8_writer_buffer_end] mov r12, #0 mov r3, #255 mvn r2, #23 str r12, [r0, #vp8_writer_lowvalue] str r3, [r0, #vp8_writer_range] str r2, [r0, #vp8_writer_count] str r12, [r0, #vp8_writer_pos] str r1, [r0, #vp8_writer_buffer] bx lr ENDP ; r0 BOOL_CODER *br ; r1 int bit ; r2 int probability |vp8_encode_bool| PROC push {r4-r10, lr} mov r4, r2 ldr r2, [r0, #vp8_writer_lowvalue] ldr r5, [r0, #vp8_writer_range] ldr r3, [r0, #vp8_writer_count] sub r7, r5, #1 ; range-1 cmp r1, #0 mul r6, r4, r7 ; ((range-1) * probability) mov r7, #1 add r4, r7, r6, lsr #8 ; 1 + (((range-1) * probability) >> 8) addne r2, r2, r4 ; if (bit) lowvalue += split subne r4, r5, r4 ; if (bit) range = range-split ; Counting the leading zeros is used to normalize range. clz r6, r4 sub r6, r6, #24 ; shift ; Flag is set on the sum of count. This flag is used later ; to determine if count >= 0 adds r3, r3, r6 ; count += shift lsl r5, r4, r6 ; range <<= shift bmi token_count_lt_zero ; if(count >= 0) sub r6, r6, r3 ; offset = shift - count sub r4, r6, #1 ; offset-1 lsls r4, r2, r4 ; if((lowvalue<<(offset-1)) & 0x80000000 ) bpl token_high_bit_not_set ldr r4, [r0, #vp8_writer_pos] ; x sub r4, r4, #1 ; x = w->pos-1 b token_zero_while_start token_zero_while_loop mov r9, #0 strb r9, [r7, r4] ; w->buffer[x] =(unsigned char)0 sub r4, r4, #1 ; x-- token_zero_while_start cmp r4, #0 ldrge r7, [r0, #vp8_writer_buffer] ldrb r1, [r7, r4] cmpge r1, #0xff beq token_zero_while_loop ldr r7, [r0, #vp8_writer_buffer] ldrb r9, [r7, r4] ; w->buffer[x] add r9, r9, #1 strb r9, [r7, r4] ; w->buffer[x] + 1 token_high_bit_not_set rsb r4, r6, #24 ; 24-offset ldr r9, [r0, #vp8_writer_buffer] lsr r7, r2, r4 ; lowvalue >> (24-offset) ldr r4, [r0, #vp8_writer_pos] ; w->pos lsl r2, r2, r6 ; lowvalue <<= offset mov r6, r3 ; shift = count add r1, r4, #1 ; w->pos++ bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff str r1, [r0, #vp8_writer_pos] sub r3, r3, #8 ; count -= 8 VALIDATE_POS r9, r1 ; validate_buffer at pos strb r7, [r9, r4] ; w->buffer[w->pos++] token_count_lt_zero lsl r2, r2, r6 ; lowvalue <<= shift str r2, [r0, #vp8_writer_lowvalue] str r5, [r0, #vp8_writer_range] str r3, [r0, #vp8_writer_count] pop {r4-r10, pc} ENDP ; r0 BOOL_CODER *br |vp8_stop_encode| PROC push {r4-r10, lr} ldr r2, [r0, #vp8_writer_lowvalue] ldr r5, [r0, #vp8_writer_range] ldr r3, [r0, #vp8_writer_count] mov r10, #32 stop_encode_loop sub r7, r5, #1 ; range-1 mov r4, r7, lsl #7 ; ((range-1) * 128) mov r7, #1 add r4, r7, r4, lsr #8 ; 1 + (((range-1) * 128) >> 8) ; Counting the leading zeros is used to normalize range. clz r6, r4 sub r6, r6, #24 ; shift ; Flag is set on the sum of count. This flag is used later ; to determine if count >= 0 adds r3, r3, r6 ; count += shift lsl r5, r4, r6 ; range <<= shift bmi token_count_lt_zero_se ; if(count >= 0) sub r6, r6, r3 ; offset = shift - count sub r4, r6, #1 ; offset-1 lsls r4, r2, r4 ; if((lowvalue<<(offset-1)) & 0x80000000 ) bpl token_high_bit_not_set_se ldr r4, [r0, #vp8_writer_pos] ; x sub r4, r4, #1 ; x = w->pos-1 b token_zero_while_start_se token_zero_while_loop_se mov r9, #0 strb r9, [r7, r4] ; w->buffer[x] =(unsigned char)0 sub r4, r4, #1 ; x-- token_zero_while_start_se cmp r4, #0 ldrge r7, [r0, #vp8_writer_buffer] ldrb r1, [r7, r4] cmpge r1, #0xff beq token_zero_while_loop_se ldr r7, [r0, #vp8_writer_buffer] ldrb r9, [r7, r4] ; w->buffer[x] add r9, r9, #1 strb r9, [r7, r4] ; w->buffer[x] + 1 token_high_bit_not_set_se rsb r4, r6, #24 ; 24-offset ldr r9, [r0, #vp8_writer_buffer] lsr r7, r2, r4 ; lowvalue >> (24-offset) ldr r4, [r0, #vp8_writer_pos] ; w->pos lsl r2, r2, r6 ; lowvalue <<= offset mov r6, r3 ; shift = count add r1, r4, #1 ; w->pos++ bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff str r1, [r0, #vp8_writer_pos] sub r3, r3, #8 ; count -= 8 VALIDATE_POS r9, r1 ; validate_buffer at pos strb r7, [r9, r4] ; w->buffer[w->pos++] token_count_lt_zero_se lsl r2, r2, r6 ; lowvalue <<= shift subs r10, r10, #1 bne stop_encode_loop str r2, [r0, #vp8_writer_lowvalue] str r5, [r0, #vp8_writer_range] str r3, [r0, #vp8_writer_count] pop {r4-r10, pc} ENDP ; r0 BOOL_CODER *br ; r1 int data ; r2 int bits |vp8_encode_value| PROC push {r4-r12, lr} mov r10, r2 ldr r2, [r0, #vp8_writer_lowvalue] ldr r5, [r0, #vp8_writer_range] ldr r3, [r0, #vp8_writer_count] rsb r4, r10, #32 ; 32-n ; v is kept in r1 during the token pack loop lsl r1, r1, r4 ; r1 = v << 32 - n encode_value_loop sub r7, r5, #1 ; range-1 ; Decisions are made based on the bit value shifted ; off of v, so set a flag here based on this. ; This value is refered to as "bb" lsls r1, r1, #1 ; bit = v >> n mov r4, r7, lsl #7 ; ((range-1) * 128) mov r7, #1 add r4, r7, r4, lsr #8 ; 1 + (((range-1) * 128) >> 8) addcs r2, r2, r4 ; if (bit) lowvalue += split subcs r4, r5, r4 ; if (bit) range = range-split ; Counting the leading zeros is used to normalize range. clz r6, r4 sub r6, r6, #24 ; shift ; Flag is set on the sum of count. This flag is used later ; to determine if count >= 0 adds r3, r3, r6 ; count += shift lsl r5, r4, r6 ; range <<= shift bmi token_count_lt_zero_ev ; if(count >= 0) sub r6, r6, r3 ; offset = shift - count sub r4, r6, #1 ; offset-1 lsls r4, r2, r4 ; if((lowvalue<<(offset-1)) & 0x80000000 ) bpl token_high_bit_not_set_ev ldr r4, [r0, #vp8_writer_pos] ; x sub r4, r4, #1 ; x = w->pos-1 b token_zero_while_start_ev token_zero_while_loop_ev mov r9, #0 strb r9, [r7, r4] ; w->buffer[x] =(unsigned char)0 sub r4, r4, #1 ; x-- token_zero_while_start_ev cmp r4, #0 ldrge r7, [r0, #vp8_writer_buffer] ldrb r11, [r7, r4] cmpge r11, #0xff beq token_zero_while_loop_ev ldr r7, [r0, #vp8_writer_buffer] ldrb r9, [r7, r4] ; w->buffer[x] add r9, r9, #1 strb r9, [r7, r4] ; w->buffer[x] + 1 token_high_bit_not_set_ev rsb r4, r6, #24 ; 24-offset ldr r9, [r0, #vp8_writer_buffer] lsr r7, r2, r4 ; lowvalue >> (24-offset) ldr r4, [r0, #vp8_writer_pos] ; w->pos lsl r2, r2, r6 ; lowvalue <<= offset mov r6, r3 ; shift = count add r11, r4, #1 ; w->pos++ bic r2, r2, #0xff000000 ; lowvalue &= 0xffffff str r11, [r0, #vp8_writer_pos] sub r3, r3, #8 ; count -= 8 VALIDATE_POS r9, r11 ; validate_buffer at pos strb r7, [r9, r4] ; w->buffer[w->pos++] token_count_lt_zero_ev lsl r2, r2, r6 ; lowvalue <<= shift subs r10, r10, #1 bne encode_value_loop str r2, [r0, #vp8_writer_lowvalue] str r5, [r0, #vp8_writer_range] str r3, [r0, #vp8_writer_count] pop {r4-r12, pc} ENDP END
{ "language": "Assembly" }
; AVX mpn_ior_n ; ; Copyright 2017 Jens Nurmann ; ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Foundation; either version 2.1 of the License, or (at ; your option) any later version. ; The MPIR Library is distributed in the hope that it will be useful, but ; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public ; License for more details. ; You should have received a copy of the GNU Lesser General Public License ; along with the MPIR Library; see the file COPYING.LIB. If not, write ; to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ; Boston, MA 02110-1301, USA. ; (rdi,rcx) = (rsi,rcx) ior (rdx,rcx) ; There is no initial pointer alignment lead in code below. The argument ; why not is based on some statistical reasoning and measurement points. ; All statements below strictly refer to the Intel i6xxx (Skylake) ; microarchitecture. ; The function is intended to be used with arbitrary pointer alignment on ; entry. That is there are 8 possible cases to consider: ; - A: 1 x all pointers mis-aligned (mod 32 byte) ; - B: 3 x one pointer aligned (mod 32 byte)) ; - C: 3 x two pointers aligned (mod 32 byte) ; - D: 1 x all pointers aligned (mod 32 byte) ; All sub cases under B show equivalent performance, as do all sub cases of ; C. B is 7% faster than A, C is 11% faster than A and D is 39% faster than A. ; To do a proper alignment would require a complex decision tree to allways ; advance the alignment situation in the best possible manner - e.g. pointer ; 1 is off by 8 while pointer 2 & 3 are off by 16. To do the alignment ; requires some arith and at least one branch in the function proloque - a ; reasonable impact for small sized operands. And all this for a small gain ; (around 6% all summed up) in the average case. ; In a specific application scenario this might be the wrong choice. ; The execution speed of VMOVDQU is equivalent to VMOVDQA in case of aligned ; pointers. This may be different for earlier generations of Intel core ; architectures like Broadwell, Haswell, ... ; cycles per limb with all operands aligned and in: ; LD1$ LD2$ ; Haswell ??? ??? ; Broadwell ??? ??? ; Skylake 0.29-0.31 0.39-0.40 %include 'yasm_mac.inc' ; definition according to Linux 64 bit ABI %define ResP RCX %define Src1P RDX %define Src2P R8 %define Size R9 %define SizeD R9D %define Count RAX %define CountD EAX %define Limb0 R10 %define Limb0D R10D %define QLimb0 YMM0 align 32 BITS 64 LEAF_PROC mpn_ior_n mov CountD, 3 mov Limb0, Size sub Count, Size jnc .PostGPR ; dispatch size 0-3 immediately mov SizeD, 3 shr Limb0, 2 or Count, -4 sub Size, Limb0 jnc .PostAVX ; dispatch size 4, 8 & 12 immediately mov Limb0D, 128 .Loop: vmovdqu QLimb0, [Src1P] vpor QLimb0, QLimb0, [Src2P] vmovdqu [ResP], QLimb0 vmovdqu QLimb0, [Src1P+32] vpor QLimb0, QLimb0, [Src2P+32] vmovdqu [ResP+32], QLimb0 vmovdqu QLimb0, [Src1P+64] vpor QLimb0, QLimb0, [Src2P+64] vmovdqu [ResP+64], QLimb0 vmovdqu QLimb0, [Src1P+96] vpor QLimb0, QLimb0, [Src2P+96] vmovdqu [ResP+96], QLimb0 lea Src1P, [Src1P+Limb0] lea Src2P, [Src2P+Limb0] lea ResP, [ResP+Limb0] add Size, 4 jnc .Loop .PostAVX: mov Limb0D, 0 ; to allow pointer correction on exit cmp Size, 2 ; fastest way to dispatch values 0-3 ja .PostAVX0 je .PostAVX1 jp .PostAVX2 .PostAVX3: add Limb0, 32 vmovdqu QLimb0, [Src1P+64] vpor QLimb0, QLimb0, [Src2P+64] vmovdqu [ResP+64], QLimb0 .PostAVX2: add Limb0, 32 vmovdqu QLimb0, [Src1P+32] vpor QLimb0, QLimb0, [Src2P+32] vmovdqu [ResP+32], QLimb0 .PostAVX1: add Limb0, 32 vmovdqu QLimb0, [Src1P] vpor QLimb0, QLimb0, [Src2P] vmovdqu [ResP], QLimb0 .PostAVX0: add Src1P, Limb0 add Src2P, Limb0 add ResP, Limb0 add Count, 4 .PostGPR: cmp Count, 2 ; fastest way to dispatch values 0-3 ja .Exit je .PostGPR1 jp .PostGPR2 .PostGPR3: mov Limb0, [Src1P+16] or Limb0, [Src2P+16] mov [ResP+16], Limb0 .PostGPR2: mov Limb0, [Src1P+8] or Limb0, [Src2P+8] mov [ResP+8], Limb0 .PostGPR1: mov Limb0, [Src1P] or Limb0, [Src2P] mov [ResP], Limb0 .Exit: ret
{ "language": "Assembly" }
// REQUIRES: crash-recovery, shell, system-darwin // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t // RUN: not env FORCE_CLANG_DIAGNOSTICS_CRASH= TMPDIR=%t TEMP=%t TMP=%t \ // RUN: %clang -fsyntax-only -nostdinc %s \ // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml // RUN: find %t/crash-vfs-*.cache/vfs | \ // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1 #include <stdio.h> // CHECK: Preprocessed source(s) and associated run script(s) are located at: // CHECK-NEXT: note: diagnostic msg: {{.*}}.m // CHECK-NEXT: note: diagnostic msg: {{.*}}.cache // CHECKSRC: @import cstd.stdio; // CHECKSH: # Crash reproducer // CHECKSH-NEXT: # Driver args: "-fsyntax-only" // CHECKSH-NEXT: # Original command: {{.*$}} // CHECKSH-NEXT: "-cc1" // CHECKSH: "-resource-dir" // CHECKSH: "-isysroot" "{{[^"]*}}/i/" // CHECKSH: "crash-vfs-{{[^ ]*}}.m" // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml" // CHECKSH: "-fmodules-cache-path=crash-vfs-{{[^ ]*}}.cache/modules" // CHECKYAML: 'case-sensitive': // CHECKYAML-NEXT: 'use-external-names': 'false', // CHECKYAML-NEXT: 'overlay-relative': 'true', // CHECKYAML: 'type': 'directory' // CHECKYAML: 'name': "/[[PATH:.*]]/Inputs/crash-recovery/usr/include", // CHECKYAML-NEXT: 'contents': [ // CHECKYAML-NEXT: { // CHECKYAML-NEXT: 'type': 'file', // CHECKYAML-NEXT: 'name': "module.map", // CHECKYAML-NOT: 'external-contents': "{{[^ ]*}}.cache // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/Inputs/crash-recovery/usr/include/module.map" // CHECKYAML-NEXT: }, // Run the reproducer script - regular exit code is enough to test it works. // Note that we don't yet support reusing the modules pcm; what we do // support is re-building the modules relying solely on the header files dumped // inside .cache/vfs, mapped by .cache/vfs/vfs.yaml. // RUN: cd %t // RUN: rm -rf crash-vfs-run-reproducer-*.cache/modules/* // RUN: chmod 755 crash-vfs-*.sh // RUN: ./crash-vfs-*.sh
{ "language": "Assembly" }
/* * Copyright (c) 2017 Google Inc. * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "libavutil/aarch64/asm.S" // All public functions in this file have the following signature: // typedef void (*vp9_mc_func)(uint8_t *dst, ptrdiff_t dst_stride, // const uint8_t *ref, ptrdiff_t ref_stride, // int h, int mx, int my); function ff_vp9_avg64_16_neon, export=1 mov x5, x0 sub x1, x1, #64 sub x3, x3, #64 1: ld1 {v4.8h, v5.8h, v6.8h, v7.8h}, [x2], #64 ld1 {v0.8h, v1.8h, v2.8h, v3.8h}, [x0], #64 ld1 {v20.8h, v21.8h, v22.8h, v23.8h}, [x2], x3 urhadd v0.8h, v0.8h, v4.8h urhadd v1.8h, v1.8h, v5.8h ld1 {v16.8h, v17.8h, v18.8h, v19.8h}, [x0], x1 urhadd v2.8h, v2.8h, v6.8h urhadd v3.8h, v3.8h, v7.8h subs w4, w4, #1 urhadd v16.8h, v16.8h, v20.8h urhadd v17.8h, v17.8h, v21.8h st1 {v0.8h, v1.8h, v2.8h, v3.8h}, [x5], #64 urhadd v18.8h, v18.8h, v22.8h urhadd v19.8h, v19.8h, v23.8h st1 {v16.8h, v17.8h, v18.8h, v19.8h}, [x5], x1 b.ne 1b ret endfunc function ff_vp9_avg32_16_neon, export=1 mov x5, x0 1: ld1 {v4.8h, v5.8h, v6.8h, v7.8h}, [x2], x3 ld1 {v0.8h, v1.8h, v2.8h, v3.8h}, [x0], x1 ld1 {v20.8h, v21.8h, v22.8h, v23.8h}, [x2], x3 urhadd v0.8h, v0.8h, v4.8h urhadd v1.8h, v1.8h, v5.8h ld1 {v16.8h, v17.8h, v18.8h, v19.8h}, [x0], x1 urhadd v2.8h, v2.8h, v6.8h urhadd v3.8h, v3.8h, v7.8h subs w4, w4, #2 urhadd v16.8h, v16.8h, v20.8h urhadd v17.8h, v17.8h, v21.8h st1 {v0.8h, v1.8h, v2.8h, v3.8h}, [x5], x1 urhadd v18.8h, v18.8h, v22.8h urhadd v19.8h, v19.8h, v23.8h st1 {v16.8h, v17.8h, v18.8h, v19.8h}, [x5], x1 b.ne 1b ret endfunc function ff_vp9_avg16_16_neon, export=1 1: ld1 {v2.8h, v3.8h}, [x2], x3 ld1 {v0.8h, v1.8h}, [x0] urhadd v0.8h, v0.8h, v2.8h urhadd v1.8h, v1.8h, v3.8h subs w4, w4, #1 st1 {v0.8h, v1.8h}, [x0], x1 b.ne 1b ret endfunc function ff_vp9_avg8_16_neon, export=1 mov x5, x0 1: ld1 {v2.8h}, [x2], x3 ld1 {v0.8h}, [x0], x1 ld1 {v3.8h}, [x2], x3 urhadd v0.8h, v0.8h, v2.8h ld1 {v1.8h}, [x0], x1 urhadd v1.8h, v1.8h, v3.8h subs w4, w4, #2 st1 {v0.8h}, [x5], x1 st1 {v1.8h}, [x5], x1 b.ne 1b ret endfunc function ff_vp9_avg4_16_neon, export=1 mov x5, x0 1: ld1 {v2.4h}, [x2], x3 ld1 {v0.4h}, [x0], x1 ld1 {v3.4h}, [x2], x3 urhadd v0.4h, v0.4h, v2.4h ld1 {v1.4h}, [x0], x1 urhadd v1.4h, v1.4h, v3.4h subs w4, w4, #2 st1 {v0.4h}, [x5], x1 st1 {v1.8b}, [x5], x1 b.ne 1b ret endfunc // Extract a vector from src1-src2 and src4-src5 (src1-src3 and src4-src6 // for size >= 16), and multiply-accumulate into dst1 and dst5 (or // dst1-dst2 and dst5-dst6 for size >= 8 and dst1-dst4 and dst5-dst8 // for size >= 16) .macro extmlal dst1, dst2, dst3, dst4, dst5, dst6, dst7, dst8, src1, src2, src3, src4, src5, src6, offset, size ext v20.16b, \src1\().16b, \src2\().16b, #(2*\offset) ext v22.16b, \src4\().16b, \src5\().16b, #(2*\offset) smlal \dst1\().4s, v20.4h, v0.h[\offset] smlal \dst5\().4s, v22.4h, v0.h[\offset] .if \size >= 16 ext v21.16b, \src2\().16b, \src3\().16b, #(2*\offset) ext v23.16b, \src5\().16b, \src6\().16b, #(2*\offset) .endif .if \size >= 8 smlal2 \dst2\().4s, v20.8h, v0.h[\offset] smlal2 \dst6\().4s, v22.8h, v0.h[\offset] .endif .if \size >= 16 smlal \dst3\().4s, v21.4h, v0.h[\offset] smlal \dst7\().4s, v23.4h, v0.h[\offset] smlal2 \dst4\().4s, v21.8h, v0.h[\offset] smlal2 \dst8\().4s, v23.8h, v0.h[\offset] .endif .endm // Instantiate a horizontal filter function for the given size. // This can work on 4, 8 or 16 pixels in parallel; for larger // widths it will do 16 pixels at a time and loop horizontally. // The actual width (in bytes) is passed in x5, the height in w4 and // the filter coefficients in x9. .macro do_8tap_h type, size function \type\()_8tap_\size\()h sub x2, x2, #6 add x6, x0, x1 add x7, x2, x3 add x1, x1, x1 add x3, x3, x3 // Only size >= 16 loops horizontally and needs // reduced dst stride .if \size >= 16 sub x1, x1, x5 .endif // size >= 16 loads two qwords and increments r2, // for size 4/8 it's enough with one qword and no // postincrement .if \size >= 16 sub x3, x3, x5 sub x3, x3, #16 .endif // Load the filter vector ld1 {v0.8h}, [x9] 1: .if \size >= 16 mov x9, x5 .endif // Load src .if \size >= 16 ld1 {v5.8h, v6.8h, v7.8h}, [x2], #48 ld1 {v16.8h, v17.8h, v18.8h}, [x7], #48 .else ld1 {v5.8h, v6.8h}, [x2] ld1 {v16.8h, v17.8h}, [x7] .endif 2: smull v1.4s, v5.4h, v0.h[0] smull v24.4s, v16.4h, v0.h[0] .if \size >= 8 smull2 v2.4s, v5.8h, v0.h[0] smull2 v25.4s, v16.8h, v0.h[0] .endif .if \size >= 16 smull v3.4s, v6.4h, v0.h[0] smull v26.4s, v17.4h, v0.h[0] smull2 v4.4s, v6.8h, v0.h[0] smull2 v27.4s, v17.8h, v0.h[0] .endif extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 1, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 2, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 3, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 4, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 5, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 6, \size extmlal v1, v2, v3, v4, v24, v25, v26, v27, v5, v6, v7, v16, v17, v18, 7, \size // Round, shift and saturate // The sqrshrun takes care of clamping negative values to zero, but // we manually need to do umin with the max pixel value. sqrshrun v1.4h, v1.4s, #7 sqrshrun v24.4h, v24.4s, #7 .if \size >= 8 sqrshrun2 v1.8h, v2.4s, #7 sqrshrun2 v24.8h, v25.4s, #7 umin v1.8h, v1.8h, v31.8h umin v24.8h, v24.8h, v31.8h .if \size >= 16 sqrshrun v2.4h, v3.4s, #7 sqrshrun v25.4h, v26.4s, #7 sqrshrun2 v2.8h, v4.4s, #7 sqrshrun2 v25.8h, v27.4s, #7 umin v2.8h, v2.8h, v31.8h umin v25.8h, v25.8h, v31.8h .endif .else umin v1.4h, v1.4h, v31.4h umin v24.4h, v24.4h, v31.4h .endif // Average .ifc \type,avg .if \size >= 16 ld1 {v3.8h, v4.8h}, [x0] ld1 {v29.8h, v30.8h}, [x6] urhadd v1.8h, v1.8h, v3.8h urhadd v2.8h, v2.8h, v4.8h urhadd v24.8h, v24.8h, v29.8h urhadd v25.8h, v25.8h, v30.8h .elseif \size >= 8 ld1 {v3.8h}, [x0] ld1 {v4.8h}, [x6] urhadd v1.8h, v1.8h, v3.8h urhadd v24.8h, v24.8h, v4.8h .else ld1 {v3.4h}, [x0] ld1 {v4.4h}, [x6] urhadd v1.4h, v1.4h, v3.4h urhadd v24.4h, v24.4h, v4.4h .endif .endif // Store and loop horizontally (for size >= 16) .if \size >= 16 subs x9, x9, #32 st1 {v1.8h, v2.8h}, [x0], #32 st1 {v24.8h, v25.8h}, [x6], #32 b.eq 3f mov v5.16b, v7.16b mov v16.16b, v18.16b ld1 {v6.8h, v7.8h}, [x2], #32 ld1 {v17.8h, v18.8h}, [x7], #32 b 2b .elseif \size == 8 st1 {v1.8h}, [x0] st1 {v24.8h}, [x6] .else // \size == 4 st1 {v1.4h}, [x0] st1 {v24.4h}, [x6] .endif 3: // Loop vertically add x0, x0, x1 add x6, x6, x1 add x2, x2, x3 add x7, x7, x3 subs w4, w4, #2 b.ne 1b ret endfunc .endm .macro do_8tap_h_size size do_8tap_h put, \size do_8tap_h avg, \size .endm do_8tap_h_size 4 do_8tap_h_size 8 do_8tap_h_size 16 .macro do_8tap_h_func type, filter, offset, size, bpp function ff_vp9_\type\()_\filter\()\size\()_h_\bpp\()_neon, export=1 mvni v31.8h, #((0xff << (\bpp - 8)) & 0xff), lsl #8 movrel x6, X(ff_vp9_subpel_filters), 256*\offset cmp w5, #8 add x9, x6, w5, uxtw #4 mov x5, #2*\size .if \size >= 16 b \type\()_8tap_16h .else b \type\()_8tap_\size\()h .endif endfunc .endm .macro do_8tap_h_filters size, bpp do_8tap_h_func put, regular, 1, \size, \bpp do_8tap_h_func avg, regular, 1, \size, \bpp do_8tap_h_func put, sharp, 2, \size, \bpp do_8tap_h_func avg, sharp, 2, \size, \bpp do_8tap_h_func put, smooth, 0, \size, \bpp do_8tap_h_func avg, smooth, 0, \size, \bpp .endm .macro do_8tap_h_filters_bpp bpp do_8tap_h_filters 64, \bpp do_8tap_h_filters 32, \bpp do_8tap_h_filters 16, \bpp do_8tap_h_filters 8, \bpp do_8tap_h_filters 4, \bpp .endm do_8tap_h_filters_bpp 10 do_8tap_h_filters_bpp 12 // Vertical filters // Round, shift and saturate and store reg1-reg4 .macro do_store4 reg1, reg2, reg3, reg4, tmp1, tmp2, tmp3, tmp4, minreg, type sqrshrun \reg1\().4h, \reg1\().4s, #7 sqrshrun \reg2\().4h, \reg2\().4s, #7 sqrshrun \reg3\().4h, \reg3\().4s, #7 sqrshrun \reg4\().4h, \reg4\().4s, #7 .ifc \type,avg ld1 {\tmp1\().4h}, [x7], x1 ld1 {\tmp2\().4h}, [x7], x1 ld1 {\tmp3\().4h}, [x7], x1 ld1 {\tmp4\().4h}, [x7], x1 .endif umin \reg1\().4h, \reg1\().4h, \minreg\().4h umin \reg2\().4h, \reg2\().4h, \minreg\().4h umin \reg3\().4h, \reg3\().4h, \minreg\().4h umin \reg4\().4h, \reg4\().4h, \minreg\().4h .ifc \type,avg urhadd \reg1\().4h, \reg1\().4h, \tmp1\().4h urhadd \reg2\().4h, \reg2\().4h, \tmp2\().4h urhadd \reg3\().4h, \reg3\().4h, \tmp3\().4h urhadd \reg4\().4h, \reg4\().4h, \tmp4\().4h .endif st1 {\reg1\().4h}, [x0], x1 st1 {\reg2\().4h}, [x0], x1 st1 {\reg3\().4h}, [x0], x1 st1 {\reg4\().4h}, [x0], x1 .endm // Round, shift and saturate and store reg1-8, where // reg1-2, reg3-4 etc pairwise correspond to 4 rows. .macro do_store8 reg1, reg2, reg3, reg4, reg5, reg6, reg7, reg8, minreg, type sqrshrun \reg1\().4h, \reg1\().4s, #7 sqrshrun2 \reg1\().8h, \reg2\().4s, #7 sqrshrun \reg2\().4h, \reg3\().4s, #7 sqrshrun2 \reg2\().8h, \reg4\().4s, #7 sqrshrun \reg3\().4h, \reg5\().4s, #7 sqrshrun2 \reg3\().8h, \reg6\().4s, #7 sqrshrun \reg4\().4h, \reg7\().4s, #7 sqrshrun2 \reg4\().8h, \reg8\().4s, #7 .ifc \type,avg ld1 {\reg5\().8h}, [x7], x1 ld1 {\reg6\().8h}, [x7], x1 ld1 {\reg7\().8h}, [x7], x1 ld1 {\reg8\().8h}, [x7], x1 .endif umin \reg1\().8h, \reg1\().8h, \minreg\().8h umin \reg2\().8h, \reg2\().8h, \minreg\().8h umin \reg3\().8h, \reg3\().8h, \minreg\().8h umin \reg4\().8h, \reg4\().8h, \minreg\().8h .ifc \type,avg urhadd \reg1\().8h, \reg1\().8h, \reg5\().8h urhadd \reg2\().8h, \reg2\().8h, \reg6\().8h urhadd \reg3\().8h, \reg3\().8h, \reg7\().8h urhadd \reg4\().8h, \reg4\().8h, \reg8\().8h .endif st1 {\reg1\().8h}, [x0], x1 st1 {\reg2\().8h}, [x0], x1 st1 {\reg3\().8h}, [x0], x1 st1 {\reg4\().8h}, [x0], x1 .endm // Evaluate the filter twice in parallel, from the inputs src1-src9 into dst1-dst2 // (src1-src8 into dst1, src2-src9 into dst2). .macro convolve4 dst1, dst2, src1, src2, src3, src4, src5, src6, src7, src8, src9, tmp1, tmp2 smull \dst1\().4s, \src1\().4h, v0.h[0] smull \dst2\().4s, \src2\().4h, v0.h[0] smull \tmp1\().4s, \src2\().4h, v0.h[1] smull \tmp2\().4s, \src3\().4h, v0.h[1] smlal \dst1\().4s, \src3\().4h, v0.h[2] smlal \dst2\().4s, \src4\().4h, v0.h[2] smlal \tmp1\().4s, \src4\().4h, v0.h[3] smlal \tmp2\().4s, \src5\().4h, v0.h[3] smlal \dst1\().4s, \src5\().4h, v0.h[4] smlal \dst2\().4s, \src6\().4h, v0.h[4] smlal \tmp1\().4s, \src6\().4h, v0.h[5] smlal \tmp2\().4s, \src7\().4h, v0.h[5] smlal \dst1\().4s, \src7\().4h, v0.h[6] smlal \dst2\().4s, \src8\().4h, v0.h[6] smlal \tmp1\().4s, \src8\().4h, v0.h[7] smlal \tmp2\().4s, \src9\().4h, v0.h[7] add \dst1\().4s, \dst1\().4s, \tmp1\().4s add \dst2\().4s, \dst2\().4s, \tmp2\().4s .endm // Evaluate the filter twice in parallel, from the inputs src1-src9 into dst1-dst4 // (src1-src8 into dst1-dst2, src2-src9 into dst3-dst4). .macro convolve8 dst1, dst2, dst3, dst4, src1, src2, src3, src4, src5, src6, src7, src8, src9 smull \dst1\().4s, \src1\().4h, v0.h[0] smull2 \dst2\().4s, \src1\().8h, v0.h[0] smull \dst3\().4s, \src2\().4h, v0.h[0] smull2 \dst4\().4s, \src2\().8h, v0.h[0] smlal \dst1\().4s, \src2\().4h, v0.h[1] smlal2 \dst2\().4s, \src2\().8h, v0.h[1] smlal \dst3\().4s, \src3\().4h, v0.h[1] smlal2 \dst4\().4s, \src3\().8h, v0.h[1] smlal \dst1\().4s, \src3\().4h, v0.h[2] smlal2 \dst2\().4s, \src3\().8h, v0.h[2] smlal \dst3\().4s, \src4\().4h, v0.h[2] smlal2 \dst4\().4s, \src4\().8h, v0.h[2] smlal \dst1\().4s, \src4\().4h, v0.h[3] smlal2 \dst2\().4s, \src4\().8h, v0.h[3] smlal \dst3\().4s, \src5\().4h, v0.h[3] smlal2 \dst4\().4s, \src5\().8h, v0.h[3] smlal \dst1\().4s, \src5\().4h, v0.h[4] smlal2 \dst2\().4s, \src5\().8h, v0.h[4] smlal \dst3\().4s, \src6\().4h, v0.h[4] smlal2 \dst4\().4s, \src6\().8h, v0.h[4] smlal \dst1\().4s, \src6\().4h, v0.h[5] smlal2 \dst2\().4s, \src6\().8h, v0.h[5] smlal \dst3\().4s, \src7\().4h, v0.h[5] smlal2 \dst4\().4s, \src7\().8h, v0.h[5] smlal \dst1\().4s, \src7\().4h, v0.h[6] smlal2 \dst2\().4s, \src7\().8h, v0.h[6] smlal \dst3\().4s, \src8\().4h, v0.h[6] smlal2 \dst4\().4s, \src8\().8h, v0.h[6] smlal \dst1\().4s, \src8\().4h, v0.h[7] smlal2 \dst2\().4s, \src8\().8h, v0.h[7] smlal \dst3\().4s, \src9\().4h, v0.h[7] smlal2 \dst4\().4s, \src9\().8h, v0.h[7] .endm // Instantiate a vertical filter function for filtering 8 pixels at a time. // The height is passed in x4, the width in x5 and the filter coefficients // in x6. .macro do_8tap_8v type function \type\()_8tap_8v sub x2, x2, x3, lsl #1 sub x2, x2, x3 ld1 {v0.8h}, [x6] 1: .ifc \type,avg mov x7, x0 .endif mov x6, x4 ld1 {v17.8h}, [x2], x3 ld1 {v18.8h}, [x2], x3 ld1 {v19.8h}, [x2], x3 ld1 {v20.8h}, [x2], x3 ld1 {v21.8h}, [x2], x3 ld1 {v22.8h}, [x2], x3 ld1 {v23.8h}, [x2], x3 2: ld1 {v24.8h}, [x2], x3 ld1 {v25.8h}, [x2], x3 ld1 {v26.8h}, [x2], x3 ld1 {v27.8h}, [x2], x3 convolve8 v2, v3, v4, v5, v17, v18, v19, v20, v21, v22, v23, v24, v25 convolve8 v6, v7, v30, v31, v19, v20, v21, v22, v23, v24, v25, v26, v27 do_store8 v2, v3, v4, v5, v6, v7, v30, v31, v1, \type subs x6, x6, #4 b.eq 8f ld1 {v16.8h}, [x2], x3 ld1 {v17.8h}, [x2], x3 ld1 {v18.8h}, [x2], x3 ld1 {v19.8h}, [x2], x3 convolve8 v2, v3, v4, v5, v21, v22, v23, v24, v25, v26, v27, v16, v17 convolve8 v6, v7, v20, v21, v23, v24, v25, v26, v27, v16, v17, v18, v19 do_store8 v2, v3, v4, v5, v6, v7, v20, v21, v1, \type subs x6, x6, #4 b.eq 8f ld1 {v20.8h}, [x2], x3 ld1 {v21.8h}, [x2], x3 ld1 {v22.8h}, [x2], x3 ld1 {v23.8h}, [x2], x3 convolve8 v2, v3, v4, v5, v25, v26, v27, v16, v17, v18, v19, v20, v21 convolve8 v6, v7, v24, v25, v27, v16, v17, v18, v19, v20, v21, v22, v23 do_store8 v2, v3, v4, v5, v6, v7, v24, v25, v1, \type subs x6, x6, #4 b.ne 2b 8: subs x5, x5, #8 b.eq 9f // x0 -= h * dst_stride msub x0, x1, x4, x0 // x2 -= h * src_stride msub x2, x3, x4, x2 // x2 -= 8 * src_stride sub x2, x2, x3, lsl #3 // x2 += 1 * src_stride add x2, x2, x3 add x2, x2, #16 add x0, x0, #16 b 1b 9: ret endfunc .endm do_8tap_8v put do_8tap_8v avg // Instantiate a vertical filter function for filtering a 4 pixels wide // slice. This only is designed to work for 4 or 8 output lines. .macro do_8tap_4v type function \type\()_8tap_4v sub x2, x2, x3, lsl #1 sub x2, x2, x3 ld1 {v0.8h}, [x6] .ifc \type,avg mov x7, x0 .endif ld1 {v16.4h}, [x2], x3 ld1 {v17.4h}, [x2], x3 ld1 {v18.4h}, [x2], x3 ld1 {v19.4h}, [x2], x3 ld1 {v20.4h}, [x2], x3 ld1 {v21.4h}, [x2], x3 ld1 {v22.4h}, [x2], x3 ld1 {v23.4h}, [x2], x3 ld1 {v24.4h}, [x2], x3 ld1 {v25.4h}, [x2], x3 ld1 {v26.4h}, [x2], x3 convolve4 v2, v3, v16, v17, v18, v19, v20, v21, v22, v23, v24, v30, v31 convolve4 v4, v5, v18, v19, v20, v21, v22, v23, v24, v25, v26, v30, v31 do_store4 v2, v3, v4, v5, v28, v29, v30, v31, v1, \type subs x4, x4, #4 b.eq 9f ld1 {v27.4h}, [x2], x3 ld1 {v28.4h}, [x2], x3 ld1 {v29.4h}, [x2], x3 ld1 {v30.4h}, [x2], x3 convolve4 v2, v3, v20, v21, v22, v23, v24, v25, v26, v27, v28, v16, v17 convolve4 v4, v5, v22, v23, v24, v25, v26, v27, v28, v29, v30, v16, v17 do_store4 v2, v3, v4, v5, v16, v17, v18, v19, v1, \type 9: ret endfunc .endm do_8tap_4v put do_8tap_4v avg .macro do_8tap_v_func type, filter, offset, size, bpp function ff_vp9_\type\()_\filter\()\size\()_v_\bpp\()_neon, export=1 uxtw x4, w4 mvni v1.8h, #((0xff << (\bpp - 8)) & 0xff), lsl #8 movrel x5, X(ff_vp9_subpel_filters), 256*\offset add x6, x5, w6, uxtw #4 mov x5, #\size .if \size >= 8 b \type\()_8tap_8v .else b \type\()_8tap_4v .endif endfunc .endm .macro do_8tap_v_filters size, bpp do_8tap_v_func put, regular, 1, \size, \bpp do_8tap_v_func avg, regular, 1, \size, \bpp do_8tap_v_func put, sharp, 2, \size, \bpp do_8tap_v_func avg, sharp, 2, \size, \bpp do_8tap_v_func put, smooth, 0, \size, \bpp do_8tap_v_func avg, smooth, 0, \size, \bpp .endm .macro do_8tap_v_filters_bpp bpp do_8tap_v_filters 64, \bpp do_8tap_v_filters 32, \bpp do_8tap_v_filters 16, \bpp do_8tap_v_filters 8, \bpp do_8tap_v_filters 4, \bpp .endm do_8tap_v_filters_bpp 10 do_8tap_v_filters_bpp 12
{ "language": "Assembly" }
# REQUIRES: ppc # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o # RUN: echo '.tbss; .globl b, c; b: .zero 4; c:' | llvm-mc -filetype=obj -triple=powerpc64le - -o %t1.o # RUN: ld.lld -shared -soname=t1.so %t1.o -o %t1.so # RUN: ld.lld -shared %t.o %t1.o -o %t.so # RUN: llvm-readobj -r %t.so | FileCheck --check-prefix=GD-REL %s # RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck --check-prefix=GD %s # RUN: ld.lld %t.o %t1.o -o %t # RUN: llvm-readelf -r %t | FileCheck --check-prefix=NOREL %s # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck --check-prefix=LE %s # RUN: ld.lld %t.o %t1.so -o %t # RUN: llvm-readobj -r %t | FileCheck --check-prefix=IE-REL %s # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck --check-prefix=IE %s # GD-REL: .rela.dyn { # GD-REL-NEXT: 0x20540 R_PPC64_DTPMOD64 a 0x0 # GD-REL-NEXT: 0x20548 R_PPC64_DTPREL64 a 0x0 # GD-REL-NEXT: 0x20550 R_PPC64_DTPMOD64 b 0x0 # GD-REL-NEXT: 0x20558 R_PPC64_DTPREL64 b 0x0 # GD-REL-NEXT: 0x20560 R_PPC64_DTPMOD64 c 0x0 # GD-REL-NEXT: 0x20568 R_PPC64_DTPREL64 c 0x0 # GD-REL-NEXT: } ## &DTPMOD(a) - .TOC. = &.got[0] - (.got+0x8000) = -32768 # GD: addis 3, 2, 0 # GD-NEXT: addi 3, 3, -32768 # GD-NEXT: bl .+40 # GD-NEXT: ld 2, 24(1) ## &DTPMOD(b) - .TOC. = &.got[2] - (.got+0x8000) = -32752 # GD-NEXT: addis 3, 2, 0 # GD-NEXT: addi 3, 3, -32752 # GD-NEXT: bl .+24 # GD-NEXT: ld 2, 24(1) ## &DTPMOD(b) - .TOC. = &.got[4] - (.got+0x8000) = -32736 # GD-NEXT: li 3, -32736 # GD-NEXT: bl .+12 # GD-NEXT: ld 2, 24(1) # NOREL: no relocations ## a@tprel = st_value(a)-0x7000 = -28664 # LE: nop # LE-NEXT: addis 3, 13, 0 # LE-NEXT: nop # LE-NEXT: addi 3, 3, -28664 ## b@tprel = st_value(b)-0x7000 = -28660 # LE: nop # LE-NEXT: addis 3, 13, 0 # LE-NEXT: nop # LE-NEXT: addi 3, 3, -28660 ## c@tprel = st_value(c)-0x7000 = -28656 # LE-NEXT: addis 3, 13, 0 # LE-NEXT: nop # LE-NEXT: addi 3, 3, -28656 # IE-REL: .rela.dyn { # IE-REL-NEXT: 0x10020418 R_PPC64_TPREL64 b 0x0 # IE-REL-NEXT: 0x10020420 R_PPC64_TPREL64 c 0x0 # IE-REL-NEXT: } ## a is relaxed to use LE. ## a@tprel = st_value(a)-0x7000 = -28664 # IE: nop # IE-NEXT: addis 3, 13, 0 # IE-NEXT: nop # IE-NEXT: addi 3, 3, -28664 ## &DTPMOD(b) - .TOC. = &.got[0] - (.got+0x8000) = -32768 # IE-NEXT: addis 3, 2, 0 # IE-NEXT: ld 3, -32768(3) # IE-NEXT: nop # IE-NEXT: add 3, 3, 13 ## &DTPMOD(c) - .TOC. = &.got[1] - (.got+0x8000) = -32760 ## r0 is wrong. R_PPC64_GOT_TLS16 cannot be relaxed to IE but the behavior is ## consistent with ld.bfd # IE-NEXT: ld 3, -32760(0) # IE-NEXT: nop # IE-NEXT: add 3, 3, 13 addis 3, 2, a@got@tlsgd@ha addi 3, 3, a@got@tlsgd@l bl __tls_get_addr(a@tlsgd) nop addis 3, 2, b@got@tlsgd@ha addi 3, 3, b@got@tlsgd@l bl __tls_get_addr(b@tlsgd) nop addi 3, 0, c@got@tlsgd bl __tls_get_addr(c@tlsgd) nop .section .tbss .globl a .zero 8 a: .zero 4
{ "language": "Assembly" }
# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/usr/secureboot/base/rom_entry.S $ # # OpenPOWER HostBoot Project # # COPYRIGHT International Business Machines Corp. 2013,2016 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing # permissions and limitations under the License. # # IBM_PROLOG_END_TAG #.include "kernel/ppcconsts.S" .section .text .global call_rom_verify .global call_rom_SHA512 call_rom_verify: call_rom_SHA512: call_rom_entry: std %r2, 40(%r1) mflr %r0 std %r0, 16(%r1) stdu %r1, -128(%r1) li %r2, 0 mtctr %r3 mr %r3, %r4 mr %r4, %r5 mr %r5, %r6 mr %r6, %r7 mr %r7, %r8 bctrl addi %r1, %r1, 128 ld %r2, 40(%r1) ld %r0, 16(%r1) mtlr %r0 blr
{ "language": "Assembly" }
.file "sha1-586.s" .text .globl _sha1_block_data_order .align 4 _sha1_block_data_order: L_sha1_block_data_order_begin: pushl %ebp pushl %ebx pushl %esi pushl %edi call L000pic_point L000pic_point: popl %ebp movl L_OPENSSL_ia32cap_P$non_lazy_ptr-L000pic_point(%ebp),%esi leal LK_XX_XX-L000pic_point(%ebp),%ebp movl (%esi),%eax movl 4(%esi),%edx testl $512,%edx jz L001x86 movl 8(%esi),%ecx testl $16777216,%eax jz L001x86 testl $536870912,%ecx jnz Lshaext_shortcut jmp Lssse3_shortcut .align 4,0x90 L001x86: movl 20(%esp),%ebp movl 24(%esp),%esi movl 28(%esp),%eax subl $76,%esp shll $6,%eax addl %esi,%eax movl %eax,104(%esp) movl 16(%ebp),%edi jmp L002loop .align 4,0x90 L002loop: movl (%esi),%eax movl 4(%esi),%ebx movl 8(%esi),%ecx movl 12(%esi),%edx bswap %eax bswap %ebx bswap %ecx bswap %edx movl %eax,(%esp) movl %ebx,4(%esp) movl %ecx,8(%esp) movl %edx,12(%esp) movl 16(%esi),%eax movl 20(%esi),%ebx movl 24(%esi),%ecx movl 28(%esi),%edx bswap %eax bswap %ebx bswap %ecx bswap %edx movl %eax,16(%esp) movl %ebx,20(%esp) movl %ecx,24(%esp) movl %edx,28(%esp) movl 32(%esi),%eax movl 36(%esi),%ebx movl 40(%esi),%ecx movl 44(%esi),%edx bswap %eax bswap %ebx bswap %ecx bswap %edx movl %eax,32(%esp) movl %ebx,36(%esp) movl %ecx,40(%esp) movl %edx,44(%esp) movl 48(%esi),%eax movl 52(%esi),%ebx movl 56(%esi),%ecx movl 60(%esi),%edx bswap %eax bswap %ebx bswap %ecx bswap %edx movl %eax,48(%esp) movl %ebx,52(%esp) movl %ecx,56(%esp) movl %edx,60(%esp) movl %esi,100(%esp) movl (%ebp),%eax movl 4(%ebp),%ebx movl 8(%ebp),%ecx movl 12(%ebp),%edx # 00_15 0 movl %ecx,%esi movl %eax,%ebp roll $5,%ebp xorl %edx,%esi addl %edi,%ebp movl (%esp),%edi andl %ebx,%esi rorl $2,%ebx xorl %edx,%esi leal 1518500249(%ebp,%edi,1),%ebp addl %esi,%ebp # 00_15 1 movl %ebx,%edi movl %ebp,%esi roll $5,%ebp xorl %ecx,%edi addl %edx,%ebp movl 4(%esp),%edx andl %eax,%edi rorl $2,%eax xorl %ecx,%edi leal 1518500249(%ebp,%edx,1),%ebp addl %edi,%ebp # 00_15 2 movl %eax,%edx movl %ebp,%edi roll $5,%ebp xorl %ebx,%edx addl %ecx,%ebp movl 8(%esp),%ecx andl %esi,%edx rorl $2,%esi xorl %ebx,%edx leal 1518500249(%ebp,%ecx,1),%ebp addl %edx,%ebp # 00_15 3 movl %esi,%ecx movl %ebp,%edx roll $5,%ebp xorl %eax,%ecx addl %ebx,%ebp movl 12(%esp),%ebx andl %edi,%ecx rorl $2,%edi xorl %eax,%ecx leal 1518500249(%ebp,%ebx,1),%ebp addl %ecx,%ebp # 00_15 4 movl %edi,%ebx movl %ebp,%ecx roll $5,%ebp xorl %esi,%ebx addl %eax,%ebp movl 16(%esp),%eax andl %edx,%ebx rorl $2,%edx xorl %esi,%ebx leal 1518500249(%ebp,%eax,1),%ebp addl %ebx,%ebp # 00_15 5 movl %edx,%eax movl %ebp,%ebx roll $5,%ebp xorl %edi,%eax addl %esi,%ebp movl 20(%esp),%esi andl %ecx,%eax rorl $2,%ecx xorl %edi,%eax leal 1518500249(%ebp,%esi,1),%ebp addl %eax,%ebp # 00_15 6 movl %ecx,%esi movl %ebp,%eax roll $5,%ebp xorl %edx,%esi addl %edi,%ebp movl 24(%esp),%edi andl %ebx,%esi rorl $2,%ebx xorl %edx,%esi leal 1518500249(%ebp,%edi,1),%ebp addl %esi,%ebp # 00_15 7 movl %ebx,%edi movl %ebp,%esi roll $5,%ebp xorl %ecx,%edi addl %edx,%ebp movl 28(%esp),%edx andl %eax,%edi rorl $2,%eax xorl %ecx,%edi leal 1518500249(%ebp,%edx,1),%ebp addl %edi,%ebp # 00_15 8 movl %eax,%edx movl %ebp,%edi roll $5,%ebp xorl %ebx,%edx addl %ecx,%ebp movl 32(%esp),%ecx andl %esi,%edx rorl $2,%esi xorl %ebx,%edx leal 1518500249(%ebp,%ecx,1),%ebp addl %edx,%ebp # 00_15 9 movl %esi,%ecx movl %ebp,%edx roll $5,%ebp xorl %eax,%ecx addl %ebx,%ebp movl 36(%esp),%ebx andl %edi,%ecx rorl $2,%edi xorl %eax,%ecx leal 1518500249(%ebp,%ebx,1),%ebp addl %ecx,%ebp # 00_15 10 movl %edi,%ebx movl %ebp,%ecx roll $5,%ebp xorl %esi,%ebx addl %eax,%ebp movl 40(%esp),%eax andl %edx,%ebx rorl $2,%edx xorl %esi,%ebx leal 1518500249(%ebp,%eax,1),%ebp addl %ebx,%ebp # 00_15 11 movl %edx,%eax movl %ebp,%ebx roll $5,%ebp xorl %edi,%eax addl %esi,%ebp movl 44(%esp),%esi andl %ecx,%eax rorl $2,%ecx xorl %edi,%eax leal 1518500249(%ebp,%esi,1),%ebp addl %eax,%ebp # 00_15 12 movl %ecx,%esi movl %ebp,%eax roll $5,%ebp xorl %edx,%esi addl %edi,%ebp movl 48(%esp),%edi andl %ebx,%esi rorl $2,%ebx xorl %edx,%esi leal 1518500249(%ebp,%edi,1),%ebp addl %esi,%ebp # 00_15 13 movl %ebx,%edi movl %ebp,%esi roll $5,%ebp xorl %ecx,%edi addl %edx,%ebp movl 52(%esp),%edx andl %eax,%edi rorl $2,%eax xorl %ecx,%edi leal 1518500249(%ebp,%edx,1),%ebp addl %edi,%ebp # 00_15 14 movl %eax,%edx movl %ebp,%edi roll $5,%ebp xorl %ebx,%edx addl %ecx,%ebp movl 56(%esp),%ecx andl %esi,%edx rorl $2,%esi xorl %ebx,%edx leal 1518500249(%ebp,%ecx,1),%ebp addl %edx,%ebp # 00_15 15 movl %esi,%ecx movl %ebp,%edx roll $5,%ebp xorl %eax,%ecx addl %ebx,%ebp movl 60(%esp),%ebx andl %edi,%ecx rorl $2,%edi xorl %eax,%ecx leal 1518500249(%ebp,%ebx,1),%ebp movl (%esp),%ebx addl %ebp,%ecx # 16_19 16 movl %edi,%ebp xorl 8(%esp),%ebx xorl %esi,%ebp xorl 32(%esp),%ebx andl %edx,%ebp xorl 52(%esp),%ebx roll $1,%ebx xorl %esi,%ebp addl %ebp,%eax movl %ecx,%ebp rorl $2,%edx movl %ebx,(%esp) roll $5,%ebp leal 1518500249(%ebx,%eax,1),%ebx movl 4(%esp),%eax addl %ebp,%ebx # 16_19 17 movl %edx,%ebp xorl 12(%esp),%eax xorl %edi,%ebp xorl 36(%esp),%eax andl %ecx,%ebp xorl 56(%esp),%eax roll $1,%eax xorl %edi,%ebp addl %ebp,%esi movl %ebx,%ebp rorl $2,%ecx movl %eax,4(%esp) roll $5,%ebp leal 1518500249(%eax,%esi,1),%eax movl 8(%esp),%esi addl %ebp,%eax # 16_19 18 movl %ecx,%ebp xorl 16(%esp),%esi xorl %edx,%ebp xorl 40(%esp),%esi andl %ebx,%ebp xorl 60(%esp),%esi roll $1,%esi xorl %edx,%ebp addl %ebp,%edi movl %eax,%ebp rorl $2,%ebx movl %esi,8(%esp) roll $5,%ebp leal 1518500249(%esi,%edi,1),%esi movl 12(%esp),%edi addl %ebp,%esi # 16_19 19 movl %ebx,%ebp xorl 20(%esp),%edi xorl %ecx,%ebp xorl 44(%esp),%edi andl %eax,%ebp xorl (%esp),%edi roll $1,%edi xorl %ecx,%ebp addl %ebp,%edx movl %esi,%ebp rorl $2,%eax movl %edi,12(%esp) roll $5,%ebp leal 1518500249(%edi,%edx,1),%edi movl 16(%esp),%edx addl %ebp,%edi # 20_39 20 movl %esi,%ebp xorl 24(%esp),%edx xorl %eax,%ebp xorl 48(%esp),%edx xorl %ebx,%ebp xorl 4(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,16(%esp) leal 1859775393(%edx,%ecx,1),%edx movl 20(%esp),%ecx addl %ebp,%edx # 20_39 21 movl %edi,%ebp xorl 28(%esp),%ecx xorl %esi,%ebp xorl 52(%esp),%ecx xorl %eax,%ebp xorl 8(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,20(%esp) leal 1859775393(%ecx,%ebx,1),%ecx movl 24(%esp),%ebx addl %ebp,%ecx # 20_39 22 movl %edx,%ebp xorl 32(%esp),%ebx xorl %edi,%ebp xorl 56(%esp),%ebx xorl %esi,%ebp xorl 12(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,24(%esp) leal 1859775393(%ebx,%eax,1),%ebx movl 28(%esp),%eax addl %ebp,%ebx # 20_39 23 movl %ecx,%ebp xorl 36(%esp),%eax xorl %edx,%ebp xorl 60(%esp),%eax xorl %edi,%ebp xorl 16(%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,28(%esp) leal 1859775393(%eax,%esi,1),%eax movl 32(%esp),%esi addl %ebp,%eax # 20_39 24 movl %ebx,%ebp xorl 40(%esp),%esi xorl %ecx,%ebp xorl (%esp),%esi xorl %edx,%ebp xorl 20(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,32(%esp) leal 1859775393(%esi,%edi,1),%esi movl 36(%esp),%edi addl %ebp,%esi # 20_39 25 movl %eax,%ebp xorl 44(%esp),%edi xorl %ebx,%ebp xorl 4(%esp),%edi xorl %ecx,%ebp xorl 24(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,36(%esp) leal 1859775393(%edi,%edx,1),%edi movl 40(%esp),%edx addl %ebp,%edi # 20_39 26 movl %esi,%ebp xorl 48(%esp),%edx xorl %eax,%ebp xorl 8(%esp),%edx xorl %ebx,%ebp xorl 28(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,40(%esp) leal 1859775393(%edx,%ecx,1),%edx movl 44(%esp),%ecx addl %ebp,%edx # 20_39 27 movl %edi,%ebp xorl 52(%esp),%ecx xorl %esi,%ebp xorl 12(%esp),%ecx xorl %eax,%ebp xorl 32(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,44(%esp) leal 1859775393(%ecx,%ebx,1),%ecx movl 48(%esp),%ebx addl %ebp,%ecx # 20_39 28 movl %edx,%ebp xorl 56(%esp),%ebx xorl %edi,%ebp xorl 16(%esp),%ebx xorl %esi,%ebp xorl 36(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,48(%esp) leal 1859775393(%ebx,%eax,1),%ebx movl 52(%esp),%eax addl %ebp,%ebx # 20_39 29 movl %ecx,%ebp xorl 60(%esp),%eax xorl %edx,%ebp xorl 20(%esp),%eax xorl %edi,%ebp xorl 40(%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,52(%esp) leal 1859775393(%eax,%esi,1),%eax movl 56(%esp),%esi addl %ebp,%eax # 20_39 30 movl %ebx,%ebp xorl (%esp),%esi xorl %ecx,%ebp xorl 24(%esp),%esi xorl %edx,%ebp xorl 44(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,56(%esp) leal 1859775393(%esi,%edi,1),%esi movl 60(%esp),%edi addl %ebp,%esi # 20_39 31 movl %eax,%ebp xorl 4(%esp),%edi xorl %ebx,%ebp xorl 28(%esp),%edi xorl %ecx,%ebp xorl 48(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,60(%esp) leal 1859775393(%edi,%edx,1),%edi movl (%esp),%edx addl %ebp,%edi # 20_39 32 movl %esi,%ebp xorl 8(%esp),%edx xorl %eax,%ebp xorl 32(%esp),%edx xorl %ebx,%ebp xorl 52(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,(%esp) leal 1859775393(%edx,%ecx,1),%edx movl 4(%esp),%ecx addl %ebp,%edx # 20_39 33 movl %edi,%ebp xorl 12(%esp),%ecx xorl %esi,%ebp xorl 36(%esp),%ecx xorl %eax,%ebp xorl 56(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,4(%esp) leal 1859775393(%ecx,%ebx,1),%ecx movl 8(%esp),%ebx addl %ebp,%ecx # 20_39 34 movl %edx,%ebp xorl 16(%esp),%ebx xorl %edi,%ebp xorl 40(%esp),%ebx xorl %esi,%ebp xorl 60(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,8(%esp) leal 1859775393(%ebx,%eax,1),%ebx movl 12(%esp),%eax addl %ebp,%ebx # 20_39 35 movl %ecx,%ebp xorl 20(%esp),%eax xorl %edx,%ebp xorl 44(%esp),%eax xorl %edi,%ebp xorl (%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,12(%esp) leal 1859775393(%eax,%esi,1),%eax movl 16(%esp),%esi addl %ebp,%eax # 20_39 36 movl %ebx,%ebp xorl 24(%esp),%esi xorl %ecx,%ebp xorl 48(%esp),%esi xorl %edx,%ebp xorl 4(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,16(%esp) leal 1859775393(%esi,%edi,1),%esi movl 20(%esp),%edi addl %ebp,%esi # 20_39 37 movl %eax,%ebp xorl 28(%esp),%edi xorl %ebx,%ebp xorl 52(%esp),%edi xorl %ecx,%ebp xorl 8(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,20(%esp) leal 1859775393(%edi,%edx,1),%edi movl 24(%esp),%edx addl %ebp,%edi # 20_39 38 movl %esi,%ebp xorl 32(%esp),%edx xorl %eax,%ebp xorl 56(%esp),%edx xorl %ebx,%ebp xorl 12(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,24(%esp) leal 1859775393(%edx,%ecx,1),%edx movl 28(%esp),%ecx addl %ebp,%edx # 20_39 39 movl %edi,%ebp xorl 36(%esp),%ecx xorl %esi,%ebp xorl 60(%esp),%ecx xorl %eax,%ebp xorl 16(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,28(%esp) leal 1859775393(%ecx,%ebx,1),%ecx movl 32(%esp),%ebx addl %ebp,%ecx # 40_59 40 movl %edi,%ebp xorl 40(%esp),%ebx xorl %esi,%ebp xorl (%esp),%ebx andl %edx,%ebp xorl 20(%esp),%ebx roll $1,%ebx addl %eax,%ebp rorl $2,%edx movl %ecx,%eax roll $5,%eax movl %ebx,32(%esp) leal 2400959708(%ebx,%ebp,1),%ebx movl %edi,%ebp addl %eax,%ebx andl %esi,%ebp movl 36(%esp),%eax addl %ebp,%ebx # 40_59 41 movl %edx,%ebp xorl 44(%esp),%eax xorl %edi,%ebp xorl 4(%esp),%eax andl %ecx,%ebp xorl 24(%esp),%eax roll $1,%eax addl %esi,%ebp rorl $2,%ecx movl %ebx,%esi roll $5,%esi movl %eax,36(%esp) leal 2400959708(%eax,%ebp,1),%eax movl %edx,%ebp addl %esi,%eax andl %edi,%ebp movl 40(%esp),%esi addl %ebp,%eax # 40_59 42 movl %ecx,%ebp xorl 48(%esp),%esi xorl %edx,%ebp xorl 8(%esp),%esi andl %ebx,%ebp xorl 28(%esp),%esi roll $1,%esi addl %edi,%ebp rorl $2,%ebx movl %eax,%edi roll $5,%edi movl %esi,40(%esp) leal 2400959708(%esi,%ebp,1),%esi movl %ecx,%ebp addl %edi,%esi andl %edx,%ebp movl 44(%esp),%edi addl %ebp,%esi # 40_59 43 movl %ebx,%ebp xorl 52(%esp),%edi xorl %ecx,%ebp xorl 12(%esp),%edi andl %eax,%ebp xorl 32(%esp),%edi roll $1,%edi addl %edx,%ebp rorl $2,%eax movl %esi,%edx roll $5,%edx movl %edi,44(%esp) leal 2400959708(%edi,%ebp,1),%edi movl %ebx,%ebp addl %edx,%edi andl %ecx,%ebp movl 48(%esp),%edx addl %ebp,%edi # 40_59 44 movl %eax,%ebp xorl 56(%esp),%edx xorl %ebx,%ebp xorl 16(%esp),%edx andl %esi,%ebp xorl 36(%esp),%edx roll $1,%edx addl %ecx,%ebp rorl $2,%esi movl %edi,%ecx roll $5,%ecx movl %edx,48(%esp) leal 2400959708(%edx,%ebp,1),%edx movl %eax,%ebp addl %ecx,%edx andl %ebx,%ebp movl 52(%esp),%ecx addl %ebp,%edx # 40_59 45 movl %esi,%ebp xorl 60(%esp),%ecx xorl %eax,%ebp xorl 20(%esp),%ecx andl %edi,%ebp xorl 40(%esp),%ecx roll $1,%ecx addl %ebx,%ebp rorl $2,%edi movl %edx,%ebx roll $5,%ebx movl %ecx,52(%esp) leal 2400959708(%ecx,%ebp,1),%ecx movl %esi,%ebp addl %ebx,%ecx andl %eax,%ebp movl 56(%esp),%ebx addl %ebp,%ecx # 40_59 46 movl %edi,%ebp xorl (%esp),%ebx xorl %esi,%ebp xorl 24(%esp),%ebx andl %edx,%ebp xorl 44(%esp),%ebx roll $1,%ebx addl %eax,%ebp rorl $2,%edx movl %ecx,%eax roll $5,%eax movl %ebx,56(%esp) leal 2400959708(%ebx,%ebp,1),%ebx movl %edi,%ebp addl %eax,%ebx andl %esi,%ebp movl 60(%esp),%eax addl %ebp,%ebx # 40_59 47 movl %edx,%ebp xorl 4(%esp),%eax xorl %edi,%ebp xorl 28(%esp),%eax andl %ecx,%ebp xorl 48(%esp),%eax roll $1,%eax addl %esi,%ebp rorl $2,%ecx movl %ebx,%esi roll $5,%esi movl %eax,60(%esp) leal 2400959708(%eax,%ebp,1),%eax movl %edx,%ebp addl %esi,%eax andl %edi,%ebp movl (%esp),%esi addl %ebp,%eax # 40_59 48 movl %ecx,%ebp xorl 8(%esp),%esi xorl %edx,%ebp xorl 32(%esp),%esi andl %ebx,%ebp xorl 52(%esp),%esi roll $1,%esi addl %edi,%ebp rorl $2,%ebx movl %eax,%edi roll $5,%edi movl %esi,(%esp) leal 2400959708(%esi,%ebp,1),%esi movl %ecx,%ebp addl %edi,%esi andl %edx,%ebp movl 4(%esp),%edi addl %ebp,%esi # 40_59 49 movl %ebx,%ebp xorl 12(%esp),%edi xorl %ecx,%ebp xorl 36(%esp),%edi andl %eax,%ebp xorl 56(%esp),%edi roll $1,%edi addl %edx,%ebp rorl $2,%eax movl %esi,%edx roll $5,%edx movl %edi,4(%esp) leal 2400959708(%edi,%ebp,1),%edi movl %ebx,%ebp addl %edx,%edi andl %ecx,%ebp movl 8(%esp),%edx addl %ebp,%edi # 40_59 50 movl %eax,%ebp xorl 16(%esp),%edx xorl %ebx,%ebp xorl 40(%esp),%edx andl %esi,%ebp xorl 60(%esp),%edx roll $1,%edx addl %ecx,%ebp rorl $2,%esi movl %edi,%ecx roll $5,%ecx movl %edx,8(%esp) leal 2400959708(%edx,%ebp,1),%edx movl %eax,%ebp addl %ecx,%edx andl %ebx,%ebp movl 12(%esp),%ecx addl %ebp,%edx # 40_59 51 movl %esi,%ebp xorl 20(%esp),%ecx xorl %eax,%ebp xorl 44(%esp),%ecx andl %edi,%ebp xorl (%esp),%ecx roll $1,%ecx addl %ebx,%ebp rorl $2,%edi movl %edx,%ebx roll $5,%ebx movl %ecx,12(%esp) leal 2400959708(%ecx,%ebp,1),%ecx movl %esi,%ebp addl %ebx,%ecx andl %eax,%ebp movl 16(%esp),%ebx addl %ebp,%ecx # 40_59 52 movl %edi,%ebp xorl 24(%esp),%ebx xorl %esi,%ebp xorl 48(%esp),%ebx andl %edx,%ebp xorl 4(%esp),%ebx roll $1,%ebx addl %eax,%ebp rorl $2,%edx movl %ecx,%eax roll $5,%eax movl %ebx,16(%esp) leal 2400959708(%ebx,%ebp,1),%ebx movl %edi,%ebp addl %eax,%ebx andl %esi,%ebp movl 20(%esp),%eax addl %ebp,%ebx # 40_59 53 movl %edx,%ebp xorl 28(%esp),%eax xorl %edi,%ebp xorl 52(%esp),%eax andl %ecx,%ebp xorl 8(%esp),%eax roll $1,%eax addl %esi,%ebp rorl $2,%ecx movl %ebx,%esi roll $5,%esi movl %eax,20(%esp) leal 2400959708(%eax,%ebp,1),%eax movl %edx,%ebp addl %esi,%eax andl %edi,%ebp movl 24(%esp),%esi addl %ebp,%eax # 40_59 54 movl %ecx,%ebp xorl 32(%esp),%esi xorl %edx,%ebp xorl 56(%esp),%esi andl %ebx,%ebp xorl 12(%esp),%esi roll $1,%esi addl %edi,%ebp rorl $2,%ebx movl %eax,%edi roll $5,%edi movl %esi,24(%esp) leal 2400959708(%esi,%ebp,1),%esi movl %ecx,%ebp addl %edi,%esi andl %edx,%ebp movl 28(%esp),%edi addl %ebp,%esi # 40_59 55 movl %ebx,%ebp xorl 36(%esp),%edi xorl %ecx,%ebp xorl 60(%esp),%edi andl %eax,%ebp xorl 16(%esp),%edi roll $1,%edi addl %edx,%ebp rorl $2,%eax movl %esi,%edx roll $5,%edx movl %edi,28(%esp) leal 2400959708(%edi,%ebp,1),%edi movl %ebx,%ebp addl %edx,%edi andl %ecx,%ebp movl 32(%esp),%edx addl %ebp,%edi # 40_59 56 movl %eax,%ebp xorl 40(%esp),%edx xorl %ebx,%ebp xorl (%esp),%edx andl %esi,%ebp xorl 20(%esp),%edx roll $1,%edx addl %ecx,%ebp rorl $2,%esi movl %edi,%ecx roll $5,%ecx movl %edx,32(%esp) leal 2400959708(%edx,%ebp,1),%edx movl %eax,%ebp addl %ecx,%edx andl %ebx,%ebp movl 36(%esp),%ecx addl %ebp,%edx # 40_59 57 movl %esi,%ebp xorl 44(%esp),%ecx xorl %eax,%ebp xorl 4(%esp),%ecx andl %edi,%ebp xorl 24(%esp),%ecx roll $1,%ecx addl %ebx,%ebp rorl $2,%edi movl %edx,%ebx roll $5,%ebx movl %ecx,36(%esp) leal 2400959708(%ecx,%ebp,1),%ecx movl %esi,%ebp addl %ebx,%ecx andl %eax,%ebp movl 40(%esp),%ebx addl %ebp,%ecx # 40_59 58 movl %edi,%ebp xorl 48(%esp),%ebx xorl %esi,%ebp xorl 8(%esp),%ebx andl %edx,%ebp xorl 28(%esp),%ebx roll $1,%ebx addl %eax,%ebp rorl $2,%edx movl %ecx,%eax roll $5,%eax movl %ebx,40(%esp) leal 2400959708(%ebx,%ebp,1),%ebx movl %edi,%ebp addl %eax,%ebx andl %esi,%ebp movl 44(%esp),%eax addl %ebp,%ebx # 40_59 59 movl %edx,%ebp xorl 52(%esp),%eax xorl %edi,%ebp xorl 12(%esp),%eax andl %ecx,%ebp xorl 32(%esp),%eax roll $1,%eax addl %esi,%ebp rorl $2,%ecx movl %ebx,%esi roll $5,%esi movl %eax,44(%esp) leal 2400959708(%eax,%ebp,1),%eax movl %edx,%ebp addl %esi,%eax andl %edi,%ebp movl 48(%esp),%esi addl %ebp,%eax # 20_39 60 movl %ebx,%ebp xorl 56(%esp),%esi xorl %ecx,%ebp xorl 16(%esp),%esi xorl %edx,%ebp xorl 36(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,48(%esp) leal 3395469782(%esi,%edi,1),%esi movl 52(%esp),%edi addl %ebp,%esi # 20_39 61 movl %eax,%ebp xorl 60(%esp),%edi xorl %ebx,%ebp xorl 20(%esp),%edi xorl %ecx,%ebp xorl 40(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,52(%esp) leal 3395469782(%edi,%edx,1),%edi movl 56(%esp),%edx addl %ebp,%edi # 20_39 62 movl %esi,%ebp xorl (%esp),%edx xorl %eax,%ebp xorl 24(%esp),%edx xorl %ebx,%ebp xorl 44(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,56(%esp) leal 3395469782(%edx,%ecx,1),%edx movl 60(%esp),%ecx addl %ebp,%edx # 20_39 63 movl %edi,%ebp xorl 4(%esp),%ecx xorl %esi,%ebp xorl 28(%esp),%ecx xorl %eax,%ebp xorl 48(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,60(%esp) leal 3395469782(%ecx,%ebx,1),%ecx movl (%esp),%ebx addl %ebp,%ecx # 20_39 64 movl %edx,%ebp xorl 8(%esp),%ebx xorl %edi,%ebp xorl 32(%esp),%ebx xorl %esi,%ebp xorl 52(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,(%esp) leal 3395469782(%ebx,%eax,1),%ebx movl 4(%esp),%eax addl %ebp,%ebx # 20_39 65 movl %ecx,%ebp xorl 12(%esp),%eax xorl %edx,%ebp xorl 36(%esp),%eax xorl %edi,%ebp xorl 56(%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,4(%esp) leal 3395469782(%eax,%esi,1),%eax movl 8(%esp),%esi addl %ebp,%eax # 20_39 66 movl %ebx,%ebp xorl 16(%esp),%esi xorl %ecx,%ebp xorl 40(%esp),%esi xorl %edx,%ebp xorl 60(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,8(%esp) leal 3395469782(%esi,%edi,1),%esi movl 12(%esp),%edi addl %ebp,%esi # 20_39 67 movl %eax,%ebp xorl 20(%esp),%edi xorl %ebx,%ebp xorl 44(%esp),%edi xorl %ecx,%ebp xorl (%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,12(%esp) leal 3395469782(%edi,%edx,1),%edi movl 16(%esp),%edx addl %ebp,%edi # 20_39 68 movl %esi,%ebp xorl 24(%esp),%edx xorl %eax,%ebp xorl 48(%esp),%edx xorl %ebx,%ebp xorl 4(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,16(%esp) leal 3395469782(%edx,%ecx,1),%edx movl 20(%esp),%ecx addl %ebp,%edx # 20_39 69 movl %edi,%ebp xorl 28(%esp),%ecx xorl %esi,%ebp xorl 52(%esp),%ecx xorl %eax,%ebp xorl 8(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,20(%esp) leal 3395469782(%ecx,%ebx,1),%ecx movl 24(%esp),%ebx addl %ebp,%ecx # 20_39 70 movl %edx,%ebp xorl 32(%esp),%ebx xorl %edi,%ebp xorl 56(%esp),%ebx xorl %esi,%ebp xorl 12(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,24(%esp) leal 3395469782(%ebx,%eax,1),%ebx movl 28(%esp),%eax addl %ebp,%ebx # 20_39 71 movl %ecx,%ebp xorl 36(%esp),%eax xorl %edx,%ebp xorl 60(%esp),%eax xorl %edi,%ebp xorl 16(%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,28(%esp) leal 3395469782(%eax,%esi,1),%eax movl 32(%esp),%esi addl %ebp,%eax # 20_39 72 movl %ebx,%ebp xorl 40(%esp),%esi xorl %ecx,%ebp xorl (%esp),%esi xorl %edx,%ebp xorl 20(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp movl %esi,32(%esp) leal 3395469782(%esi,%edi,1),%esi movl 36(%esp),%edi addl %ebp,%esi # 20_39 73 movl %eax,%ebp xorl 44(%esp),%edi xorl %ebx,%ebp xorl 4(%esp),%edi xorl %ecx,%ebp xorl 24(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp movl %edi,36(%esp) leal 3395469782(%edi,%edx,1),%edi movl 40(%esp),%edx addl %ebp,%edi # 20_39 74 movl %esi,%ebp xorl 48(%esp),%edx xorl %eax,%ebp xorl 8(%esp),%edx xorl %ebx,%ebp xorl 28(%esp),%edx roll $1,%edx addl %ebp,%ecx rorl $2,%esi movl %edi,%ebp roll $5,%ebp movl %edx,40(%esp) leal 3395469782(%edx,%ecx,1),%edx movl 44(%esp),%ecx addl %ebp,%edx # 20_39 75 movl %edi,%ebp xorl 52(%esp),%ecx xorl %esi,%ebp xorl 12(%esp),%ecx xorl %eax,%ebp xorl 32(%esp),%ecx roll $1,%ecx addl %ebp,%ebx rorl $2,%edi movl %edx,%ebp roll $5,%ebp movl %ecx,44(%esp) leal 3395469782(%ecx,%ebx,1),%ecx movl 48(%esp),%ebx addl %ebp,%ecx # 20_39 76 movl %edx,%ebp xorl 56(%esp),%ebx xorl %edi,%ebp xorl 16(%esp),%ebx xorl %esi,%ebp xorl 36(%esp),%ebx roll $1,%ebx addl %ebp,%eax rorl $2,%edx movl %ecx,%ebp roll $5,%ebp movl %ebx,48(%esp) leal 3395469782(%ebx,%eax,1),%ebx movl 52(%esp),%eax addl %ebp,%ebx # 20_39 77 movl %ecx,%ebp xorl 60(%esp),%eax xorl %edx,%ebp xorl 20(%esp),%eax xorl %edi,%ebp xorl 40(%esp),%eax roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp leal 3395469782(%eax,%esi,1),%eax movl 56(%esp),%esi addl %ebp,%eax # 20_39 78 movl %ebx,%ebp xorl (%esp),%esi xorl %ecx,%ebp xorl 24(%esp),%esi xorl %edx,%ebp xorl 44(%esp),%esi roll $1,%esi addl %ebp,%edi rorl $2,%ebx movl %eax,%ebp roll $5,%ebp leal 3395469782(%esi,%edi,1),%esi movl 60(%esp),%edi addl %ebp,%esi # 20_39 79 movl %eax,%ebp xorl 4(%esp),%edi xorl %ebx,%ebp xorl 28(%esp),%edi xorl %ecx,%ebp xorl 48(%esp),%edi roll $1,%edi addl %ebp,%edx rorl $2,%eax movl %esi,%ebp roll $5,%ebp leal 3395469782(%edi,%edx,1),%edi addl %ebp,%edi movl 96(%esp),%ebp movl 100(%esp),%edx addl (%ebp),%edi addl 4(%ebp),%esi addl 8(%ebp),%eax addl 12(%ebp),%ebx addl 16(%ebp),%ecx movl %edi,(%ebp) addl $64,%edx movl %esi,4(%ebp) cmpl 104(%esp),%edx movl %eax,8(%ebp) movl %ecx,%edi movl %ebx,12(%ebp) movl %edx,%esi movl %ecx,16(%ebp) jb L002loop addl $76,%esp popl %edi popl %esi popl %ebx popl %ebp ret .align 4 __sha1_block_data_order_shaext: pushl %ebp pushl %ebx pushl %esi pushl %edi call L003pic_point L003pic_point: popl %ebp leal LK_XX_XX-L003pic_point(%ebp),%ebp Lshaext_shortcut: movl 20(%esp),%edi movl %esp,%ebx movl 24(%esp),%esi movl 28(%esp),%ecx subl $32,%esp movdqu (%edi),%xmm0 movd 16(%edi),%xmm1 andl $-32,%esp movdqa 80(%ebp),%xmm3 movdqu (%esi),%xmm4 pshufd $27,%xmm0,%xmm0 movdqu 16(%esi),%xmm5 pshufd $27,%xmm1,%xmm1 movdqu 32(%esi),%xmm6 .byte 102,15,56,0,227 movdqu 48(%esi),%xmm7 .byte 102,15,56,0,235 .byte 102,15,56,0,243 .byte 102,15,56,0,251 jmp L004loop_shaext .align 4,0x90 L004loop_shaext: decl %ecx leal 64(%esi),%eax movdqa %xmm1,(%esp) paddd %xmm4,%xmm1 cmovnel %eax,%esi movdqa %xmm0,16(%esp) .byte 15,56,201,229 movdqa %xmm0,%xmm2 .byte 15,58,204,193,0 .byte 15,56,200,213 pxor %xmm6,%xmm4 .byte 15,56,201,238 .byte 15,56,202,231 movdqa %xmm0,%xmm1 .byte 15,58,204,194,0 .byte 15,56,200,206 pxor %xmm7,%xmm5 .byte 15,56,202,236 .byte 15,56,201,247 movdqa %xmm0,%xmm2 .byte 15,58,204,193,0 .byte 15,56,200,215 pxor %xmm4,%xmm6 .byte 15,56,201,252 .byte 15,56,202,245 movdqa %xmm0,%xmm1 .byte 15,58,204,194,0 .byte 15,56,200,204 pxor %xmm5,%xmm7 .byte 15,56,202,254 .byte 15,56,201,229 movdqa %xmm0,%xmm2 .byte 15,58,204,193,0 .byte 15,56,200,213 pxor %xmm6,%xmm4 .byte 15,56,201,238 .byte 15,56,202,231 movdqa %xmm0,%xmm1 .byte 15,58,204,194,1 .byte 15,56,200,206 pxor %xmm7,%xmm5 .byte 15,56,202,236 .byte 15,56,201,247 movdqa %xmm0,%xmm2 .byte 15,58,204,193,1 .byte 15,56,200,215 pxor %xmm4,%xmm6 .byte 15,56,201,252 .byte 15,56,202,245 movdqa %xmm0,%xmm1 .byte 15,58,204,194,1 .byte 15,56,200,204 pxor %xmm5,%xmm7 .byte 15,56,202,254 .byte 15,56,201,229 movdqa %xmm0,%xmm2 .byte 15,58,204,193,1 .byte 15,56,200,213 pxor %xmm6,%xmm4 .byte 15,56,201,238 .byte 15,56,202,231 movdqa %xmm0,%xmm1 .byte 15,58,204,194,1 .byte 15,56,200,206 pxor %xmm7,%xmm5 .byte 15,56,202,236 .byte 15,56,201,247 movdqa %xmm0,%xmm2 .byte 15,58,204,193,2 .byte 15,56,200,215 pxor %xmm4,%xmm6 .byte 15,56,201,252 .byte 15,56,202,245 movdqa %xmm0,%xmm1 .byte 15,58,204,194,2 .byte 15,56,200,204 pxor %xmm5,%xmm7 .byte 15,56,202,254 .byte 15,56,201,229 movdqa %xmm0,%xmm2 .byte 15,58,204,193,2 .byte 15,56,200,213 pxor %xmm6,%xmm4 .byte 15,56,201,238 .byte 15,56,202,231 movdqa %xmm0,%xmm1 .byte 15,58,204,194,2 .byte 15,56,200,206 pxor %xmm7,%xmm5 .byte 15,56,202,236 .byte 15,56,201,247 movdqa %xmm0,%xmm2 .byte 15,58,204,193,2 .byte 15,56,200,215 pxor %xmm4,%xmm6 .byte 15,56,201,252 .byte 15,56,202,245 movdqa %xmm0,%xmm1 .byte 15,58,204,194,3 .byte 15,56,200,204 pxor %xmm5,%xmm7 .byte 15,56,202,254 movdqu (%esi),%xmm4 movdqa %xmm0,%xmm2 .byte 15,58,204,193,3 .byte 15,56,200,213 movdqu 16(%esi),%xmm5 .byte 102,15,56,0,227 movdqa %xmm0,%xmm1 .byte 15,58,204,194,3 .byte 15,56,200,206 movdqu 32(%esi),%xmm6 .byte 102,15,56,0,235 movdqa %xmm0,%xmm2 .byte 15,58,204,193,3 .byte 15,56,200,215 movdqu 48(%esi),%xmm7 .byte 102,15,56,0,243 movdqa %xmm0,%xmm1 .byte 15,58,204,194,3 movdqa (%esp),%xmm2 .byte 102,15,56,0,251 .byte 15,56,200,202 paddd 16(%esp),%xmm0 jnz L004loop_shaext pshufd $27,%xmm0,%xmm0 pshufd $27,%xmm1,%xmm1 movdqu %xmm0,(%edi) movd %xmm1,16(%edi) movl %ebx,%esp popl %edi popl %esi popl %ebx popl %ebp ret .align 4 __sha1_block_data_order_ssse3: pushl %ebp pushl %ebx pushl %esi pushl %edi call L005pic_point L005pic_point: popl %ebp leal LK_XX_XX-L005pic_point(%ebp),%ebp Lssse3_shortcut: movdqa (%ebp),%xmm7 movdqa 16(%ebp),%xmm0 movdqa 32(%ebp),%xmm1 movdqa 48(%ebp),%xmm2 movdqa 64(%ebp),%xmm6 movl 20(%esp),%edi movl 24(%esp),%ebp movl 28(%esp),%edx movl %esp,%esi subl $208,%esp andl $-64,%esp movdqa %xmm0,112(%esp) movdqa %xmm1,128(%esp) movdqa %xmm2,144(%esp) shll $6,%edx movdqa %xmm7,160(%esp) addl %ebp,%edx movdqa %xmm6,176(%esp) addl $64,%ebp movl %edi,192(%esp) movl %ebp,196(%esp) movl %edx,200(%esp) movl %esi,204(%esp) movl (%edi),%eax movl 4(%edi),%ebx movl 8(%edi),%ecx movl 12(%edi),%edx movl 16(%edi),%edi movl %ebx,%esi movdqu -64(%ebp),%xmm0 movdqu -48(%ebp),%xmm1 movdqu -32(%ebp),%xmm2 movdqu -16(%ebp),%xmm3 .byte 102,15,56,0,198 .byte 102,15,56,0,206 .byte 102,15,56,0,214 movdqa %xmm7,96(%esp) .byte 102,15,56,0,222 paddd %xmm7,%xmm0 paddd %xmm7,%xmm1 paddd %xmm7,%xmm2 movdqa %xmm0,(%esp) psubd %xmm7,%xmm0 movdqa %xmm1,16(%esp) psubd %xmm7,%xmm1 movdqa %xmm2,32(%esp) movl %ecx,%ebp psubd %xmm7,%xmm2 xorl %edx,%ebp pshufd $238,%xmm0,%xmm4 andl %ebp,%esi jmp L006loop .align 4,0x90 L006loop: rorl $2,%ebx xorl %edx,%esi movl %eax,%ebp punpcklqdq %xmm1,%xmm4 movdqa %xmm3,%xmm6 addl (%esp),%edi xorl %ecx,%ebx paddd %xmm3,%xmm7 movdqa %xmm0,64(%esp) roll $5,%eax addl %esi,%edi psrldq $4,%xmm6 andl %ebx,%ebp xorl %ecx,%ebx pxor %xmm0,%xmm4 addl %eax,%edi rorl $7,%eax pxor %xmm2,%xmm6 xorl %ecx,%ebp movl %edi,%esi addl 4(%esp),%edx pxor %xmm6,%xmm4 xorl %ebx,%eax roll $5,%edi movdqa %xmm7,48(%esp) addl %ebp,%edx andl %eax,%esi movdqa %xmm4,%xmm0 xorl %ebx,%eax addl %edi,%edx rorl $7,%edi movdqa %xmm4,%xmm6 xorl %ebx,%esi pslldq $12,%xmm0 paddd %xmm4,%xmm4 movl %edx,%ebp addl 8(%esp),%ecx psrld $31,%xmm6 xorl %eax,%edi roll $5,%edx movdqa %xmm0,%xmm7 addl %esi,%ecx andl %edi,%ebp xorl %eax,%edi psrld $30,%xmm0 addl %edx,%ecx rorl $7,%edx por %xmm6,%xmm4 xorl %eax,%ebp movl %ecx,%esi addl 12(%esp),%ebx pslld $2,%xmm7 xorl %edi,%edx roll $5,%ecx pxor %xmm0,%xmm4 movdqa 96(%esp),%xmm0 addl %ebp,%ebx andl %edx,%esi pxor %xmm7,%xmm4 pshufd $238,%xmm1,%xmm5 xorl %edi,%edx addl %ecx,%ebx rorl $7,%ecx xorl %edi,%esi movl %ebx,%ebp punpcklqdq %xmm2,%xmm5 movdqa %xmm4,%xmm7 addl 16(%esp),%eax xorl %edx,%ecx paddd %xmm4,%xmm0 movdqa %xmm1,80(%esp) roll $5,%ebx addl %esi,%eax psrldq $4,%xmm7 andl %ecx,%ebp xorl %edx,%ecx pxor %xmm1,%xmm5 addl %ebx,%eax rorl $7,%ebx pxor %xmm3,%xmm7 xorl %edx,%ebp movl %eax,%esi addl 20(%esp),%edi pxor %xmm7,%xmm5 xorl %ecx,%ebx roll $5,%eax movdqa %xmm0,(%esp) addl %ebp,%edi andl %ebx,%esi movdqa %xmm5,%xmm1 xorl %ecx,%ebx addl %eax,%edi rorl $7,%eax movdqa %xmm5,%xmm7 xorl %ecx,%esi pslldq $12,%xmm1 paddd %xmm5,%xmm5 movl %edi,%ebp addl 24(%esp),%edx psrld $31,%xmm7 xorl %ebx,%eax roll $5,%edi movdqa %xmm1,%xmm0 addl %esi,%edx andl %eax,%ebp xorl %ebx,%eax psrld $30,%xmm1 addl %edi,%edx rorl $7,%edi por %xmm7,%xmm5 xorl %ebx,%ebp movl %edx,%esi addl 28(%esp),%ecx pslld $2,%xmm0 xorl %eax,%edi roll $5,%edx pxor %xmm1,%xmm5 movdqa 112(%esp),%xmm1 addl %ebp,%ecx andl %edi,%esi pxor %xmm0,%xmm5 pshufd $238,%xmm2,%xmm6 xorl %eax,%edi addl %edx,%ecx rorl $7,%edx xorl %eax,%esi movl %ecx,%ebp punpcklqdq %xmm3,%xmm6 movdqa %xmm5,%xmm0 addl 32(%esp),%ebx xorl %edi,%edx paddd %xmm5,%xmm1 movdqa %xmm2,96(%esp) roll $5,%ecx addl %esi,%ebx psrldq $4,%xmm0 andl %edx,%ebp xorl %edi,%edx pxor %xmm2,%xmm6 addl %ecx,%ebx rorl $7,%ecx pxor %xmm4,%xmm0 xorl %edi,%ebp movl %ebx,%esi addl 36(%esp),%eax pxor %xmm0,%xmm6 xorl %edx,%ecx roll $5,%ebx movdqa %xmm1,16(%esp) addl %ebp,%eax andl %ecx,%esi movdqa %xmm6,%xmm2 xorl %edx,%ecx addl %ebx,%eax rorl $7,%ebx movdqa %xmm6,%xmm0 xorl %edx,%esi pslldq $12,%xmm2 paddd %xmm6,%xmm6 movl %eax,%ebp addl 40(%esp),%edi psrld $31,%xmm0 xorl %ecx,%ebx roll $5,%eax movdqa %xmm2,%xmm1 addl %esi,%edi andl %ebx,%ebp xorl %ecx,%ebx psrld $30,%xmm2 addl %eax,%edi rorl $7,%eax por %xmm0,%xmm6 xorl %ecx,%ebp movdqa 64(%esp),%xmm0 movl %edi,%esi addl 44(%esp),%edx pslld $2,%xmm1 xorl %ebx,%eax roll $5,%edi pxor %xmm2,%xmm6 movdqa 112(%esp),%xmm2 addl %ebp,%edx andl %eax,%esi pxor %xmm1,%xmm6 pshufd $238,%xmm3,%xmm7 xorl %ebx,%eax addl %edi,%edx rorl $7,%edi xorl %ebx,%esi movl %edx,%ebp punpcklqdq %xmm4,%xmm7 movdqa %xmm6,%xmm1 addl 48(%esp),%ecx xorl %eax,%edi paddd %xmm6,%xmm2 movdqa %xmm3,64(%esp) roll $5,%edx addl %esi,%ecx psrldq $4,%xmm1 andl %edi,%ebp xorl %eax,%edi pxor %xmm3,%xmm7 addl %edx,%ecx rorl $7,%edx pxor %xmm5,%xmm1 xorl %eax,%ebp movl %ecx,%esi addl 52(%esp),%ebx pxor %xmm1,%xmm7 xorl %edi,%edx roll $5,%ecx movdqa %xmm2,32(%esp) addl %ebp,%ebx andl %edx,%esi movdqa %xmm7,%xmm3 xorl %edi,%edx addl %ecx,%ebx rorl $7,%ecx movdqa %xmm7,%xmm1 xorl %edi,%esi pslldq $12,%xmm3 paddd %xmm7,%xmm7 movl %ebx,%ebp addl 56(%esp),%eax psrld $31,%xmm1 xorl %edx,%ecx roll $5,%ebx movdqa %xmm3,%xmm2 addl %esi,%eax andl %ecx,%ebp xorl %edx,%ecx psrld $30,%xmm3 addl %ebx,%eax rorl $7,%ebx por %xmm1,%xmm7 xorl %edx,%ebp movdqa 80(%esp),%xmm1 movl %eax,%esi addl 60(%esp),%edi pslld $2,%xmm2 xorl %ecx,%ebx roll $5,%eax pxor %xmm3,%xmm7 movdqa 112(%esp),%xmm3 addl %ebp,%edi andl %ebx,%esi pxor %xmm2,%xmm7 pshufd $238,%xmm6,%xmm2 xorl %ecx,%ebx addl %eax,%edi rorl $7,%eax pxor %xmm4,%xmm0 punpcklqdq %xmm7,%xmm2 xorl %ecx,%esi movl %edi,%ebp addl (%esp),%edx pxor %xmm1,%xmm0 movdqa %xmm4,80(%esp) xorl %ebx,%eax roll $5,%edi movdqa %xmm3,%xmm4 addl %esi,%edx paddd %xmm7,%xmm3 andl %eax,%ebp pxor %xmm2,%xmm0 xorl %ebx,%eax addl %edi,%edx rorl $7,%edi xorl %ebx,%ebp movdqa %xmm0,%xmm2 movdqa %xmm3,48(%esp) movl %edx,%esi addl 4(%esp),%ecx xorl %eax,%edi roll $5,%edx pslld $2,%xmm0 addl %ebp,%ecx andl %edi,%esi psrld $30,%xmm2 xorl %eax,%edi addl %edx,%ecx rorl $7,%edx xorl %eax,%esi movl %ecx,%ebp addl 8(%esp),%ebx xorl %edi,%edx roll $5,%ecx por %xmm2,%xmm0 addl %esi,%ebx andl %edx,%ebp movdqa 96(%esp),%xmm2 xorl %edi,%edx addl %ecx,%ebx addl 12(%esp),%eax xorl %edi,%ebp movl %ebx,%esi pshufd $238,%xmm7,%xmm3 roll $5,%ebx addl %ebp,%eax xorl %edx,%esi rorl $7,%ecx addl %ebx,%eax addl 16(%esp),%edi pxor %xmm5,%xmm1 punpcklqdq %xmm0,%xmm3 xorl %ecx,%esi movl %eax,%ebp roll $5,%eax pxor %xmm2,%xmm1 movdqa %xmm5,96(%esp) addl %esi,%edi xorl %ecx,%ebp movdqa %xmm4,%xmm5 rorl $7,%ebx paddd %xmm0,%xmm4 addl %eax,%edi pxor %xmm3,%xmm1 addl 20(%esp),%edx xorl %ebx,%ebp movl %edi,%esi roll $5,%edi movdqa %xmm1,%xmm3 movdqa %xmm4,(%esp) addl %ebp,%edx xorl %ebx,%esi rorl $7,%eax addl %edi,%edx pslld $2,%xmm1 addl 24(%esp),%ecx xorl %eax,%esi psrld $30,%xmm3 movl %edx,%ebp roll $5,%edx addl %esi,%ecx xorl %eax,%ebp rorl $7,%edi addl %edx,%ecx por %xmm3,%xmm1 addl 28(%esp),%ebx xorl %edi,%ebp movdqa 64(%esp),%xmm3 movl %ecx,%esi roll $5,%ecx addl %ebp,%ebx xorl %edi,%esi rorl $7,%edx pshufd $238,%xmm0,%xmm4 addl %ecx,%ebx addl 32(%esp),%eax pxor %xmm6,%xmm2 punpcklqdq %xmm1,%xmm4 xorl %edx,%esi movl %ebx,%ebp roll $5,%ebx pxor %xmm3,%xmm2 movdqa %xmm6,64(%esp) addl %esi,%eax xorl %edx,%ebp movdqa 128(%esp),%xmm6 rorl $7,%ecx paddd %xmm1,%xmm5 addl %ebx,%eax pxor %xmm4,%xmm2 addl 36(%esp),%edi xorl %ecx,%ebp movl %eax,%esi roll $5,%eax movdqa %xmm2,%xmm4 movdqa %xmm5,16(%esp) addl %ebp,%edi xorl %ecx,%esi rorl $7,%ebx addl %eax,%edi pslld $2,%xmm2 addl 40(%esp),%edx xorl %ebx,%esi psrld $30,%xmm4 movl %edi,%ebp roll $5,%edi addl %esi,%edx xorl %ebx,%ebp rorl $7,%eax addl %edi,%edx por %xmm4,%xmm2 addl 44(%esp),%ecx xorl %eax,%ebp movdqa 80(%esp),%xmm4 movl %edx,%esi roll $5,%edx addl %ebp,%ecx xorl %eax,%esi rorl $7,%edi pshufd $238,%xmm1,%xmm5 addl %edx,%ecx addl 48(%esp),%ebx pxor %xmm7,%xmm3 punpcklqdq %xmm2,%xmm5 xorl %edi,%esi movl %ecx,%ebp roll $5,%ecx pxor %xmm4,%xmm3 movdqa %xmm7,80(%esp) addl %esi,%ebx xorl %edi,%ebp movdqa %xmm6,%xmm7 rorl $7,%edx paddd %xmm2,%xmm6 addl %ecx,%ebx pxor %xmm5,%xmm3 addl 52(%esp),%eax xorl %edx,%ebp movl %ebx,%esi roll $5,%ebx movdqa %xmm3,%xmm5 movdqa %xmm6,32(%esp) addl %ebp,%eax xorl %edx,%esi rorl $7,%ecx addl %ebx,%eax pslld $2,%xmm3 addl 56(%esp),%edi xorl %ecx,%esi psrld $30,%xmm5 movl %eax,%ebp roll $5,%eax addl %esi,%edi xorl %ecx,%ebp rorl $7,%ebx addl %eax,%edi por %xmm5,%xmm3 addl 60(%esp),%edx xorl %ebx,%ebp movdqa 96(%esp),%xmm5 movl %edi,%esi roll $5,%edi addl %ebp,%edx xorl %ebx,%esi rorl $7,%eax pshufd $238,%xmm2,%xmm6 addl %edi,%edx addl (%esp),%ecx pxor %xmm0,%xmm4 punpcklqdq %xmm3,%xmm6 xorl %eax,%esi movl %edx,%ebp roll $5,%edx pxor %xmm5,%xmm4 movdqa %xmm0,96(%esp) addl %esi,%ecx xorl %eax,%ebp movdqa %xmm7,%xmm0 rorl $7,%edi paddd %xmm3,%xmm7 addl %edx,%ecx pxor %xmm6,%xmm4 addl 4(%esp),%ebx xorl %edi,%ebp movl %ecx,%esi roll $5,%ecx movdqa %xmm4,%xmm6 movdqa %xmm7,48(%esp) addl %ebp,%ebx xorl %edi,%esi rorl $7,%edx addl %ecx,%ebx pslld $2,%xmm4 addl 8(%esp),%eax xorl %edx,%esi psrld $30,%xmm6 movl %ebx,%ebp roll $5,%ebx addl %esi,%eax xorl %edx,%ebp rorl $7,%ecx addl %ebx,%eax por %xmm6,%xmm4 addl 12(%esp),%edi xorl %ecx,%ebp movdqa 64(%esp),%xmm6 movl %eax,%esi roll $5,%eax addl %ebp,%edi xorl %ecx,%esi rorl $7,%ebx pshufd $238,%xmm3,%xmm7 addl %eax,%edi addl 16(%esp),%edx pxor %xmm1,%xmm5 punpcklqdq %xmm4,%xmm7 xorl %ebx,%esi movl %edi,%ebp roll $5,%edi pxor %xmm6,%xmm5 movdqa %xmm1,64(%esp) addl %esi,%edx xorl %ebx,%ebp movdqa %xmm0,%xmm1 rorl $7,%eax paddd %xmm4,%xmm0 addl %edi,%edx pxor %xmm7,%xmm5 addl 20(%esp),%ecx xorl %eax,%ebp movl %edx,%esi roll $5,%edx movdqa %xmm5,%xmm7 movdqa %xmm0,(%esp) addl %ebp,%ecx xorl %eax,%esi rorl $7,%edi addl %edx,%ecx pslld $2,%xmm5 addl 24(%esp),%ebx xorl %edi,%esi psrld $30,%xmm7 movl %ecx,%ebp roll $5,%ecx addl %esi,%ebx xorl %edi,%ebp rorl $7,%edx addl %ecx,%ebx por %xmm7,%xmm5 addl 28(%esp),%eax movdqa 80(%esp),%xmm7 rorl $7,%ecx movl %ebx,%esi xorl %edx,%ebp roll $5,%ebx pshufd $238,%xmm4,%xmm0 addl %ebp,%eax xorl %ecx,%esi xorl %edx,%ecx addl %ebx,%eax addl 32(%esp),%edi pxor %xmm2,%xmm6 punpcklqdq %xmm5,%xmm0 andl %ecx,%esi xorl %edx,%ecx rorl $7,%ebx pxor %xmm7,%xmm6 movdqa %xmm2,80(%esp) movl %eax,%ebp xorl %ecx,%esi roll $5,%eax movdqa %xmm1,%xmm2 addl %esi,%edi paddd %xmm5,%xmm1 xorl %ebx,%ebp pxor %xmm0,%xmm6 xorl %ecx,%ebx addl %eax,%edi addl 36(%esp),%edx andl %ebx,%ebp movdqa %xmm6,%xmm0 movdqa %xmm1,16(%esp) xorl %ecx,%ebx rorl $7,%eax movl %edi,%esi xorl %ebx,%ebp roll $5,%edi pslld $2,%xmm6 addl %ebp,%edx xorl %eax,%esi psrld $30,%xmm0 xorl %ebx,%eax addl %edi,%edx addl 40(%esp),%ecx andl %eax,%esi xorl %ebx,%eax rorl $7,%edi por %xmm0,%xmm6 movl %edx,%ebp xorl %eax,%esi movdqa 96(%esp),%xmm0 roll $5,%edx addl %esi,%ecx xorl %edi,%ebp xorl %eax,%edi addl %edx,%ecx pshufd $238,%xmm5,%xmm1 addl 44(%esp),%ebx andl %edi,%ebp xorl %eax,%edi rorl $7,%edx movl %ecx,%esi xorl %edi,%ebp roll $5,%ecx addl %ebp,%ebx xorl %edx,%esi xorl %edi,%edx addl %ecx,%ebx addl 48(%esp),%eax pxor %xmm3,%xmm7 punpcklqdq %xmm6,%xmm1 andl %edx,%esi xorl %edi,%edx rorl $7,%ecx pxor %xmm0,%xmm7 movdqa %xmm3,96(%esp) movl %ebx,%ebp xorl %edx,%esi roll $5,%ebx movdqa 144(%esp),%xmm3 addl %esi,%eax paddd %xmm6,%xmm2 xorl %ecx,%ebp pxor %xmm1,%xmm7 xorl %edx,%ecx addl %ebx,%eax addl 52(%esp),%edi andl %ecx,%ebp movdqa %xmm7,%xmm1 movdqa %xmm2,32(%esp) xorl %edx,%ecx rorl $7,%ebx movl %eax,%esi xorl %ecx,%ebp roll $5,%eax pslld $2,%xmm7 addl %ebp,%edi xorl %ebx,%esi psrld $30,%xmm1 xorl %ecx,%ebx addl %eax,%edi addl 56(%esp),%edx andl %ebx,%esi xorl %ecx,%ebx rorl $7,%eax por %xmm1,%xmm7 movl %edi,%ebp xorl %ebx,%esi movdqa 64(%esp),%xmm1 roll $5,%edi addl %esi,%edx xorl %eax,%ebp xorl %ebx,%eax addl %edi,%edx pshufd $238,%xmm6,%xmm2 addl 60(%esp),%ecx andl %eax,%ebp xorl %ebx,%eax rorl $7,%edi movl %edx,%esi xorl %eax,%ebp roll $5,%edx addl %ebp,%ecx xorl %edi,%esi xorl %eax,%edi addl %edx,%ecx addl (%esp),%ebx pxor %xmm4,%xmm0 punpcklqdq %xmm7,%xmm2 andl %edi,%esi xorl %eax,%edi rorl $7,%edx pxor %xmm1,%xmm0 movdqa %xmm4,64(%esp) movl %ecx,%ebp xorl %edi,%esi roll $5,%ecx movdqa %xmm3,%xmm4 addl %esi,%ebx paddd %xmm7,%xmm3 xorl %edx,%ebp pxor %xmm2,%xmm0 xorl %edi,%edx addl %ecx,%ebx addl 4(%esp),%eax andl %edx,%ebp movdqa %xmm0,%xmm2 movdqa %xmm3,48(%esp) xorl %edi,%edx rorl $7,%ecx movl %ebx,%esi xorl %edx,%ebp roll $5,%ebx pslld $2,%xmm0 addl %ebp,%eax xorl %ecx,%esi psrld $30,%xmm2 xorl %edx,%ecx addl %ebx,%eax addl 8(%esp),%edi andl %ecx,%esi xorl %edx,%ecx rorl $7,%ebx por %xmm2,%xmm0 movl %eax,%ebp xorl %ecx,%esi movdqa 80(%esp),%xmm2 roll $5,%eax addl %esi,%edi xorl %ebx,%ebp xorl %ecx,%ebx addl %eax,%edi pshufd $238,%xmm7,%xmm3 addl 12(%esp),%edx andl %ebx,%ebp xorl %ecx,%ebx rorl $7,%eax movl %edi,%esi xorl %ebx,%ebp roll $5,%edi addl %ebp,%edx xorl %eax,%esi xorl %ebx,%eax addl %edi,%edx addl 16(%esp),%ecx pxor %xmm5,%xmm1 punpcklqdq %xmm0,%xmm3 andl %eax,%esi xorl %ebx,%eax rorl $7,%edi pxor %xmm2,%xmm1 movdqa %xmm5,80(%esp) movl %edx,%ebp xorl %eax,%esi roll $5,%edx movdqa %xmm4,%xmm5 addl %esi,%ecx paddd %xmm0,%xmm4 xorl %edi,%ebp pxor %xmm3,%xmm1 xorl %eax,%edi addl %edx,%ecx addl 20(%esp),%ebx andl %edi,%ebp movdqa %xmm1,%xmm3 movdqa %xmm4,(%esp) xorl %eax,%edi rorl $7,%edx movl %ecx,%esi xorl %edi,%ebp roll $5,%ecx pslld $2,%xmm1 addl %ebp,%ebx xorl %edx,%esi psrld $30,%xmm3 xorl %edi,%edx addl %ecx,%ebx addl 24(%esp),%eax andl %edx,%esi xorl %edi,%edx rorl $7,%ecx por %xmm3,%xmm1 movl %ebx,%ebp xorl %edx,%esi movdqa 96(%esp),%xmm3 roll $5,%ebx addl %esi,%eax xorl %ecx,%ebp xorl %edx,%ecx addl %ebx,%eax pshufd $238,%xmm0,%xmm4 addl 28(%esp),%edi andl %ecx,%ebp xorl %edx,%ecx rorl $7,%ebx movl %eax,%esi xorl %ecx,%ebp roll $5,%eax addl %ebp,%edi xorl %ebx,%esi xorl %ecx,%ebx addl %eax,%edi addl 32(%esp),%edx pxor %xmm6,%xmm2 punpcklqdq %xmm1,%xmm4 andl %ebx,%esi xorl %ecx,%ebx rorl $7,%eax pxor %xmm3,%xmm2 movdqa %xmm6,96(%esp) movl %edi,%ebp xorl %ebx,%esi roll $5,%edi movdqa %xmm5,%xmm6 addl %esi,%edx paddd %xmm1,%xmm5 xorl %eax,%ebp pxor %xmm4,%xmm2 xorl %ebx,%eax addl %edi,%edx addl 36(%esp),%ecx andl %eax,%ebp movdqa %xmm2,%xmm4 movdqa %xmm5,16(%esp) xorl %ebx,%eax rorl $7,%edi movl %edx,%esi xorl %eax,%ebp roll $5,%edx pslld $2,%xmm2 addl %ebp,%ecx xorl %edi,%esi psrld $30,%xmm4 xorl %eax,%edi addl %edx,%ecx addl 40(%esp),%ebx andl %edi,%esi xorl %eax,%edi rorl $7,%edx por %xmm4,%xmm2 movl %ecx,%ebp xorl %edi,%esi movdqa 64(%esp),%xmm4 roll $5,%ecx addl %esi,%ebx xorl %edx,%ebp xorl %edi,%edx addl %ecx,%ebx pshufd $238,%xmm1,%xmm5 addl 44(%esp),%eax andl %edx,%ebp xorl %edi,%edx rorl $7,%ecx movl %ebx,%esi xorl %edx,%ebp roll $5,%ebx addl %ebp,%eax xorl %edx,%esi addl %ebx,%eax addl 48(%esp),%edi pxor %xmm7,%xmm3 punpcklqdq %xmm2,%xmm5 xorl %ecx,%esi movl %eax,%ebp roll $5,%eax pxor %xmm4,%xmm3 movdqa %xmm7,64(%esp) addl %esi,%edi xorl %ecx,%ebp movdqa %xmm6,%xmm7 rorl $7,%ebx paddd %xmm2,%xmm6 addl %eax,%edi pxor %xmm5,%xmm3 addl 52(%esp),%edx xorl %ebx,%ebp movl %edi,%esi roll $5,%edi movdqa %xmm3,%xmm5 movdqa %xmm6,32(%esp) addl %ebp,%edx xorl %ebx,%esi rorl $7,%eax addl %edi,%edx pslld $2,%xmm3 addl 56(%esp),%ecx xorl %eax,%esi psrld $30,%xmm5 movl %edx,%ebp roll $5,%edx addl %esi,%ecx xorl %eax,%ebp rorl $7,%edi addl %edx,%ecx por %xmm5,%xmm3 addl 60(%esp),%ebx xorl %edi,%ebp movl %ecx,%esi roll $5,%ecx addl %ebp,%ebx xorl %edi,%esi rorl $7,%edx addl %ecx,%ebx addl (%esp),%eax xorl %edx,%esi movl %ebx,%ebp roll $5,%ebx addl %esi,%eax xorl %edx,%ebp rorl $7,%ecx paddd %xmm3,%xmm7 addl %ebx,%eax addl 4(%esp),%edi xorl %ecx,%ebp movl %eax,%esi movdqa %xmm7,48(%esp) roll $5,%eax addl %ebp,%edi xorl %ecx,%esi rorl $7,%ebx addl %eax,%edi addl 8(%esp),%edx xorl %ebx,%esi movl %edi,%ebp roll $5,%edi addl %esi,%edx xorl %ebx,%ebp rorl $7,%eax addl %edi,%edx addl 12(%esp),%ecx xorl %eax,%ebp movl %edx,%esi roll $5,%edx addl %ebp,%ecx xorl %eax,%esi rorl $7,%edi addl %edx,%ecx movl 196(%esp),%ebp cmpl 200(%esp),%ebp je L007done movdqa 160(%esp),%xmm7 movdqa 176(%esp),%xmm6 movdqu (%ebp),%xmm0 movdqu 16(%ebp),%xmm1 movdqu 32(%ebp),%xmm2 movdqu 48(%ebp),%xmm3 addl $64,%ebp .byte 102,15,56,0,198 movl %ebp,196(%esp) movdqa %xmm7,96(%esp) addl 16(%esp),%ebx xorl %edi,%esi movl %ecx,%ebp roll $5,%ecx addl %esi,%ebx xorl %edi,%ebp rorl $7,%edx .byte 102,15,56,0,206 addl %ecx,%ebx addl 20(%esp),%eax xorl %edx,%ebp movl %ebx,%esi paddd %xmm7,%xmm0 roll $5,%ebx addl %ebp,%eax xorl %edx,%esi rorl $7,%ecx movdqa %xmm0,(%esp) addl %ebx,%eax addl 24(%esp),%edi xorl %ecx,%esi movl %eax,%ebp psubd %xmm7,%xmm0 roll $5,%eax addl %esi,%edi xorl %ecx,%ebp rorl $7,%ebx addl %eax,%edi addl 28(%esp),%edx xorl %ebx,%ebp movl %edi,%esi roll $5,%edi addl %ebp,%edx xorl %ebx,%esi rorl $7,%eax addl %edi,%edx addl 32(%esp),%ecx xorl %eax,%esi movl %edx,%ebp roll $5,%edx addl %esi,%ecx xorl %eax,%ebp rorl $7,%edi .byte 102,15,56,0,214 addl %edx,%ecx addl 36(%esp),%ebx xorl %edi,%ebp movl %ecx,%esi paddd %xmm7,%xmm1 roll $5,%ecx addl %ebp,%ebx xorl %edi,%esi rorl $7,%edx movdqa %xmm1,16(%esp) addl %ecx,%ebx addl 40(%esp),%eax xorl %edx,%esi movl %ebx,%ebp psubd %xmm7,%xmm1 roll $5,%ebx addl %esi,%eax xorl %edx,%ebp rorl $7,%ecx addl %ebx,%eax addl 44(%esp),%edi xorl %ecx,%ebp movl %eax,%esi roll $5,%eax addl %ebp,%edi xorl %ecx,%esi rorl $7,%ebx addl %eax,%edi addl 48(%esp),%edx xorl %ebx,%esi movl %edi,%ebp roll $5,%edi addl %esi,%edx xorl %ebx,%ebp rorl $7,%eax .byte 102,15,56,0,222 addl %edi,%edx addl 52(%esp),%ecx xorl %eax,%ebp movl %edx,%esi paddd %xmm7,%xmm2 roll $5,%edx addl %ebp,%ecx xorl %eax,%esi rorl $7,%edi movdqa %xmm2,32(%esp) addl %edx,%ecx addl 56(%esp),%ebx xorl %edi,%esi movl %ecx,%ebp psubd %xmm7,%xmm2 roll $5,%ecx addl %esi,%ebx xorl %edi,%ebp rorl $7,%edx addl %ecx,%ebx addl 60(%esp),%eax xorl %edx,%ebp movl %ebx,%esi roll $5,%ebx addl %ebp,%eax rorl $7,%ecx addl %ebx,%eax movl 192(%esp),%ebp addl (%ebp),%eax addl 4(%ebp),%esi addl 8(%ebp),%ecx movl %eax,(%ebp) addl 12(%ebp),%edx movl %esi,4(%ebp) addl 16(%ebp),%edi movl %ecx,8(%ebp) movl %ecx,%ebx movl %edx,12(%ebp) xorl %edx,%ebx movl %edi,16(%ebp) movl %esi,%ebp pshufd $238,%xmm0,%xmm4 andl %ebx,%esi movl %ebp,%ebx jmp L006loop .align 4,0x90 L007done: addl 16(%esp),%ebx xorl %edi,%esi movl %ecx,%ebp roll $5,%ecx addl %esi,%ebx xorl %edi,%ebp rorl $7,%edx addl %ecx,%ebx addl 20(%esp),%eax xorl %edx,%ebp movl %ebx,%esi roll $5,%ebx addl %ebp,%eax xorl %edx,%esi rorl $7,%ecx addl %ebx,%eax addl 24(%esp),%edi xorl %ecx,%esi movl %eax,%ebp roll $5,%eax addl %esi,%edi xorl %ecx,%ebp rorl $7,%ebx addl %eax,%edi addl 28(%esp),%edx xorl %ebx,%ebp movl %edi,%esi roll $5,%edi addl %ebp,%edx xorl %ebx,%esi rorl $7,%eax addl %edi,%edx addl 32(%esp),%ecx xorl %eax,%esi movl %edx,%ebp roll $5,%edx addl %esi,%ecx xorl %eax,%ebp rorl $7,%edi addl %edx,%ecx addl 36(%esp),%ebx xorl %edi,%ebp movl %ecx,%esi roll $5,%ecx addl %ebp,%ebx xorl %edi,%esi rorl $7,%edx addl %ecx,%ebx addl 40(%esp),%eax xorl %edx,%esi movl %ebx,%ebp roll $5,%ebx addl %esi,%eax xorl %edx,%ebp rorl $7,%ecx addl %ebx,%eax addl 44(%esp),%edi xorl %ecx,%ebp movl %eax,%esi roll $5,%eax addl %ebp,%edi xorl %ecx,%esi rorl $7,%ebx addl %eax,%edi addl 48(%esp),%edx xorl %ebx,%esi movl %edi,%ebp roll $5,%edi addl %esi,%edx xorl %ebx,%ebp rorl $7,%eax addl %edi,%edx addl 52(%esp),%ecx xorl %eax,%ebp movl %edx,%esi roll $5,%edx addl %ebp,%ecx xorl %eax,%esi rorl $7,%edi addl %edx,%ecx addl 56(%esp),%ebx xorl %edi,%esi movl %ecx,%ebp roll $5,%ecx addl %esi,%ebx xorl %edi,%ebp rorl $7,%edx addl %ecx,%ebx addl 60(%esp),%eax xorl %edx,%ebp movl %ebx,%esi roll $5,%ebx addl %ebp,%eax rorl $7,%ecx addl %ebx,%eax movl 192(%esp),%ebp addl (%ebp),%eax movl 204(%esp),%esp addl 4(%ebp),%esi addl 8(%ebp),%ecx movl %eax,(%ebp) addl 12(%ebp),%edx movl %esi,4(%ebp) addl 16(%ebp),%edi movl %ecx,8(%ebp) movl %edx,12(%ebp) movl %edi,16(%ebp) popl %edi popl %esi popl %ebx popl %ebp ret .align 6,0x90 LK_XX_XX: .long 1518500249,1518500249,1518500249,1518500249 .long 1859775393,1859775393,1859775393,1859775393 .long 2400959708,2400959708,2400959708,2400959708 .long 3395469782,3395469782,3395469782,3395469782 .long 66051,67438087,134810123,202182159 .byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0 .byte 83,72,65,49,32,98,108,111,99,107,32,116,114,97,110,115 .byte 102,111,114,109,32,102,111,114,32,120,56,54,44,32,67,82 .byte 89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112 .byte 114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0 .section __IMPORT,__pointers,non_lazy_symbol_pointers L_OPENSSL_ia32cap_P$non_lazy_ptr: .indirect_symbol _OPENSSL_ia32cap_P .long 0 .comm _OPENSSL_ia32cap_P,16,2
{ "language": "Assembly" }
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !gccgo #include "textflag.h" // // System call support for 386, NetBSD // // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-28 JMP syscall·Syscall(SB) TEXT ·Syscall6(SB),NOSPLIT,$0-40 JMP syscall·Syscall6(SB) TEXT ·Syscall9(SB),NOSPLIT,$0-52 JMP syscall·Syscall9(SB) TEXT ·RawSyscall(SB),NOSPLIT,$0-28 JMP syscall·RawSyscall(SB) TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 JMP syscall·RawSyscall6(SB)
{ "language": "Assembly" }
// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -target-cpu power8 \ // RUN: -target-feature +altivec -verify %s // Test special behavior of Altivec intrinsics in this file. #include <altivec.h> __attribute__((__aligned__(16))) float x[20]; int main() { vector unsigned char l = vec_lvsl (0, &x[1]); // expected-warning {{is deprecated: use assignment for unaligned little endian loads/stores}} vector unsigned char r = vec_lvsr (0, &x[1]); // expected-warning {{is deprecated: use assignment for unaligned little endian loads/stores}} } // FIXME: As noted in ms-intrin.cpp, it would be nice if we didn't have to // hard-code the line number from altivec.h here. // expected-note@altivec.h:* {{deprecated here}} // expected-note@altivec.h:* {{deprecated here}}
{ "language": "Assembly" }
glabel func_80A77AEC /* 037DC 80A77AEC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 /* 037E0 80A77AF0 AFBF0014 */ sw $ra, 0x0014($sp) /* 037E4 80A77AF4 0C29DE77 */ jal func_80A779DC /* 037E8 80A77AF8 00000000 */ nop /* 037EC 80A77AFC 8FBF0014 */ lw $ra, 0x0014($sp) /* 037F0 80A77B00 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 /* 037F4 80A77B04 03E00008 */ jr $ra /* 037F8 80A77B08 00000000 */ nop
{ "language": "Assembly" }
glabel func_800937E4 /* B0A984 800937E4 00801025 */ move $v0, $a0 /* B0A988 800937E8 3C0F8012 */ lui $t7, %hi(D_80126D30) # $t7, 0x8012 /* B0A98C 800937EC 25EF6D30 */ addiu $t7, %lo(D_80126D30) # addiu $t7, $t7, 0x6d30 /* B0A990 800937F0 3C0EDE00 */ lui $t6, 0xde00 /* B0A994 800937F4 AC4E0000 */ sw $t6, ($v0) /* B0A998 800937F8 AC4F0004 */ sw $t7, 4($v0) /* B0A99C 800937FC 24840008 */ addiu $a0, $a0, 8 /* B0A9A0 80093800 03E00008 */ jr $ra /* B0A9A4 80093804 00801025 */ move $v0, $a0
{ "language": "Assembly" }
// ============================================================================= // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // Copyright (C) 2015 - Scilab Enterprises - Vincent COUVERT // // This file is distributed under the same license as the Scilab package. // ============================================================================= // <-- CLI SHELL MODE --> // <-- Non-regression test for bug 13838 --> // // <-- Bugzilla URL --> // http://bugzilla.scilab.org/13838 // // <-- Short Description --> // Sparse and complexe substraction made Scilab crash. a = sparse(rand(5,2)); a(8) = a(8) - %i; a(8) = a(8) - 1;
{ "language": "Assembly" }
# Test a few corner cases with various shift insns # mach: bfin #include "test.h" .include "testutils.inc" start dmm32 ASTAT, (0x38404290 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY | _AN); dmm32 A0.w, 0xf53d356e; dmm32 A0.x, 0xffffffff; imm32 R5, 0xaa156b54; A0 = ASHIFT A0 BY R5.L; checkreg A0.w, 0x56e00000; checkreg A0.x, 0xffffffd3; checkreg ASTAT, (0x38404290 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY | _AN); dmm32 ASTAT, (0x28e00410 | _VS | _V | _AV1S | _AV1 | _AC1 | _V_COPY); dmm32 A0.w, 0x1dfd2a85; dmm32 A0.x, 0xffffffbe; imm32 R2, 0x4b7cf707; A0 = LSHIFT A0 BY R2.L; checkreg A0.w, 0xfe954280; checkreg A0.x, 0x0000000e; checkreg ASTAT, (0x28e00410 | _VS | _V | _AV1S | _AV1 | _AC1 | _V_COPY); dmm32 ASTAT, (0x60404e00 | _VS | _V | _AV1S | _AV0S | _AC0 | _AQ | _V_COPY | _AC0_COPY | _AN); dmm32 A1.w, 0xd4aa6e10; dmm32 A1.x, 0xffffffff; imm32 R4, 0xb4bb3054; A1 = ASHIFT A1 BY R4.L; checkreg A1.w, 0xe1000000; checkreg A1.x, 0xffffffa6; checkreg ASTAT, (0x60404e00 | _VS | _V | _AV1S | _AV0S | _AC0 | _AQ | _V_COPY | _AC0_COPY | _AN); dmm32 ASTAT, (0x00608810 | _V | _AV1S | _AV0S | _V_COPY | _AC0_COPY | _AN); dmm32 A1.w, 0x0dbadb4f; dmm32 A1.x, 0x00000035; imm32 R3, 0x3cc3f7db; A1 = LSHIFT A1 BY R3.L; checkreg A1.w, 0x78000000; checkreg A1.x, 0xffffffda; checkreg ASTAT, (0x00608810 | _V | _AV1S | _AV0S | _V_COPY | _AC0_COPY | _AN); dmm32 ASTAT, (0x14900e10 | _VS | _AC0 | _CC | _AC0_COPY); imm32 R0, 0x6286ee56; imm32 R7, 0x5cd969c5; R0 = ASHIFT R0 BY R7.L; checkreg R0, 0x50ddcac0; checkreg ASTAT, (0x14900e10 | _VS | _V | _AC0 | _CC | _V_COPY | _AC0_COPY); dmm32 ASTAT, (0x28904a90 | _VS | _V | _AV0S | _V_COPY | _AZ); imm32 R0, 0x00000000; imm32 R5, 0x00008000; imm32 R6, 0x03488f9a; R0.L = ASHIFT R5.L BY R6.L; checkreg ASTAT, (0x28904a90 | _VS | _V | _AV0S | _V_COPY | _AZ); dmm32 ASTAT, (0x3c10c890 | _VS | _AV1S | _AV0S | _AC0 | _AQ | _AC0_COPY); imm32 R1, 0x29162006; imm32 R3, 0xffff0345; imm32 R4, 0x8ff5e6bb; R1.H = ASHIFT R4.H BY R3.L; checkreg R1, 0xfea02006; checkreg ASTAT, (0x3c10c890 | _VS | _V | _AV1S | _AV0S | _AC0 | _AQ | _V_COPY | _AC0_COPY | _AN); dmm32 ASTAT, (0x78600e00 | _VS | _AV1S | _AV0S | _AC0 | _AQ | _CC); imm32 R0, 0xd5b1804d; imm32 R1, 0x522c817d; imm32 R5, 0xfca6f990; R1.H = ASHIFT R5.H BY R0.L; checkreg R1, 0xc000817d; checkreg ASTAT, (0x78600e00 | _VS | _V | _AV1S | _AV0S | _AC0 | _AQ | _CC | _V_COPY | _AN); dmm32 ASTAT, (0x64b04890 | _VS | _V | _AV0S | _AV0 | _AC1 | _AQ | _CC | _V_COPY | _AC0_COPY | _AN); imm32 R4, 0x80000000; imm32 R6, 0x4e840a3e; imm32 R7, 0x20102e48; R6.L = ASHIFT R4.H BY R7.L; checkreg R6, 0x4e840000; checkreg ASTAT, (0x64b04890 | _VS | _V | _AV0S | _AV0 | _AC1 | _AQ | _CC | _V_COPY | _AC0_COPY | _AZ); pass
{ "language": "Assembly" }
; void __CALLEE__ sp1_MoveSprRel_callee(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, char rel_row, char rel_col, char rel_vrot, char rel_hrot) ; 02.2008 aralbrec, Sprite Pack v3.0 ; zx81 hi-res version PUBLIC sp1_MoveSprRel_callee PUBLIC ASMDISP_SP1_MOVESPRREL_CALLEE EXTERN sp1_MoveSprAbs_callee EXTERN ASMDISP_SP1_MOVESPRABS_CALLEE EXTERN SP1V_TEMP_IY .sp1_MoveSprRel_callee pop af pop de pop bc ld b,e pop de pop hl ld d,l pop hl pop ix ld (SP1V_TEMP_IY),ix pop ix push af .asmentry ; Move sprite a relative distance from current position. ; ; enter: ix = sprite structure address ; hl = next sprite frame address (0 for no change) ; d = relative row coord, signed byte ; e = relative col coord, signed byte ; b = relative horizontal pixel movement, signed byte ; c = relative vertical pixel movement, signed byte ; (SP1V_TEMP_IY) = clipping rectangle absolute coords and entirely on screen ; (..+0) = row, (..+1) = col, (..+2) = width, (..+3) = height ; uses : af, bc, de + SP1MoveSprAbs .SP1MoveSprRel ld a,(ix+5) ; current horizontal rotation add a,b ld b,a sra a sra a sra a add a,e add a,(ix+1) ld e,a ; e = absolute column position ld a,b cp $80 jp c, mvpos1 add a,8 .mvpos1 and $07 ld b,a ; b = absolute horizontal rotation ld a,(ix+4) ; current vertical rotation and $07 ; get rid of flag in bit 7 add a,c ld c,a sra a sra a sra a add a,d add a,(ix+0) ld d,a ; d = absolute row position ld a,c cp $80 jp c, mvpos2 add a,8 .mvpos2 and $07 ld c,a ; c = absolute vertical rotation jp sp1_MoveSprAbs_callee + ASMDISP_SP1_MOVESPRABS_CALLEE DEFC ASMDISP_SP1_MOVESPRREL_CALLEE = asmentry - sp1_MoveSprRel_callee
{ "language": "Assembly" }
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build riscv64,!gccgo #include "textflag.h" // // System calls for linux/riscv64. // // Where available, just jump to package syscall's implementation of // these functions. TEXT ·Syscall(SB),NOSPLIT,$0-56 JMP syscall·Syscall(SB) TEXT ·Syscall6(SB),NOSPLIT,$0-80 JMP syscall·Syscall6(SB) TEXT ·SyscallNoError(SB),NOSPLIT,$0-48 CALL runtime·entersyscall(SB) MOV a1+8(FP), A0 MOV a2+16(FP), A1 MOV a3+24(FP), A2 MOV $0, A3 MOV $0, A4 MOV $0, A5 MOV $0, A6 MOV trap+0(FP), A7 // syscall entry ECALL MOV A0, r1+32(FP) // r1 MOV A1, r2+40(FP) // r2 CALL runtime·exitsyscall(SB) RET TEXT ·RawSyscall(SB),NOSPLIT,$0-56 JMP syscall·RawSyscall(SB) TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 JMP syscall·RawSyscall6(SB) TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48 MOV a1+8(FP), A0 MOV a2+16(FP), A1 MOV a3+24(FP), A2 MOV ZERO, A3 MOV ZERO, A4 MOV ZERO, A5 MOV trap+0(FP), A7 // syscall entry ECALL MOV A0, r1+32(FP) MOV A1, r2+40(FP) RET
{ "language": "Assembly" }
/* * Copyright (c) 2018 embedded brains GmbH * Copyright (c) 2015 University of York. * Hesham Almatary <hesham@alumni.york.ac.uk> * * Copyright (c) 2013, The Regents of the University of California (Regents). * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include <rtems/asm.h> #include <rtems/score/percpu.h> #include <rtems/score/riscv-utility.h> #include <bsp/linker-symbols.h> #include <bspopts.h> PUBLIC(_start) .section .bsp_start_text, "wax", @progbits .align 2 TYPE_FUNC(_start) SYM(_start): /* Load global pointer */ .option push .option norelax LADDR gp, __global_pointer$ .option pop /* Init FPU */ #ifdef __riscv_flen li t0, MSTATUS_FS csrs mstatus, t0 csrw fcsr, zero #endif /* Set exception handler */ LADDR t0, _RISCV_Exception_handler csrw mtvec, t0 /* Load stack pointer and branch to secondary processor start if necessary */ #ifdef RTEMS_SMP LADDR sp, _ISR_Stack_area_begin LADDR t2, _ISR_Stack_size csrr s0, mhartid LADDR t0, _Per_CPU_Information slli t1, s0, PER_CPU_CONTROL_SIZE_LOG2 add s1, t0, t1 csrw mscratch, s1 bnez s0, .Lstart_on_secondary_processor add sp, sp, t2 #else LADDR sp, _ISR_Stack_area_end #endif #ifdef BSP_START_COPY_FDT_FROM_U_BOOT mv a0, a1 call bsp_fdt_copy #endif /* Clear .bss */ LADDR a0, bsp_section_bss_begin li a1, 0 LADDR a2, bsp_section_bss_size call memset #ifdef RTEMS_SMP /* Give go to secondary processors */ LADDR t0, .Lsecondary_processor_go fence iorw,ow amoswap.w zero, zero, 0(t0) #endif li a0, 0 tail boot_card #ifdef RTEMS_SMP .Lstart_on_secondary_processor: /* Adjust stack pointer */ #ifdef __riscv_mul addi t0, s0, 1 mul t2, t2, t0 #else mv t0, s0 mv t3, t2 .Ladd_more: add t2, t2, t3 addi t0, t0, -1 bnez t0, .Ladd_more #endif add sp, sp, t2 /* Wait for go issued by the boot processor (mhartid == 0) */ LADDR t0, .Lsecondary_processor_go .Lwait_for_go_again: lw t1, 0(t0) fence iorw, iorw bnez t1, .Lwait_for_go_again mv a0, s1 call bsp_start_on_secondary_processor #if __riscv_xlen == 32 .align 2 #elif __riscv_xlen == 64 .align 3 #endif .Lsecondary_processor_go: /* * These are ebreak instructions, just in case we end up here executing * code. */ .word 0x00100073 #if __riscv_xlen == 64 .word 0x00100073 #endif #endif /* RTEMS_SMP */
{ "language": "Assembly" }
/** @file Framework PEIM to initialize memory on an DDR2 SDRAM Memory Controller. Copyright (c) 2013-2015 Intel Corporation. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #ifndef _PEI_QNC_MEMORY_INIT_H_ #define _PEI_QNC_MEMORY_INIT_H_ // // The package level header files this module uses // #include <PiPei.h> #include <IntelQNCPeim.h> // // The protocols, PPI and GUID defintions for this module // #include <Ppi/QNCMemoryInit.h> // // The Library classes this module consumes // #include <Library/DebugLib.h> #include <Library/PeimEntryPoint.h> #include <Library/BaseMemoryLib.h> VOID EFIAPI MrcStart ( IN OUT MRCParams_t *MrcData ); #endif
{ "language": "Assembly" }
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// int main(int, char**) { return 0; }
{ "language": "Assembly" }
// RUN: %clang_cc1 %s -fsyntax-only -verify // RUN: %clang_cc1 %s -fsyntax-only -verify -x c // RUN: %clang_cc1 %s -fsyntax-only -verify -fms-compatibility // Redeclaring library builtins is OK. void exit(int); // expected-error@+2 {{cannot redeclare builtin function '__builtin_va_copy'}} // expected-note@+1 {{'__builtin_va_copy' is a builtin with type}} void __builtin_va_copy(double d); // expected-error@+2 {{cannot redeclare builtin function '__builtin_va_end'}} // expected-note@+1 {{'__builtin_va_end' is a builtin with type}} void __builtin_va_end(__builtin_va_list); // RUN: %clang_cc1 %s -fsyntax-only -verify // RUN: %clang_cc1 %s -fsyntax-only -verify -x c void __va_start(__builtin_va_list*, ...);
{ "language": "Assembly" }
/* Copyright Oliver Kowalke 2009. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ /******************************************************* * * * ------------------------------------------------- * * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | * * ------------------------------------------------- * * | 0x0 | 0x4 | 0x8 | 0xc | 0x10| 0x14| 0x18| 0x1c| * * ------------------------------------------------- * * | s16 | s17 | s18 | s19 | s20 | s21 | s22 | s23 | * * ------------------------------------------------- * * ------------------------------------------------- * * | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | * * ------------------------------------------------- * * | 0x20| 0x24| 0x28| 0x2c| 0x30| 0x34| 0x38| 0x3c| * * ------------------------------------------------- * * | s24 | s25 | s26 | s27 | s28 | s29 | s30 | s31 | * * ------------------------------------------------- * * ------------------------------------------------- * * | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | * * ------------------------------------------------- * * | 0x0 | 0x4 | 0x8 | 0xc | 0x10| 0x14| 0x18| 0x1c| * * ------------------------------------------------- * * | sjlj|hiddn| v1 | v2 | v3 | v4 | v5 | v6 | * * ------------------------------------------------- * * ------------------------------------------------- * * | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | * * ------------------------------------------------- * * | 0x20| 0x24| 0x28| 0x2c| 0x30| 0x34| 0x38| 0x3c| * * ------------------------------------------------- * * | v7 | v8 | lr | pc | FCTX| DATA| | * * ------------------------------------------------- * * * *******************************************************/ .text .globl _jump_fcontext .align 2 _jump_fcontext: @ save LR as PC push {lr} @ save hidden,V1-V8,LR push {a1,v1-v8,lr} @ locate TLS to save/restore SjLj handler mrc p15, 0, v2, c13, c0, #3 bic v2, v2, #3 @ load TLS[__PTK_LIBC_DYLD_Unwind_SjLj_Key] ldr v1, [v2, #8] @ save SjLj handler push {v1} @ prepare stack for FPU sub sp, sp, #64 #if (defined(__VFP_FP__) && !defined(__SOFTFP__)) @ save S16-S31 vstmia sp, {d8-d15} #endif @ store RSP (pointing to context-data) in A1 mov a1, sp @ restore RSP (pointing to context-data) from A2 mov sp, a2 #if (defined(__VFP_FP__) && !defined(__SOFTFP__)) @ restore S16-S31 vldmia sp, {d8-d15} #endif @ prepare stack for FPU add sp, sp, #64 @ r#estore SjLj handler pop {v1} @ store SjLj handler in TLS str v1, [v2, #8] @ restore hidden,V1-V8,LR pop {a4,v1-v8,lr} @ return transfer_t from jump str a1, [a4, #0] str a3, [a4, #4] @ pass transfer_t as first arg in context function @ A1 == FCTX, A2 == DATA mov a2, a3 @ restore PC pop {pc}
{ "language": "Assembly" }
; Copyright (c) 1999-2003 Apple Computer, Inc. All rights reserved. ; ; @APPLE_LICENSE_HEADER_START@ ; ; Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights ; Reserved. This file contains Original Code and/or Modifications of ; Original Code as defined in and that are subject to the Apple Public ; Source License Version 2.0 (the "License"). You may not use this file ; except in compliance with the License. Please obtain a copy of the ; License at http://www.apple.com/publicsource and read it before using ; this file. ; ; The Original Code and all software distributed under the License are ; distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER ; EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ; INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ; FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the ; License for the specific language governing rights and limitations ; under the License. ; ; @APPLE_LICENSE_HEADER_END@ ; ; Partition Boot Loader: boot1h ; ; This program is designed to reside in sector 0+1 of an HFS+ partition. ; It expects that the MBR has left the drive number in DL ; and a pointer to the partition entry in SI. ; ; This version requires a BIOS with EBIOS (LBA) support. ; ; This code is written for the NASM assembler. ; nasm boot1.s -o boot1h ; ; This version of boot1h tries to find a stage2 boot file in the root folder. ; ; NOTE: this is an experimental version with multiple extent support. ; ; Written by Tamás Kosárszky on 2008-04-14 ; ; ; Set to 1 to enable obscure debug messages. ; DEBUG EQU 0 ; ; Set to 1 to enable unused code. ; UNUSED EQU 0 ; ; Set to 1 to enable verbose mode. ; VERBOSE EQU 1 ; ; Various constants. ; NULL EQU 0 CR EQU 0x0D LF EQU 0x0A mallocStart EQU 0x1000 ; start address of local workspace area maxSectorCount EQU 64 ; maximum sector count for readSectors maxNodeSize EQU 16384 kSectorBytes EQU 512 ; sector size in bytes kBootSignature EQU 0xAA55 ; boot sector signature kBoot1StackAddress EQU 0xFFF0 ; boot1 stack pointer kBoot1LoadAddr EQU 0x7C00 ; boot1 load address kBoot1RelocAddr EQU 0xE000 ; boot1 relocated address kBoot1Sector1Addr EQU kBoot1RelocAddr + kSectorBytes ; boot1 load address for sector 1 kHFSPlusBuffer EQU kBoot1Sector1Addr + kSectorBytes ; HFS+ Volume Header address kBoot2Sectors EQU (480 * 1024 - 512) / kSectorBytes ; max size of 'boot' file in sectors = 448 but I want 472 kBoot2Segment EQU 0x2000 ; boot2 load segment kBoot2Address EQU kSectorBytes ; boot2 load address ; ; Format of fdisk partition entry. ; ; The symbol 'part_size' is automatically defined as an `EQU' ; giving the size of the structure. ; struc part .bootid resb 1 ; bootable or not .head resb 1 ; starting head, sector, cylinder .sect resb 1 ; .cyl resb 1 ; .type resb 1 ; partition type .endhead resb 1 ; ending head, sector, cylinder .endsect resb 1 ; .endcyl resb 1 ; .lba resd 1 ; starting lba .sectors resd 1 ; size in sectors endstruc ;------------------------------------------------------------------------- ; HFS+ related structures and constants ; kHFSPlusSignature EQU 'H+' ; HFS+ volume signature kHFSPlusCaseSignature EQU 'HX' ; HFS+ volume case-sensitive signature kHFSPlusCaseSigX EQU 'X' ; upper byte of HFS+ volume case-sensitive signature kHFSPlusExtentDensity EQU 8 ; 8 extent descriptors / extent record ; ; HFSUniStr255 ; struc HFSUniStr255 .length resw 1 .unicode resw 255 endstruc ; ; HFSPlusExtentDescriptor ; struc HFSPlusExtentDescriptor .startBlock resd 1 .blockCount resd 1 endstruc ; ; HFSPlusForkData ; struc HFSPlusForkData .logicalSize resq 1 .clumpSize resd 1 .totalBlocks resd 1 .extents resb kHFSPlusExtentDensity * HFSPlusExtentDescriptor_size endstruc ; ; HFSPlusVolumeHeader ; struc HFSPlusVolumeHeader .signature resw 1 .version resw 1 .attributes resd 1 .lastMountedVersion resd 1 .journalInfoBlock resd 1 .createDate resd 1 .modifyDate resd 1 .backupDate resd 1 .checkedDate resd 1 .fileCount resd 1 .folderCount resd 1 .blockSize resd 1 .totalBlocks resd 1 .freeBlocks resd 1 .nextAllocation resd 1 .rsrcClumpSize resd 1 .dataClumpSize resd 1 .nextCatalogID resd 1 .writeCount resd 1 .encodingsBitmap resq 1 .finderInfo resd 8 .allocationFile resb HFSPlusForkData_size .extentsFile resb HFSPlusForkData_size .catalogFile resb HFSPlusForkData_size .attributesFile resb HFSPlusForkData_size .startupFile resb HFSPlusForkData_size endstruc ; ; B-tree related structures and constants ; kBTIndexNode EQU 0 kBTMaxRecordLength EQU 264 ; sizeof(kHFSPlusFileThreadRecord) kHFSRootParentID EQU 1 ; Parent ID of the root folder kHFSRootFolderID EQU 2 ; Folder ID of the root folder kHFSExtentsFileID EQU 3 ; File ID of the extents overflow file kHFSCatalogFileID EQU 4 ; File ID of the catalog file kHFSPlusFileRecord EQU 0x200 kForkTypeData EQU 0 kForkTypeResource EQU 0xFF ; ; BTNodeDescriptor ; struc BTNodeDescriptor .fLink resd 1 .bLink resd 1 .kind resb 1 .height resb 1 .numRecords resw 1 .reserved resw 1 endstruc ; ; BTHeaderRec ; struc BTHeaderRec .treeDepth resw 1 .rootNode resd 1 .leafRecords resd 1 .firstLeafNode resd 1 .lastLeafNode resd 1 .nodeSize resw 1 .maxKeyLength resw 1 .totalNodes resd 1 .freeNodes resd 1 .reserved1 resw 1 .clumpSize resd 1 .btreeType resb 1 .keyCompareType resb 1 .attributes resd 1 .reserved3 resd 16 endstruc ; ; BTIndexRec ; struc BTIndexRec .childID resd 1 endstruc ; ; HFSPlusCatalogKey ; struc HFSPlusCatalogKey ; ; won't use the keyLength field for easier addressing data inside this structure ; ;.keyLength resw 1 .parentID resd 1 .nodeName resb HFSUniStr255_size endstruc ; ; HFSPlusExtentKey ; struc HFSPlusExtentKey ; ; won't use the keyLength field for easier addressing data inside this structure ; ;.keyLength resw 1 .forkType resb 1 .pad resb 1 .fileID resd 1 .startBlock resd 1 endstruc ; ; HFSPlusBSDInfo ; struc HFSPlusBSDInfo .ownerID resd 1 .groupID resd 1 .adminFlags resb 1 .ownerFlags resb 1 .fileMode resw 1 .special resd 1 endstruc ; ; FileInfo ; struc FileInfo .fileType resd 1 .fileCreator resd 1 .finderFlags resw 1 .location resw 2 .reservedField resw 1 endstruc ; ; ExtendedFileInfo ; struc ExtendedFileInfo .reserved1 resw 4 .extFinderFlags resw 1 .reserved2 resw 1 .putAwayFolderID resd 1 endstruc ; ; HFSPlusCatalogFile ; struc HFSPlusCatalogFile .recordType resw 1 .flags resw 1 .reserved1 resd 1 .fileID resd 1 .createDate resd 1 .contentModDate resd 1 .attributeModDate resd 1 .accessDate resd 1 .backupDate resd 1 .permissions resb HFSPlusBSDInfo_size .userInfo resb FileInfo_size .finderInfo resb ExtendedFileInfo_size .textEncoding resd 1 .reserved2 resd 1 .dataFork resb HFSPlusForkData_size .resourceFork resb HFSPlusForkData_size endstruc ; ; Macros. ; %macro jmpabs 1 push WORD %1 ret %endmacro %macro DebugCharMacro 1 pushad mov al, %1 call print_char call getc popad %endmacro %macro PrintCharMacro 1 pushad mov al, %1 call print_char popad %endmacro %macro PutCharMacro 1 call print_char %endmacro %macro PrintHexMacro 1 call print_hex %endmacro %macro PrintString 1 mov si, %1 call print_string %endmacro %macro LogString 1 mov di, %1 call log_string %endmacro %if DEBUG %define DebugChar(x) DebugCharMacro x %define PrintChar(x) PrintCharMacro x %define PutChar(x) PutCharMacro %define PrintHex(x) PrintHexMacro x %else %define DebugChar(x) %define PrintChar(x) %define PutChar(x) %define PrintHex(x) %endif ;-------------------------------------------------------------------------- ; Start of text segment. SEGMENT .text ORG kBoot1RelocAddr ;-------------------------------------------------------------------------- ; Boot code is loaded at 0:7C00h. ; start: ; ; Set up the stack to grow down from kBoot1StackSegment:kBoot1StackAddress. ; Interrupts should be off while the stack is being manipulated. ; cli ; interrupts off xor ax, ax ; zero ax mov ss, ax ; ss <- 0 mov sp, kBoot1StackAddress ; sp <- top of stack sti ; reenable interrupts mov ds, ax ; ds <- 0 mov es, ax ; es <- 0 ; ; Relocate boot1 code. ; push si mov si, kBoot1LoadAddr ; si <- source mov di, kBoot1RelocAddr ; di <- destination cld ; auto-increment SI and/or DI registers mov cx, kSectorBytes ; copy 256 words rep movsb ; repeat string move (word) operation pop si ; ; Code relocated, jump to startReloc in relocated location. ; ; FIXME: Is there any way to instruct NASM to compile a near jump ; using absolute address instead of relative displacement? ; jmpabs startReloc ;-------------------------------------------------------------------------- ; Start execution from the relocated location. ; startReloc: ; ; Initializing global variables. ; mov eax, [si + part.lba] mov [gPartLBA], eax ; save the current partition LBA offset mov [gBIOSDriveNumber], dl ; save BIOS drive number mov WORD [gMallocPtr], mallocStart ; set free space pointer ; ; Loading upper 512 bytes of boot1h and HFS+ Volume Header. ; xor ecx, ecx ; sector 1 of current partition inc ecx mov al, 2 ; read 2 sectors: sector 1 of boot1h + HFS+ Volume Header mov edx, kBoot1Sector1Addr call readLBA ; ; Initializing more global variables. ; mov eax, [kHFSPlusBuffer + HFSPlusVolumeHeader.blockSize] bswap eax ; convert to little-endian shr eax, 9 ; convert to sector unit mov [gBlockSize], eax ; save blockSize as little-endian sector unit! ; ; Looking for HFSPlus ('H+') or HFSPlus case-sensitive ('HX') signature. ; mov ax, [kHFSPlusBuffer + HFSPlusVolumeHeader.signature] cmp ax, kHFSPlusCaseSignature je findRootBoot cmp ax, kHFSPlusSignature jne error ;-------------------------------------------------------------------------- ; Find stage2 boot file in a HFS+ Volume's root folder. ; findRootBoot: mov al, kHFSCatalogFileID lea si, [searchCatalogKey] lea di, [kHFSPlusBuffer + HFSPlusVolumeHeader.catalogFile + HFSPlusForkData.extents] call lookUpBTree jne error lea si, [bp + BTree.recordDataPtr] mov si, [si] cmp WORD [si], kHFSPlusFileRecord jne error ; EAX = Catalog File ID ; BX = read size in sectors ; ECX = file offset in sectors ; EDX = address of read buffer ; DI = address of HFSPlusForkData ; ; Use the second big-endian double-word as the file length in HFSPlusForkData.logicalSize ; mov ebx, [si + HFSPlusCatalogFile.dataFork + HFSPlusForkData.logicalSize + 4] bswap ebx ; convert file size to little-endian add ebx, kSectorBytes - 1 ; adjust size before unit conversion shr ebx, 9 ; convert file size to sector unit cmp bx, kBoot2Sectors ; check if bigger than max stage2 size ja error mov eax, [si + HFSPlusCatalogFile.fileID] bswap eax ; convert fileID to little-endian xor ecx, ecx mov edx, (kBoot2Segment << 4) + kBoot2Address lea di, [si + HFSPlusCatalogFile.dataFork + HFSPlusForkData.extents] call readExtent %if VERBOSE LogString(bootfile_msg) %endif boot2: %if DEBUG DebugChar ('!') %endif %if UNUSED ; ; Waiting for a key press. ; mov ah, 0 int 0x16 %endif mov dl, [gBIOSDriveNumber] ; load BIOS drive number jmp kBoot2Segment:kBoot2Address error: %if VERBOSE LogString(error_str) %endif hang: hlt jmp hang ;-------------------------------------------------------------------------- ; readSectors - Reads more than 127 sectors using LBA addressing. ; ; Arguments: ; AX = number of 512-byte sectors to read (valid from 1-1280). ; EDX = pointer to where the sectors should be stored. ; ECX = sector offset in partition ; ; Returns: ; CF = 0 success ; 1 error ; readSectors: pushad mov bx, ax .loop: xor eax, eax ; EAX = 0 mov al, bl ; assume we reached the last block. cmp bx, maxSectorCount ; check if we really reached the last block jb .readBlock ; yes, BX < MaxSectorCount mov al, maxSectorCount ; no, read MaxSectorCount .readBlock: call readLBA sub bx, ax ; decrease remaning sectors with the read amount jz .exit ; exit if no more sectors left to be loaded add ecx, eax ; adjust LBA sector offset shl ax, 9 ; convert sectors to bytes add edx, eax ; adjust target memory location jmp .loop ; read remaining sectors .exit: popad ret ;-------------------------------------------------------------------------- ; readLBA - Read sectors from a partition using LBA addressing. ; ; Arguments: ; AL = number of 512-byte sectors to read (valid from 1-127). ; EDX = pointer to where the sectors should be stored. ; ECX = sector offset in partition ; [bios_drive_number] = drive number (0x80 + unit number) ; ; Returns: ; CF = 0 success ; 1 error ; readLBA: pushad ; save all registers push es ; save ES mov bp, sp ; save current SP ; ; Convert EDX to segment:offset model and set ES:BX ; ; Some BIOSes do not like offset to be negative while reading ; from hard drives. This usually leads to "boot1: error" when trying ; to boot from hard drive, while booting normally from USB flash. ; The routines, responsible for this are apparently different. ; Thus we split linear address slightly differently for these ; capricious BIOSes to make sure offset is always positive. ; mov bx, dx ; save offset to BX and bh, 0x0f ; keep low 12 bits shr edx, 4 ; adjust linear address to segment base xor dl, dl ; mask low 8 bits mov es, dx ; save segment to ES ; ; Create the Disk Address Packet structure for the ; INT13/F42 (Extended Read Sectors) on the stack. ; ; push DWORD 0 ; offset 12, upper 32-bit LBA push ds ; For sake of saving memory, push ds ; push DS register, which is 0. add ecx, [gPartLBA] ; offset 8, lower 32-bit LBA push ecx push es ; offset 6, memory segment push bx ; offset 4, memory offset xor ah, ah ; offset 3, must be 0 push ax ; offset 2, number of sectors push WORD 16 ; offset 0-1, packet size ; ; INT13 Func 42 - Extended Read Sectors ; ; Arguments: ; AH = 0x42 ; [bios_drive_number] = drive number (0x80 + unit number) ; DS:SI = pointer to Disk Address Packet ; ; Returns: ; AH = return status (sucess is 0) ; carry = 0 success ; 1 error ; ; Packet offset 2 indicates the number of sectors read ; successfully. ; mov dl, [gBIOSDriveNumber] ; load BIOS drive number mov si, sp mov ah, 0x42 int 0x13 jc error ; ; Issue a disk reset on error. ; Should this be changed to Func 0xD to skip the diskette controller ; reset? ; ; xor ax, ax ; Func 0 ; int 0x13 ; INT 13 ; stc ; set carry to indicate error .exit: mov sp, bp ; restore SP pop es ; restore ES popad ret %if VERBOSE ;-------------------------------------------------------------------------- ; Write a string with 'boot1: ' prefix to the console. ; ; Arguments: ; ES:DI pointer to a NULL terminated string. ; ; Clobber list: ; DI ; log_string: pushad push di mov si, log_title_str call print_string pop si call print_string popad ret ;------------------------------------------------------------------------- ; Write a string to the console. ; ; Arguments: ; DS:SI pointer to a NULL terminated string. ; ; Clobber list: ; AX, BX, SI ; print_string: mov bx, 1 ; BH=0, BL=1 (blue) .loop: lodsb ; load a byte from DS:SI into AL cmp al, 0 ; Is it a NULL? je .exit ; yes, all done mov ah, 0xE ; INT10 Func 0xE int 0x10 ; display byte in tty mode jmp .loop .exit: ret %endif ; VERBOSE %if DEBUG ;-------------------------------------------------------------------------- ; Write the 4-byte value to the console in hex. ; ; Arguments: ; EAX = Value to be displayed in hex. ; print_hex: pushad mov cx, WORD 4 bswap eax .loop: push ax ror al, 4 call print_nibble ; display upper nibble pop ax call print_nibble ; display lower nibble ror eax, 8 loop .loop %if UNUSED mov al, 10 ; carriage return call print_char mov al, 13 call print_char %endif ; UNUSED popad ret print_nibble: and al, 0x0f add al, '0' cmp al, '9' jna .print_ascii add al, 'A' - '9' - 1 .print_ascii: call print_char ret ;-------------------------------------------------------------------------- ; getc - wait for a key press ; getc: pushad mov ah, 0 int 0x16 popad ret ;-------------------------------------------------------------------------- ; Write a ASCII character to the console. ; ; Arguments: ; AL = ASCII character. ; print_char: pushad mov bx, 1 ; BH=0, BL=1 (blue) mov ah, 0x0e ; bios INT 10, Function 0xE int 0x10 ; display byte in tty mode popad ret %endif ; DEBUG %if UNUSED ;-------------------------------------------------------------------------- ; Convert null terminated string to HFSUniStr255 ; ; Arguments: ; DS:DX pointer to a NULL terminated string. ; ES:DI pointer to result. ; ConvertStrToUni: pushad ; save registers push di ; save DI for unicode string length pointer mov si, dx ; use SI as source string pointer xor ax, ax ; AX = unicode character mov cl, al ; CL = string length .loop: stosw ; store unicode character (length 0 at first run) lodsb ; load next character to AL inc cl ; increment string length count cmp al, NULL ; check for string terminator jne .loop pop di ; restore unicode string length pointer dec cl ; ignoring terminator from length count mov [di], cl ; save string length popad ; restore registers ret %endif ; UNUSED ;-------------------------------------------------------------------------- ; Convert big-endian HFSUniStr255 to little-endian ; ; Arguments: ; DS:SI = pointer to big-endian HFSUniStr255 ; ES:DI = pointer to result buffer ; ConvertHFSUniStr255ToLE: pushad lodsw xchg ah, al stosw cmp al, 0 je .exit mov cx, ax .loop: lodsw xchg ah, al ; convert AX to little-endian ; ; When working with a case-sensitive HFS+ (HX) filesystem, we shouldn't change the case. ; cmp BYTE [kHFSPlusBuffer + HFSPlusVolumeHeader.signature + 1], kHFSPlusCaseSigX je .keepcase or ax, ax jne .convertToLE dec ax ; NULL must be the strongest char .convertToLE: cmp ah, 0 ja .keepcase cmp al, 'A' jb .keepcase cmp al, 'Z' ja .keepcase add al, 32 ; convert to lower-case .keepcase: stosw loop .loop .exit: popad ret ;-------------------------------------------------------------------------- ; compare HFSPlusExtentKey structures ; ; Arguments: ; DS:SI = search key ; ES:DI = trial key ; ; Returns: ; [BTree.searchResult] = result ; FLAGS = relation between search and trial keys ; compareHFSPlusExtentKeys: pushad mov dl, 0 ; DL = result of comparison, DH = bestGuess mov eax, [si + HFSPlusExtentKey.fileID] cmp eax, [di + HFSPlusExtentKey.fileID] jne .checkFlags cmp BYTE [si + HFSPlusExtentKey.forkType], kForkTypeData jne .checkFlags mov eax, [si + HFSPlusExtentKey.startBlock] cmp eax, [di + HFSPlusExtentKey.startBlock] je compareHFSPlusCatalogKeys.exit .checkFlags: ja compareHFSPlusCatalogKeys.searchKeyGreater ; search key > trial key jb compareHFSPlusCatalogKeys.trialKeyGreater ; search key < trial key ;-------------------------------------------------------------------------- ; Compare HFSPlusCatalogKey structures ; ; Arguments: ; DS:SI = search key ; ES:DI = trial key ; ; Returns: ; [BTree.searchResult] = result ; FLAGS = relation between search and trial keys ; compareHFSPlusCatalogKeys: pushad xor dx, dx ; DL = result of comparison, DH = bestGuess xchg si, di lodsd mov ecx, eax ; ECX = trial parentID xchg si, di lodsd ; EAX = search parentID cmp eax, ecx ja .searchKeyGreater ; search parentID > trial parentID jb .trialKeyGreater ; search parentID < trial parentID .compareNodeName: ; search parentID = trial parentID xchg si, di lodsw mov cx, ax ; CX = trial nodeName.length xchg si, di lodsw ; AX = search nodeName.length cmp cl, 0 ; trial nodeName.length = 0? je .searchKeyGreater cmp ax, cx je .strCompare ja .searchStrLonger .trialStrLonger: dec dh mov cx, ax jmp .strCompare .searchStrLonger: inc dh .strCompare: repe cmpsw ja .searchKeyGreater jb .trialKeyGreater mov dl, dh jmp .exit .trialKeyGreater: dec dl jmp .exit .searchKeyGreater: inc dl .exit: mov [bp + BTree.searchResult], dl cmp dl, 0 ; set flags to check relation between keys popad ret ;-------------------------------------------------------------------------- ; Allocate memory ; ; Arguments: ; CX = size of requested memory ; ; Returns: ; BP = start address of allocated memory ; ; Clobber list: ; CX ; malloc: push ax ; save AX push di ; save DI mov di, [gMallocPtr] ; start address of free space push di ; save free space start address inc di ; inc di ; keep the first word untouched dec cx ; for the last memory block pointer. dec cx ; mov al, NULL ; fill with zero rep stosb ; repeat fill mov [gMallocPtr], di ; adjust free space pointer pop bp ; BP = start address of allocated memory mov [di], bp ; set start address of allocated memory at next ; allocation block's free space address. pop di ; restore DI pop ax ; restore AX ret %if UNUSED ;-------------------------------------------------------------------------- ; Free allocated memory ; ; Returns: ; BP = start address of previously allocated memory ; free: lea bp, [gMallocPtr] mov bp, [bp] mov [gMallocPtr], bp ret %endif ; UNUSED ;-------------------------------------------------------------------------- ; Static data. ; %if VERBOSE bootfile_msg db '/boot', CR, LF, NULL %endif ;-------------------------------------------------------------------------- ; Pad the rest of the 512 byte sized sector with zeroes. The last ; two bytes is the mandatory boot sector signature. ; ; If the booter code becomes too large, then nasm will complain ; that the 'times' argument is negative. pad_table_and_sig: times 510-($-$$) db 0 dw kBootSignature ; ; Sector 1 code area ; ;-------------------------------------------------------------------------- ; lookUpBTree - initializes a new BTree instance and ; look up for HFSPlus Catalog File or Extent Overflow keys ; ; Arguments: ; AL = kHFSPlusFileID (Catalog or Extents Overflow) ; SI = address of searchKey ; DI = address of HFSPlusForkData.extents ; ; Returns: ; BP = address of BTree instance ; ECX = rootNode's logical offset in sectors ; lookUpBTree: mov cx, BTree_size ; allocate memory with BTree_size call malloc ; BP = start address of allocated memory. mov [bp + BTree.fileID], al ; save fileFileID mov edx, [di] ; first extent of current file call blockToSector ; ECX = converted to sector unit mov al, 1 ; 1 sector is enough for xor edx, edx ; reading current file's header. lea dx, [bp + BTree.BTHeaderBuffer] ; load into BTreeHeaderBuffer call readLBA ; read mov ax, [bp + BTree.BTHeaderBuffer + BTNodeDescriptor_size + BTHeaderRec.nodeSize] xchg ah, al ; convert to little-endian mov [bp + BTree.nodeSize], ax ; save nodeSize ; ; Always start the lookup process with the root node. ; mov edx, [bp + BTree.BTHeaderBuffer + BTNodeDescriptor_size + BTHeaderRec.rootNode] .readNode: ; ; Converting nodeID to sector unit ; mov ax, [bp + BTree.nodeSize] shr ax, 9 ; convert nodeSize to sectors mov bx, ax ; BX = read sector count cwde bswap edx ; convert node ID to little-endian mul edx ; multiply with nodeSize converted to sector unit mov ecx, eax ; ECX = file offset in BTree mov eax, [bp + BTree.fileID] lea edx, [bp + BTree.nodeBuffer] call readExtent ; ; AX = lowerBound = 0 ; xor ax, ax ; ; BX = upperBound = numRecords - 1 ; mov bx, [bp + BTree.nodeBuffer + BTNodeDescriptor.numRecords] xchg bh, bl dec bx .bsearch: cmp ax, bx ja .checkResult ; jump if lowerBound > upperBound mov cx, ax add cx, bx shr cx, 1 ; test index = (lowerBound + upperBound / 2) call getBTreeRecord %if UNUSED pushad jl .csearchLessThanTrial jg .csearchGreaterThanTrial PrintChar('=') jmp .csearchCont .csearchGreaterThanTrial: PrintChar('>') jmp .csearchCont .csearchLessThanTrial: PrintChar('<') .csearchCont: popad %endif ; UNUSED .adjustBounds: je .checkResult jl .searchLessThanTrial jg .searchGreaterThanTrial jmp .bsearch .searchLessThanTrial: mov bx, cx dec bx ; upperBound = index - 1 jmp .bsearch .searchGreaterThanTrial: mov ax, cx inc ax ; lowerBound = index + 1 jmp .bsearch .checkResult: cmp BYTE [bp + BTree.searchResult], 0 jge .foundKey mov cx, bx call getBTreeRecord .foundKey: cmp BYTE [bp + BTree.nodeBuffer + BTNodeDescriptor.kind], kBTIndexNode jne .exit lea bx, [bp + BTree.recordDataPtr] mov bx, [bx] mov edx, [bx] jmp .readNode .exit: cmp BYTE [bp + BTree.searchResult], 0 ret ;-------------------------------------------------------------------------- ; getBTreeRecord - read and compare BTree record ; ; Arguments: ; CX = record index ; SI = address of search key ; ; Returns: ; [BTree.searchResult] = result of key compare ; [BTree.recordDataPtr] = address of record data ; getBTreeRecord: pushad push si ; save SI lea di, [bp + BTree.nodeBuffer] ; DI = start of nodeBuffer push di ; use later mov ax, [bp + BTree.nodeSize] ; get nodeSize add di, ax ; DI = beyond nodeBuffer inc cx ; increment index shl cx, 1 ; * 2 sub di, cx ; DI = pointer to record mov ax, [di] ; offset to record xchg ah, al ; convert to little-endian pop di ; start of nodeBuffer add di, ax ; DI = address of record key mov si, di ; save to SI mov ax, [di] ; keyLength xchg ah, al ; convert to little-endian inc ax ; suppress keySize (2 bytes) inc ax ; add di, ax ; DI = address of record data mov [bp + BTree.recordDataPtr], di ; save address of record data lea di, [bp + BTree.trialKey] push di ; save address of trialKey lodsw ; suppress keySize (2 bytes) ; ; Don't need to compare as DWORD since all reserved CNIDs fits to a single byte ; cmp BYTE [bp + BTree.fileID], kHFSCatalogFileID je .prepareTrialCatalogKey .prepareTrialExtentKey: mov bx, compareHFSPlusExtentKeys movsw ; copy forkType + pad mov cx, 2 ; copy fileID + startBlock .extentLoop: lodsd bswap eax ; convert to little-endian stosd loop .extentLoop jmp .exit .prepareTrialCatalogKey: mov bx, compareHFSPlusCatalogKeys lodsd bswap eax ; convert ParentID to little-endian stosd call ConvertHFSUniStr255ToLE ; convert nodeName to little-endian .exit: pop di ; restore address of trialKey %if UNUSED ; ; Print catalog trial key ; pushad mov si, di lodsd PrintChar('k') PrintHex() lodsw cmp ax, 0 je .printExit mov cx, ax .printLoop: lodsw call print_char loop .printLoop .printExit: popad ; ; ; %endif ; UNUSED %if UNUSED ; ; Print extent trial key ; pushad PrintChar('k') mov si, di xor eax, eax lodsw PrintHex() lodsd PrintHex() lodsd PrintHex() popad ; ; ; %endif ; UNUSED pop si ; restore SI call bx ; call key compare proc popad ret ;-------------------------------------------------------------------------- ; readExtent - read extents from a HFS+ file (multiple extent support) ; ; Arguments: ; EAX = Catalog File ID ; BX = read size in sectors ; ECX = file offset in sectors ; EDX = address of read buffer ; DI = address of HFSPlusForkData.extents ; readExtent: pushad ; ; Save Catalog File ID as part of a search HFSPlusExtentKey ; for a possible Extents Overflow lookup. ; mov [bp + BTree.searchExtentKey + HFSPlusExtentKey.fileID], eax mov [bp + BTree.readBufferPtr], edx mov ax, bx cwde mov [bp + BTree.readSize], eax mov ebx, ecx ; EBX = file offset xor eax, eax mov [bp + BTree.currentExtentOffs], eax .beginExtentBlock: mov BYTE [bp + BTree.extentCount], 0 .extentSearch: cmp BYTE [bp + BTree.extentCount], kHFSPlusExtentDensity jb .continue .getNextExtentBlock: push ebx mov eax, [bp + BTree.currentExtentOffs] ; ; Converting sector unit to HFS+ allocation block unit. ; xor edx, edx div DWORD [gBlockSize] ; divide with blockSize ; ; Preparing searchExtentKey's startBlock field. ; mov [bp + BTree.searchExtentKey + HFSPlusExtentKey.startBlock], eax mov al, kHFSExtentsFileID lea si, [bp + BTree.searchExtentKey] lea di, [kHFSPlusBuffer + HFSPlusVolumeHeader.extentsFile + HFSPlusForkData.extents] call lookUpBTree jnz NEAR .exit ; ; BP points to the new workspace allocated by lookUpBTree. ; lea di, [bp + BTree.recordDataPtr] mov di, [di] ; ; Switch back to the previous workspace. ; lea bp, [gMallocPtr] mov bp, [bp] mov [gMallocPtr], bp pop ebx jmp .beginExtentBlock .continue: mov edx, [di + HFSPlusExtentDescriptor.blockCount] call blockToSector ; ECX = converted current extent's blockCount to sectors mov eax, [bp + BTree.currentExtentOffs] ; EAX = current extent's start offset (sector) mov edx, eax add edx, ecx ; EDX = next extent's start offset (sector) cmp ebx, edx mov [bp + BTree.currentExtentOffs], edx ; set currentExtentOffs as the next extent's start offset jae .nextExtent ; jump to next extent if file offset > next extent's start offset .foundExtent: mov edx, ebx sub edx, eax ; EDX = relative offset within current extent mov eax, edx ; will be used below to determine read size mov esi, [bp + BTree.readSize] ; ESI = remaining sectors to be read add edx, esi cmp edx, ecx ; test if relative offset + readSize fits to this extent jbe .read ; read all remaining sectors from this extent .splitRead: sub ecx, eax ; read amount of sectors beginning at relative offset mov esi, ecx ; of current extent up to the end of current extent .read: mov edx, [di + HFSPlusExtentDescriptor.startBlock] call blockToSector ; ECX = converted to sectors add ecx, eax ; file offset converted to sectors push si mov ax, si mov edx, [bp + BTree.readBufferPtr] call readSectors pop si add ebx, esi mov ax, si cwde shl ax, 9 ; convert SI (read sector count) to byte unit add [bp + BTree.readBufferPtr], eax sub [bp + BTree.readSize], esi jz .exit .nextExtent: add di, kHFSPlusExtentDensity inc BYTE [bp + BTree.extentCount] jmp .extentSearch .exit: popad ret ;-------------------------------------------------------------------------- ; Convert big-endian HFSPlus allocation block to sector unit ; ; Arguments: ; EDX = allocation block ; ; Returns: ; ECX = allocation block converted to sector unit ; ; Clobber list: ; EDX ; blockToSector: push eax mov eax, [gBlockSize] bswap edx ; convert allocation block to little-endian mul edx ; multiply with block number mov ecx, eax ; result in EAX pop eax ret %if UNUSED ;-------------------------------------------------------------------------- ; Convert sector unit to HFSPlus allocation block unit ; ; Arguments: ; EDX = sector ; ; Returns: ; ECX = converted to allocation block unit ; ; Clobber list: ; EDX ; sectorToBlock: push eax mov eax, edx xor edx, edx div DWORD [gBlockSize] ; divide with blockSize mov ecx, eax ; result in EAX pop eax ret %endif ; UNUSED %if UNUSED ;-------------------------------------------------------------------------- ; Convert big-endian BTree node ID to sector unit ; ; Arguments: ; EDX = node ID ; ; Returns: ; ECX = node ID converted to sector unit ; ; Clobber list: ; EDX ; nodeToSector: push eax mov ax, [bp + BTree.nodeSize] shr ax, 9 ; convert nodeSize to sectors cwde bswap edx ; convert node ID to little-endian mul edx ; multiply with node ID mov ecx, eax ; result in EAX pop eax ret %endif ; UNUSED ;-------------------------------------------------------------------------- ; Static data. ; %if VERBOSE log_title_str db 'boot1: ', NULL error_str db 'error', NULL %endif searchCatalogKey dd kHFSRootFolderID dw searchCatKeyNameLen searchCatKeyName dw 'b', 'o', 'o', 't' ; must be lower case searchCatKeyNameLen EQU ($ - searchCatKeyName) / 2 ;-------------------------------------------------------------------------- ; Pad the rest of the 512 byte sized sector with zeroes. The last ; two bytes is the mandatory boot sector signature. ; pad_sector_1: times 1022-($-$$) db 0 dw kBootSignature ; ; Local BTree variables ; struc BTree .mallocLink resw 1 ; pointer to previously allocated memory block .fileID resd 1 ; will use as BYTE .nodeSize resd 1 ; will use as WORD .searchExtentKey resb HFSPlusExtentKey_size .searchResult resb 1 .trialKey resb kBTMaxRecordLength .recordDataPtr resw 1 .readBufferPtr resd 1 .currentExtentOffs resd 1 .readSize resd 1 .extentCount resb 1 ALIGNB 2 .BTHeaderBuffer resb kSectorBytes .nodeBuffer resb maxNodeSize endstruc ; ; Global variables ; ABSOLUTE kHFSPlusBuffer + HFSPlusVolumeHeader_size gPartLBA resd 1 gBIOSDriveNumber resw 1 gBlockSize resd 1 gMallocPtr resw 1 ; END
{ "language": "Assembly" }
/*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution and use in source and binary forms, with or */ /* without modification, are permitted provided that the following */ /* conditions are met: */ /* */ /* 1. Redistributions of source code must retain the above */ /* copyright notice, this list of conditions and the following */ /* disclaimer. */ /* */ /* 2. Redistributions in binary form must reproduce the above */ /* copyright notice, this list of conditions and the following */ /* disclaimer in the documentation and/or other materials */ /* provided with the distribution. */ /* */ /* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */ /* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */ /* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */ /* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */ /* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */ /* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */ /* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */ /* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */ /* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */ /* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */ /* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */ /* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */ /* POSSIBILITY OF SUCH DAMAGE. */ /* */ /* The views and conclusions contained in the software and */ /* documentation are those of the authors and should not be */ /* interpreted as representing official policies, either expressed */ /* or implied, of The University of Texas at Austin. */ /*********************************************************************/ #define ASSEMBLER #include "common.h" #define OLD_M %rdi #define OLD_N %rsi #define OLD_K %rdx #define M %r13 #define N %r14 #define K %r15 #define A %rcx #define B %r8 #define C %r9 #define LDC %r10 #define I %r11 #define AO %rdi #define BO %rsi #define CO1 %rbx #define CO2 %rbp #define KK %rdx #define BB %r12 #ifndef WINDOWS_ABI #define STACKSIZE 128 #define OLD_LDC 8 + STACKSIZE(%rsp) #define OLD_OFFSET 16 + STACKSIZE(%rsp) #define OFFSET 48(%rsp) #define J 56(%rsp) #define KKK 64(%rsp) #define AORIG 72(%rsp) #else #define STACKSIZE 256 #define OLD_A 48 + STACKSIZE(%rsp) #define OLD_B 56 + STACKSIZE(%rsp) #define OLD_C 64 + STACKSIZE(%rsp) #define OLD_LDC 72 + STACKSIZE(%rsp) #define OLD_OFFSET 80 + STACKSIZE(%rsp) #define OFFSET 224(%rsp) #define J 232(%rsp) #define KKK 240(%rsp) #define AORIG 248(%rsp) #endif #define PREFETCHSIZE (8 * 1 + 2) #define PREFETCH prefetcht0 #define ADD1 addpd #define ADD2 addpd PROLOGUE PROFCODE subq $STACKSIZE, %rsp movq %rbx, 0(%rsp) movq %rbp, 8(%rsp) movq %r12, 16(%rsp) movq %r13, 24(%rsp) movq %r14, 32(%rsp) movq %r15, 40(%rsp) #ifdef WINDOWS_ABI movq %rdi, 48(%rsp) movq %rsi, 56(%rsp) movups %xmm6, 64(%rsp) movups %xmm7, 80(%rsp) movups %xmm8, 96(%rsp) movups %xmm9, 112(%rsp) movups %xmm10, 128(%rsp) movups %xmm11, 144(%rsp) movups %xmm12, 160(%rsp) movups %xmm13, 176(%rsp) movups %xmm14, 192(%rsp) movups %xmm15, 208(%rsp) movq ARG1, OLD_M movq ARG2, OLD_N movq ARG3, OLD_K movq OLD_A, A movq OLD_B, B movq OLD_C, C #endif subq $-16 * SIZE, A subq $-16 * SIZE, B movq OLD_M, M movq OLD_N, N movq OLD_K, K movq OLD_LDC, LDC movq OLD_OFFSET, KK salq $ZBASE_SHIFT, LDC movq KK, OFFSET negq KK #ifdef LN movq M, %rax salq $ZBASE_SHIFT, %rax addq %rax, C imulq K, %rax addq %rax, A #endif #ifdef RT movq N, %rax salq $ZBASE_SHIFT, %rax imulq K, %rax addq %rax, B movq N, %rax imulq LDC, %rax addq %rax, C #endif #ifdef RT movq N, KK subq OFFSET, KK #endif testq M, M jle .L999 testq $1, N BRANCH jle .L20 #if defined(LT) || defined(RN) movq A, AO #else movq A, AORIG #endif #ifdef RT movq K, %rax salq $ZBASE_SHIFT, %rax subq %rax, B subq LDC, C #endif movq C, CO1 #ifndef RT addq LDC, C #endif #ifdef LN movq OFFSET, KK addq M, KK #endif #ifdef LT movq OFFSET, KK #endif movq M, I ALIGN_4 .L31: #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax subq %rax, AORIG #endif #if defined(LN) || defined(RT) movq AORIG, AO movq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (B, %rax, 1), BO #else movq B, BO #endif xorps %xmm1, %xmm1 movaps -16 * SIZE(AO), %xmm0 xorps %xmm2, %xmm2 xorps %xmm8, %xmm8 prefetcht0 2 * SIZE(CO1) xorps %xmm9, %xmm9 xorps %xmm10, %xmm10 xorps %xmm11, %xmm11 #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif sarq $2, %rax NOBRANCH jle .L35 ALIGN_3 .L32: PREFETCH (PREFETCHSIZE + 0) * SIZE(AO) ADD1 %xmm1, %xmm8 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 movaps -14 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm10 movaps -14 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm11 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 movaps -12 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm8 movaps -12 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 movaps -10 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm10 movaps -10 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm11 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 movaps -8 * SIZE(AO), %xmm0 subq $-8 * SIZE, AO subq $-8 * SIZE, BO subq $1, %rax BRANCH jg .L32 addpd %xmm10, %xmm8 addpd %xmm11, %xmm9 ALIGN_3 .L35: #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif andq $3, %rax BRANCH je .L38 ALIGN_3 .L36: ADD1 %xmm1, %xmm8 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 movaps -14 * SIZE(AO), %xmm0 addq $2 * SIZE, AO addq $2 * SIZE, BO subq $1, %rax BRANCH jg .L36 ALIGN_3 .L38: #if defined(LN) || defined(RT) movq KK, %rax subq $1, %rax salq $ZBASE_SHIFT, %rax movq AORIG, AO leaq (AO, %rax, 1), AO leaq (B, %rax, 1), BO #endif ADD1 %xmm1, %xmm8 ADD2 %xmm2, %xmm9 pcmpeqb %xmm0, %xmm0 psllq $63, %xmm0 #if defined(LN) || defined(LT) #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 #else shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm9 #endif #else #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 #else shufps $0x04, %xmm0, %xmm0 xorps %xmm0, %xmm9 #endif #endif haddpd %xmm9, %xmm8 #if defined(LN) || defined(LT) movapd -16 * SIZE(BO), %xmm9 movapd -14 * SIZE(BO), %xmm11 subpd %xmm8, %xmm9 #else movapd -16 * SIZE(AO), %xmm9 movapd -14 * SIZE(AO), %xmm11 subpd %xmm8, %xmm9 #endif pcmpeqb %xmm7, %xmm7 psllq $63, %xmm7 #ifndef CONJ shufps $0x04, %xmm7, %xmm7 #else shufps $0x40, %xmm7, %xmm7 #endif #if defined(LN) || defined(LT) movddup -16 * SIZE(AO), %xmm0 movddup -15 * SIZE(AO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 #endif #if defined(RN) || defined(RT) movddup -16 * SIZE(BO), %xmm0 movddup -15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 #endif #ifdef LN subq $2 * SIZE, CO1 #endif movsd %xmm9, 0 * SIZE(CO1) movhpd %xmm9, 1 * SIZE(CO1) #if defined(LN) || defined(LT) movapd %xmm9, -16 * SIZE(BO) #else movapd %xmm9, -16 * SIZE(AO) #endif #ifndef LN addq $2 * SIZE, CO1 #endif #if defined(LT) || defined(RN) movq K, %rax subq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (BO, %rax, 1), BO #endif #ifdef LN subq $1, KK #endif #ifdef LT addq $1, KK #endif #ifdef RT movq K, %rax salq $ZBASE_SHIFT, %rax addq %rax, AORIG #endif decq I BRANCH jg .L31 #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax leaq (B, %rax, 1), B #endif #if defined(LT) || defined(RN) movq BO, B #endif #ifdef RN addq $1, KK #endif #ifdef RT subq $1, KK #endif ALIGN_4 .L20: testq $2, N BRANCH jle .L30 #if defined(LT) || defined(RN) movq A, AO #else movq A, AORIG #endif #ifdef RT movq K, %rax salq $1 + ZBASE_SHIFT, %rax subq %rax, B leaq (, LDC, 2), %rax subq %rax, C #endif movq C, CO1 leaq (C, LDC, 1), CO2 #ifndef RT leaq (C, LDC, 2), C #endif #ifdef LN movq OFFSET, KK addq M, KK #endif #ifdef LT movq OFFSET, KK #endif movq M, I ALIGN_4 .L21: #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax subq %rax, AORIG #endif #if defined(LN) || defined(RT) movq AORIG, AO movq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (B, %rax, 2), BO #else movq B, BO #endif xorps %xmm1, %xmm1 movaps -16 * SIZE(AO), %xmm0 xorps %xmm2, %xmm2 xorps %xmm3, %xmm3 xorps %xmm4, %xmm4 xorps %xmm8, %xmm8 prefetcht0 2 * SIZE(CO1) xorps %xmm9, %xmm9 prefetcht0 2 * SIZE(CO2) xorps %xmm10, %xmm10 xorps %xmm11, %xmm11 #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif sarq $2, %rax NOBRANCH jle .L25 ALIGN_3 .L22: PREFETCH (PREFETCHSIZE + 0) * SIZE(AO) ADD1 %xmm1, %xmm8 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -14 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -14 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm8 movaps -12 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -10 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -12 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm8 movaps -8 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -6 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -10 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm8 movaps -4 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -2 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -8 * SIZE(AO), %xmm0 subq $-8 * SIZE, AO subq $-16 * SIZE, BO subq $1, %rax BRANCH jg .L22 ALIGN_3 .L25: #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif andq $3, %rax # if (k & 1) BRANCH je .L28 ALIGN_3 .L26: ADD1 %xmm1, %xmm8 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -14 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -14 * SIZE(AO), %xmm0 addq $2 * SIZE, AO addq $4 * SIZE, BO subq $1, %rax BRANCH jg .L26 ALIGN_3 .L28: #if defined(LN) || defined(RT) movq KK, %rax #ifdef LN subq $1, %rax #else subq $2, %rax #endif salq $ZBASE_SHIFT, %rax movq AORIG, AO leaq (AO, %rax, 1), AO leaq (B, %rax, 2), BO #endif ADD1 %xmm1, %xmm8 ADD2 %xmm2, %xmm9 ADD1 %xmm3, %xmm10 ADD2 %xmm4, %xmm11 pcmpeqb %xmm0, %xmm0 psllq $63, %xmm0 #if defined(LN) || defined(LT) #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 xorps %xmm0, %xmm10 #else shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm9 xorps %xmm0, %xmm11 #endif #else #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 xorps %xmm0, %xmm10 #else shufps $0x04, %xmm0, %xmm0 xorps %xmm0, %xmm9 xorps %xmm0, %xmm11 #endif #endif haddpd %xmm9, %xmm8 haddpd %xmm11, %xmm10 #if defined(LN) || defined(LT) movapd -16 * SIZE(BO), %xmm9 movapd -14 * SIZE(BO), %xmm11 subpd %xmm8, %xmm9 subpd %xmm10, %xmm11 #else movapd -16 * SIZE(AO), %xmm9 movapd -14 * SIZE(AO), %xmm11 subpd %xmm8, %xmm9 subpd %xmm10, %xmm11 #endif pcmpeqb %xmm7, %xmm7 psllq $63, %xmm7 #ifndef CONJ shufps $0x04, %xmm7, %xmm7 #else shufps $0x40, %xmm7, %xmm7 #endif #if defined(LN) || defined(LT) movddup -16 * SIZE(AO), %xmm0 movddup -15 * SIZE(AO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm8 xorpd %xmm7, %xmm10 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 addpd %xmm8, %xmm9 addpd %xmm10, %xmm11 #endif #ifdef RN movddup -16 * SIZE(BO), %xmm0 movddup -15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 movddup -14 * SIZE(BO), %xmm2 movddup -13 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm9, %xmm2 mulpd %xmm8, %xmm3 subpd %xmm2, %xmm11 subpd %xmm3, %xmm11 movddup -10 * SIZE(BO), %xmm0 movddup -9 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 addpd %xmm10, %xmm11 #endif #ifdef RT movddup -10 * SIZE(BO), %xmm0 movddup -9 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 addpd %xmm10, %xmm11 movddup -12 * SIZE(BO), %xmm2 movddup -11 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm11, %xmm2 mulpd %xmm10, %xmm3 subpd %xmm2, %xmm9 subpd %xmm3, %xmm9 movddup -16 * SIZE(BO), %xmm0 movddup -15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 #endif #ifdef LN subq $2 * SIZE, CO1 subq $2 * SIZE, CO2 #endif movsd %xmm9, 0 * SIZE(CO1) movhpd %xmm9, 1 * SIZE(CO1) movsd %xmm11, 0 * SIZE(CO2) movhpd %xmm11, 1 * SIZE(CO2) #if defined(LN) || defined(LT) movapd %xmm9, -16 * SIZE(BO) movapd %xmm11, -14 * SIZE(BO) #else movapd %xmm9, -16 * SIZE(AO) movapd %xmm11, -14 * SIZE(AO) #endif #ifndef LN addq $2 * SIZE, CO1 addq $2 * SIZE, CO2 #endif #if defined(LT) || defined(RN) movq K, %rax subq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (BO, %rax, 2), BO #endif #ifdef LN subq $1, KK #endif #ifdef LT addq $1, KK #endif #ifdef RT movq K, %rax salq $ZBASE_SHIFT, %rax addq %rax, AORIG #endif decq I BRANCH jg .L21 #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax leaq (B, %rax, 2), B #endif #if defined(LT) || defined(RN) movq BO, B #endif #ifdef RN addq $2, KK #endif #ifdef RT subq $2, KK #endif ALIGN_4 .L30: movq N, J sarq $2, J NOBRANCH jle .L999 ALIGN_4 .L01: #if defined(LT) || defined(RN) movq A, AO #else movq A, AORIG #endif #ifdef RT movq K, %rax salq $2 + ZBASE_SHIFT, %rax subq %rax, B leaq (, LDC, 4), %rax subq %rax, C #endif movq C, CO1 leaq (C, LDC, 2), CO2 #ifndef RT leaq (C, LDC, 4), C #endif #ifdef LN movq OFFSET, KK addq M, KK #endif movq K, %rax salq $ZBASE_SHIFT + 2, %rax leaq (B, %rax), BB #ifdef LT movq OFFSET, KK #endif movq M, I ALIGN_4 .L11: #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax subq %rax, AORIG #endif #if defined(LN) || defined(RT) movq AORIG, AO movq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (B, %rax, 4), BO #else movq B, BO #endif prefetchnta -16 * SIZE(BB) subq $-8 * SIZE, BB xorps %xmm1, %xmm1 movaps -16 * SIZE(AO), %xmm0 xorps %xmm2, %xmm2 xorps %xmm3, %xmm3 xorps %xmm4, %xmm4 xorps %xmm8, %xmm8 prefetcht0 2 * SIZE(CO1) xorps %xmm9, %xmm9 prefetcht0 2 * SIZE(CO1, LDC) xorps %xmm10, %xmm10 xorps %xmm11, %xmm11 xorps %xmm12, %xmm12 prefetcht0 2 * SIZE(CO2) xorps %xmm13, %xmm13 prefetcht0 2 * SIZE(CO2, LDC) xorps %xmm14, %xmm14 xorps %xmm15, %xmm15 #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif sarq $2, %rax NOBRANCH jle .L15 ALIGN_3 .L12: PREFETCH (PREFETCHSIZE + 0) * SIZE(AO) ADD1 %xmm1, %xmm12 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm13 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm14 movaps -14 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm15 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm8 movaps -12 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -10 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm12 movaps -8 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm13 movaps -14 * SIZE(AO), %xmm0 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm14 movaps -6 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm15 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm8 movaps -4 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -2 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm12 movaps 0 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm13 movaps -12 * SIZE(AO), %xmm0 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm14 movaps 2 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm15 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm8 movaps 4 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps 6 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -10 * SIZE(AO), %xmm0 ADD1 %xmm1, %xmm12 movaps 8 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm13 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm14 movaps 10 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm15 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm8 movaps 12 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps 14 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -8 * SIZE(AO), %xmm0 subq $-8 * SIZE, AO subq $-32 * SIZE, BO subq $1, %rax BRANCH jg .L12 ALIGN_3 .L15: #if defined(LT) || defined(RN) movq KK, %rax #else movq K, %rax subq KK, %rax #endif andq $3, %rax # if (k & 1) BRANCH je .L18 ALIGN_3 .L16: ADD1 %xmm1, %xmm12 movaps -16 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm13 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm14 movaps -14 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm15 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 ADD1 %xmm1, %xmm8 movaps -12 * SIZE(BO), %xmm1 ADD2 %xmm2, %xmm9 pshufd $0x4e, %xmm1, %xmm2 mulpd %xmm0, %xmm1 mulpd %xmm0, %xmm2 ADD1 %xmm3, %xmm10 movaps -10 * SIZE(BO), %xmm3 ADD2 %xmm4, %xmm11 pshufd $0x4e, %xmm3, %xmm4 mulpd %xmm0, %xmm3 mulpd %xmm0, %xmm4 movaps -14 * SIZE(AO), %xmm0 addq $2 * SIZE, AO addq $8 * SIZE, BO subq $1, %rax BRANCH jg .L16 ALIGN_3 .L18: #if defined(LN) || defined(RT) movq KK, %rax #ifdef LN subq $1, %rax #else subq $4, %rax #endif salq $ZBASE_SHIFT, %rax movq AORIG, AO leaq (AO, %rax, 1), AO leaq (B, %rax, 4), BO #endif ADD1 %xmm1, %xmm12 ADD2 %xmm2, %xmm13 ADD1 %xmm3, %xmm14 ADD2 %xmm4, %xmm15 pcmpeqb %xmm0, %xmm0 psllq $63, %xmm0 #if defined(LN) || defined(LT) #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 xorps %xmm0, %xmm10 xorps %xmm0, %xmm12 xorps %xmm0, %xmm14 #else shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm9 xorps %xmm0, %xmm11 xorps %xmm0, %xmm13 xorps %xmm0, %xmm15 #endif #else #ifndef CONJ shufps $0x40, %xmm0, %xmm0 xorps %xmm0, %xmm8 xorps %xmm0, %xmm10 xorps %xmm0, %xmm12 xorps %xmm0, %xmm14 #else shufps $0x04, %xmm0, %xmm0 xorps %xmm0, %xmm9 xorps %xmm0, %xmm11 xorps %xmm0, %xmm13 xorps %xmm0, %xmm15 #endif #endif haddpd %xmm9, %xmm8 haddpd %xmm11, %xmm10 haddpd %xmm13, %xmm12 haddpd %xmm15, %xmm14 #if defined(LN) || defined(LT) movapd -16 * SIZE(BO), %xmm9 movapd -14 * SIZE(BO), %xmm11 movapd -12 * SIZE(BO), %xmm13 movapd -10 * SIZE(BO), %xmm15 subpd %xmm8, %xmm9 subpd %xmm10, %xmm11 subpd %xmm12, %xmm13 subpd %xmm14, %xmm15 #else movapd -16 * SIZE(AO), %xmm9 movapd -14 * SIZE(AO), %xmm11 movapd -12 * SIZE(AO), %xmm13 movapd -10 * SIZE(AO), %xmm15 subpd %xmm8, %xmm9 subpd %xmm10, %xmm11 subpd %xmm12, %xmm13 subpd %xmm14, %xmm15 #endif pcmpeqb %xmm7, %xmm7 psllq $63, %xmm7 #ifndef CONJ shufps $0x04, %xmm7, %xmm7 #else shufps $0x40, %xmm7, %xmm7 #endif #if defined(LN) || defined(LT) movddup -16 * SIZE(AO), %xmm0 movddup -15 * SIZE(AO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 pshufd $0x4e, %xmm11, %xmm10 pshufd $0x4e, %xmm13, %xmm12 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm8 xorpd %xmm7, %xmm10 xorpd %xmm7, %xmm12 xorpd %xmm7, %xmm14 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 mulpd %xmm0, %xmm13 mulpd %xmm1, %xmm12 mulpd %xmm0, %xmm15 mulpd %xmm1, %xmm14 addpd %xmm8, %xmm9 addpd %xmm10, %xmm11 addpd %xmm12, %xmm13 addpd %xmm14, %xmm15 #endif #ifdef RN movddup -16 * SIZE(BO), %xmm0 movddup -15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 movddup -14 * SIZE(BO), %xmm2 movddup -13 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm9, %xmm2 mulpd %xmm8, %xmm3 subpd %xmm2, %xmm11 subpd %xmm3, %xmm11 movddup -12 * SIZE(BO), %xmm0 movddup -11 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm9, %xmm0 mulpd %xmm8, %xmm1 subpd %xmm0, %xmm13 subpd %xmm1, %xmm13 movddup -10 * SIZE(BO), %xmm2 movddup -9 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm9, %xmm2 mulpd %xmm8, %xmm3 subpd %xmm2, %xmm15 subpd %xmm3, %xmm15 movddup -6 * SIZE(BO), %xmm0 movddup -5 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 addpd %xmm10, %xmm11 movddup -4 * SIZE(BO), %xmm0 movddup -3 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm11, %xmm0 mulpd %xmm10, %xmm1 subpd %xmm0, %xmm13 subpd %xmm1, %xmm13 movddup -2 * SIZE(BO), %xmm2 movddup -1 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm11, %xmm2 mulpd %xmm10, %xmm3 subpd %xmm2, %xmm15 subpd %xmm3, %xmm15 movddup 4 * SIZE(BO), %xmm0 movddup 5 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm13, %xmm12 xorpd %xmm7, %xmm12 mulpd %xmm0, %xmm13 mulpd %xmm1, %xmm12 addpd %xmm12, %xmm13 movddup 6 * SIZE(BO), %xmm2 movddup 7 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm13, %xmm12 xorpd %xmm7, %xmm12 mulpd %xmm13, %xmm2 mulpd %xmm12, %xmm3 subpd %xmm2, %xmm15 subpd %xmm3, %xmm15 movddup 14 * SIZE(BO), %xmm0 movddup 15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm14 mulpd %xmm0, %xmm15 mulpd %xmm1, %xmm14 addpd %xmm14, %xmm15 #endif #ifdef RT movddup 14 * SIZE(BO), %xmm0 movddup 15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm14 mulpd %xmm0, %xmm15 mulpd %xmm1, %xmm14 addpd %xmm14, %xmm15 movddup 12 * SIZE(BO), %xmm2 movddup 13 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm14 mulpd %xmm15, %xmm2 mulpd %xmm14, %xmm3 subpd %xmm2, %xmm13 subpd %xmm3, %xmm13 movddup 10 * SIZE(BO), %xmm0 movddup 11 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm14 mulpd %xmm15, %xmm0 mulpd %xmm14, %xmm1 subpd %xmm0, %xmm11 subpd %xmm1, %xmm11 movddup 8 * SIZE(BO), %xmm2 movddup 9 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm15, %xmm14 xorpd %xmm7, %xmm14 mulpd %xmm15, %xmm2 mulpd %xmm14, %xmm3 subpd %xmm2, %xmm9 subpd %xmm3, %xmm9 movddup 4 * SIZE(BO), %xmm0 movddup 5 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm13, %xmm12 xorpd %xmm7, %xmm12 mulpd %xmm0, %xmm13 mulpd %xmm1, %xmm12 addpd %xmm12, %xmm13 movddup 2 * SIZE(BO), %xmm0 movddup 3 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm13, %xmm12 xorpd %xmm7, %xmm12 mulpd %xmm13, %xmm0 mulpd %xmm12, %xmm1 subpd %xmm0, %xmm11 subpd %xmm1, %xmm11 movddup 0 * SIZE(BO), %xmm2 movddup 1 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm13, %xmm12 xorpd %xmm7, %xmm12 mulpd %xmm13, %xmm2 mulpd %xmm12, %xmm3 subpd %xmm2, %xmm9 subpd %xmm3, %xmm9 movddup -6 * SIZE(BO), %xmm0 movddup -5 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm0, %xmm11 mulpd %xmm1, %xmm10 addpd %xmm10, %xmm11 movddup -8 * SIZE(BO), %xmm2 movddup -7 * SIZE(BO), %xmm3 pshufd $0x4e, %xmm11, %xmm10 xorpd %xmm7, %xmm10 mulpd %xmm11, %xmm2 mulpd %xmm10, %xmm3 subpd %xmm2, %xmm9 subpd %xmm3, %xmm9 movddup -16 * SIZE(BO), %xmm0 movddup -15 * SIZE(BO), %xmm1 pshufd $0x4e, %xmm9, %xmm8 xorpd %xmm7, %xmm8 mulpd %xmm0, %xmm9 mulpd %xmm1, %xmm8 addpd %xmm8, %xmm9 #endif #ifdef LN subq $2 * SIZE, CO1 subq $2 * SIZE, CO2 #endif movsd %xmm9, 0 * SIZE(CO1) movhpd %xmm9, 1 * SIZE(CO1) movsd %xmm11, 0 * SIZE(CO1, LDC) movhpd %xmm11, 1 * SIZE(CO1, LDC) movsd %xmm13, 0 * SIZE(CO2) movhpd %xmm13, 1 * SIZE(CO2) movsd %xmm15, 0 * SIZE(CO2, LDC) movhpd %xmm15, 1 * SIZE(CO2, LDC) #if defined(LN) || defined(LT) movapd %xmm9, -16 * SIZE(BO) movapd %xmm11, -14 * SIZE(BO) movapd %xmm13, -12 * SIZE(BO) movapd %xmm15, -10 * SIZE(BO) #else movapd %xmm9, -16 * SIZE(AO) movapd %xmm11, -14 * SIZE(AO) movapd %xmm13, -12 * SIZE(AO) movapd %xmm15, -10 * SIZE(AO) #endif #ifndef LN addq $2 * SIZE, CO1 addq $2 * SIZE, CO2 #endif #if defined(LT) || defined(RN) movq K, %rax subq KK, %rax salq $ZBASE_SHIFT, %rax leaq (AO, %rax, 1), AO leaq (BO, %rax, 4), BO #endif #ifdef LN subq $1, KK #endif #ifdef LT addq $1, KK #endif #ifdef RT movq K, %rax salq $ZBASE_SHIFT, %rax addq %rax, AORIG #endif decq I BRANCH jg .L11 #ifdef LN movq K, %rax salq $ZBASE_SHIFT, %rax leaq (B, %rax, 4), B #endif #if defined(LT) || defined(RN) movq BO, B #endif #ifdef RN addq $4, KK #endif #ifdef RT subq $4, KK #endif subq $1, J BRANCH jg .L01 ALIGN_4 .L999: movq 0(%rsp), %rbx movq 8(%rsp), %rbp movq 16(%rsp), %r12 movq 24(%rsp), %r13 movq 32(%rsp), %r14 movq 40(%rsp), %r15 #ifdef WINDOWS_ABI movq 48(%rsp), %rdi movq 56(%rsp), %rsi movups 64(%rsp), %xmm6 movups 80(%rsp), %xmm7 movups 96(%rsp), %xmm8 movups 112(%rsp), %xmm9 movups 128(%rsp), %xmm10 movups 144(%rsp), %xmm11 movups 160(%rsp), %xmm12 movups 176(%rsp), %xmm13 movups 192(%rsp), %xmm14 movups 208(%rsp), %xmm15 #endif addq $STACKSIZE, %rsp ret EPILOGUE
{ "language": "Assembly" }
block2_start .byte 0x55,0xb8,0x74,0x08,0x9c,0x00,0x89,0xe5,0x57,0x56,0x53,0x83,0xec,0x50,0x68,0x50 .byte 0x15,0x00,0x00,0xff,0xd0,0x89,0xc7,0x58,0x31,0xc0,0x85,0xff,0x0f,0x84,0x51,0x01 .byte 0x00,0x00,0xc7,0x45,0xc4,0x40,0xea,0xfa,0x0f,0x31,0xdb,0x89,0xfe,0xc7,0x45,0xc8 .byte 0x50,0xec,0xfa,0x0f,0xc7,0x45,0xcc,0x60,0xee,0xfa,0x0f,0xc7,0x45,0xd0,0x70,0xf0 .byte 0xfa,0x0f,0xc7,0x45,0xd4,0x80,0xf2,0xfa,0x0f,0xc7,0x45,0xd8,0x90,0xf4,0xfa,0x0f .byte 0xc7,0x45,0xdc,0xa0,0xf6,0xfa,0x0f,0xc7,0x45,0xe0,0xb0,0xf8,0xfa,0x0f,0xc7,0x45 .byte 0xe4,0xc0,0xfa,0xfa,0x0f,0xc7,0x45,0xe8,0xd0,0xfc,0xfa,0x0f,0xc7,0x45,0xec,0xe0 .byte 0xfe,0xfa,0x0f,0x68,0xf0,0x01,0x00,0x00,0xb8,0xa8,0x7b,0xed,0x00,0xff,0x74,0x9d .byte 0xc4,0x43,0x56,0x81,0xc6,0xf0,0x01,0x00,0x00,0xff,0xd0,0x83,0xc4,0x0c,0x83,0xfb .byte 0x0a,0x7e,0xe0,0x31,0xdb,0x31,0xd2,0x0f,0xb6,0x04,0x1f,0x43,0x01,0xc2,0x81,0xfb .byte 0x1b,0x0f,0x00,0x00,0x7e,0xf1,0x31,0xc0,0x81,0xfa,0xdd,0xb1,0x06,0x00,0x0f,0x85 .byte 0xbf,0x00,0x00,0x00,0xc6,0x45,0xa4,0x60,0xc6,0x45,0xa5,0xb8,0x89,0x7d,0xa6,0xc6 .byte 0x45,0xaa,0xff,0xc6,0x45,0xab,0xd0,0xc6,0x45,0xac,0x61,0xc6,0x45,0xad,0x83,0xc7 .byte 0x45,0xae,0xc4,0xfc,0x6a,0x00,0xc6,0x45,0xb2,0xe9,0xc7,0x45,0xb3,0x60,0xb7,0x24 .byte 0x00,0x0f,0x20,0xd8,0xbb,0x00,0x00,0x10,0x00,0x89,0xc6,0x89,0xd8,0x89,0xf1,0xc1 .byte 0xe8,0x16,0x81,0xe1,0x00,0xf0,0xff,0xff,0xc1,0xe0,0x02,0x09,0xc1,0x8b,0x11,0xf6 .byte 0xc2,0x01,0x74,0x2c,0xf7,0xc2,0x80,0x00,0x00,0x00,0x74,0x07,0x83,0xca,0x02,0x89 .byte 0x11,0xeb,0x1d,0x89,0xd8,0x81,0xe2,0x00,0xf0,0xff,0xff,0x25,0x00,0xf0,0x3f,0x00 .byte 0xc1,0xe8,0x0a,0x01,0xc2,0x8b,0x02,0xa8,0x01,0x74,0x05,0x83,0xc8,0x02,0x89,0x02 .byte 0x81,0xc3,0x00,0x10,0x00,0x00,0x81,0xfb,0x97,0x99,0xf3,0x00,0x76,0xad,0x0f,0x20 .byte 0xd8,0x0f,0x22,0xd8,0xc6,0x05,0xda,0xad,0xec,0x00,0xeb,0x8d,0x45,0xa4,0x6a,0x13 .byte 0x50,0xb8,0xa8,0x7b,0xed,0x00,0x68,0x6a,0x6f,0x44,0x00,0xff,0xd0,0xc6,0x05,0xd8 .byte 0x26,0x69,0x00,0xe9,0xb8,0x01,0x00,0x00,0x00,0xc7,0x05,0xd9,0x26,0x69,0x00,0x8d .byte 0x48,0xdb,0xff,0x8d,0x65,0xf4,0x5b,0x5e,0x5f,0x5d,0xc3 block2_end block3_start .byte 0xe8,0x00,0x00,0x00,0x00,0x5a,0x83,0xea,0x05,0xb8,0x12,0x07,0x00,0x00,0x8b,0x75 .byte 0xec,0x89,0xb2,0xe1,0x00,0x00,0x00,0x8b,0x75,0xb8,0x89,0xb2,0xe5,0x00,0x00,0x00 .byte 0x3d,0x00,0x20,0x07,0x10,0x72,0x4b,0x8b,0x75,0xfc,0x89,0xb2,0xe5,0x00,0x00,0x00 .byte 0x3d,0x88,0x21,0x07,0x10,0x72,0x3b,0x8b,0x75,0x10,0x89,0xb2,0xe1,0x00,0x00,0x00 .byte 0x8b,0x75,0xf8,0x89,0xb2,0xe5,0x00,0x00,0x00,0x3d,0x00,0x10,0x08,0x10,0x72,0x22 .byte 0x8b,0x75,0xb4,0x89,0xb2,0xe1,0x00,0x00,0x00,0x3d,0x00,0x10,0x08,0x40,0x72,0x12 .byte 0x8b,0x75,0x10,0x89,0xb2,0xe1,0x00,0x00,0x00,0x8b,0x75,0x7c,0x89,0xb2,0xe5,0x00 .byte 0x00,0x00,0x83,0xba,0xe9,0x00,0x00,0x00,0x00,0x75,0x51,0x3d,0x00,0x00,0x00,0x40 .byte 0x72,0x18,0x60,0xb8,0x7d,0x00,0x00,0x00,0xbb,0x00,0x00,0x10,0x00,0xb9,0x98,0x99 .byte 0xe3,0x00,0xba,0x07,0x00,0x00,0x00,0xcd,0x80,0x61,0x89,0xd0,0x05,0xf0,0x00,0x00 .byte 0x00,0xb9,0x03,0x00,0x00,0x00,0x83,0xf9,0x00,0x74,0x0b,0x8b,0x18,0x01,0xd3,0x89 .byte 0x18,0x83,0xc0,0x04,0xe2,0xf5,0x60,0xe8,0x40,0x00,0x00,0x00,0x83,0xf8,0x00,0x75 .byte 0x03,0x61,0xeb,0x1c,0x61,0x83,0x82,0xe9,0x00,0x00,0x00,0x01,0xff,0xb2,0xe1,0x00 .byte 0x00,0x00,0xff,0xb2,0xe5,0x00,0x00,0x00,0xe8,0xcd,0x07,0x00,0x00,0x83,0xc4,0x08 .byte 0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 .byte 0xcc,0x0e,0x00,0x00,0xd0,0x0e,0x00,0x00,0xd4,0x0e,0x00,0x00,0x55,0xb8,0x74,0x08 .byte 0x9c,0x00,0x89,0xe5,0x56,0x53,0x6a,0x24,0xe8,0xb5,0x0d,0x00,0x00,0x81,0xc3,0x0f .byte 0x0e,0x00,0x00,0x8b,0xb3,0xd8,0xf1,0xff,0xff,0xff,0xd0,0x89,0x06,0x5a,0x31,0xd2 .byte 0x85,0xc0,0x74,0x1e,0xc6,0x00,0x00,0x8b,0x83,0xd4,0xf1,0xff,0xff,0xb2,0x01,0xc7 .byte 0x00,0x00,0x00,0x00,0x00,0x8b,0x06,0xc6,0x40,0x20,0x00,0xc6,0x05,0xda,0xad,0xec .byte 0x00,0xeb,0x8d,0x65,0xf8,0x89,0xd0,0x5b,0x5e,0x5d,0xc3,0x55,0x89,0xe5,0x56,0x53 .byte 0xe8,0x6d,0x0d,0x00,0x00,0x81,0xc3,0xc7,0x0d,0x00,0x00,0x8b,0xb3,0xd8,0xf1,0xff .byte 0xff,0x8b,0x06,0xff,0x70,0x10,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x8b,0x06,0xc6 .byte 0x00,0x00,0x8b,0x06,0xc6,0x40,0x20,0x00,0x8d,0x65,0xf8,0x5b,0x5e,0x5d,0xc3,0x55 .byte 0xa1,0xf8,0x8f,0x1c,0x01,0x89,0xe5,0x5d,0x8b,0x15,0xfc,0x8f,0x1c,0x01,0xc1,0xe8 .byte 0x0a,0xc1,0xe2,0x16,0x09,0xd0,0xc3,0x55,0x31,0xc0,0x89,0xe5,0x57,0xfc,0x8d,0x7d .byte 0xe4,0x56,0xb9,0x04,0x00,0x00,0x00,0x53,0x83,0xec,0x34,0x8b,0x55,0x08,0xf3,0xab .byte 0xc6,0x45,0xf3,0x05,0x8d,0x72,0x01,0x0f,0xb6,0x02,0xe8,0x03,0x0d,0x00,0x00,0x81 .byte 0xc3,0x5d,0x0d,0x00,0x00,0x2d,0xa0,0x00,0x00,0x00,0x83,0xf8,0x0c,0x0f,0x87,0xea .byte 0x02,0x00,0x00,0x8b,0x84,0x83,0xc8,0xff,0xff,0xff,0x01,0xd8,0xff,0xe0,0x83,0x7d .byte 0x0c,0x15,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x0f,0x85,0x07,0x03,0x00,0x00,0x6a block3_end block4_start .byte 0x10,0xb8,0x74,0x08,0x9c,0x00,0xff,0xd0,0x5a,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00 .byte 0x85,0xc0,0x89,0x45,0xd8,0x0f,0x84,0xeb,0x02,0x00,0x00,0x8b,0x8b,0xdc,0xf1,0xff .byte 0xff,0x31,0xd2,0x0f,0xb6,0x04,0x11,0x8b,0x7d,0xd8,0x88,0x04,0x17,0x42,0x83,0xfa .byte 0x0f,0x7e,0xf0,0x57,0xe8,0x0b,0x08,0x00,0x00,0x57,0x56,0xe8,0x68,0x08,0x00,0x00 .byte 0x89,0x45,0xd0,0x83,0xc4,0x0c,0x85,0xc0,0x74,0x6b,0x6a,0x11,0xba,0x74,0x08,0x9c .byte 0x00,0xff,0xd2,0x89,0xc7,0x85,0xff,0x58,0x74,0x50,0xff,0x75,0xd8,0x8d,0x45,0xe4 .byte 0x50,0xe8,0x42,0x08,0x00,0x00,0x59,0x85,0xc0,0x89,0x45,0xd4,0x5e,0x74,0x32,0x8b .byte 0x83,0xd8,0xf1,0xff,0xff,0xba,0x74,0x08,0x9c,0x00,0x8b,0x30,0x89,0x45,0xcc,0x68 .byte 0x04,0x02,0x00,0x00,0xff,0xd2,0x8b,0x55,0xcc,0x89,0x46,0x10,0x8b,0x02,0x5a,0x8b .byte 0x40,0x10,0x85,0xc0,0x75,0x2e,0xff,0x75,0xd4,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0 .byte 0x5e,0x57,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x59,0xff,0x75,0xd0,0xb8,0x84,0x4c .byte 0xec,0x00,0xff,0xd0,0x5a,0xff,0x75,0xd8,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0xe9 .byte 0x09,0x02,0x00,0x00,0x50,0xb8,0x90,0x2e,0x17,0x00,0xbe,0x84,0x4c,0xec,0x00,0x68 .byte 0x80,0x00,0x00,0x00,0xff,0x75,0xd0,0xff,0xd0,0x8b,0x55,0xcc,0x8b,0x02,0xc6,0x00 .byte 0x01,0x8b,0x02,0xc6,0x40,0x20,0x00,0x8d,0x47,0x01,0x6a,0x10,0xff,0x75,0xd4,0x50 .byte 0xb8,0xa8,0x7b,0xed,0x00,0xff,0xd0,0xc6,0x07,0xa9,0xff,0x75,0xd4,0xc7,0x45,0xdc .byte 0x11,0x00,0x00,0x00,0xff,0xd6,0xff,0x75,0xd0,0xff,0xd6,0x83,0xc4,0x20,0xff,0x75 .byte 0xd8,0xff,0xd6,0xeb,0x43,0x83,0x7d,0x0c,0x05,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00 .byte 0x8b,0x36,0x89,0x75,0xc8,0x0f,0x85,0xdb,0x01,0x00,0x00,0x6a,0x05,0xbe,0x74,0x08 .byte 0x9c,0x00,0xff,0xd6,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x89,0xc7,0x85,0xff,0x58 .byte 0x0f,0x84,0xc0,0x01,0x00,0x00,0xff,0x75,0xc8,0xff,0xd6,0xc6,0x07,0xa1,0xc7,0x45 .byte 0xdc,0x05,0x00,0x00,0x00,0x89,0x47,0x01,0x58,0xe9,0x78,0x01,0x00,0x00,0x83,0x7d .byte 0x0c,0x09,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x0f,0x86,0x97,0x01,0x00,0x00,0x8b .byte 0x56,0x04,0x8b,0x0e,0x8d,0x42,0x09,0x39,0x45,0x0c,0x0f,0x85,0x86,0x01,0x00,0x00 .byte 0x52,0x8d,0x46,0x08,0x50,0xb8,0xa8,0x7b,0xed,0x00,0x51,0xff,0xd0,0x6a,0x01,0xb8 .byte 0x74,0x08,0x9c,0x00,0xff,0xd0,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x83,0xc4,0x10 .byte 0x85,0xc0,0x89,0xc7,0x0f,0x84,0x5c,0x01,0x00,0x00,0xc6,0x00,0xa7,0xe9,0x12,0x01 .byte 0x00,0x00,0x83,0x7d,0x0c,0x09,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x0f,0x85,0x43 .byte 0x01,0x00,0x00,0x8b,0x3e,0x85,0xff,0x89,0x7d,0xc4,0x0f,0x84,0x36,0x01,0x00,0x00 .byte 0x8b,0x76,0x04,0x8d,0x46,0x01,0x50,0x89,0x45,0xc0,0xb8,0x74,0x08,0x9c,0x00,0xff .byte 0xd0,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x89,0xc7,0x85,0xff,0x58,0x0f,0x84,0x13 block4_end block5_start .byte 0x01,0x00,0x00,0x56,0x8d,0x47,0x01,0xff,0x75,0xc4,0x50,0xb8,0xa8,0x7b,0xed,0x00 .byte 0xff,0xd0,0xc6,0x07,0xa5,0x83,0xc4,0x0c,0x8b,0x55,0xc0,0x89,0x55,0xdc,0xe9,0xc3 .byte 0x00,0x00,0x00,0x83,0x7d,0x0c,0x01,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x0f,0x85 .byte 0xe2,0x00,0x00,0x00,0x6a,0x01,0xb8,0x74,0x08,0x9c,0x00,0xff,0xd0,0xc7,0x45,0xe0 .byte 0x00,0x00,0x00,0x00,0x89,0xc7,0x85,0xff,0x58,0x0f,0x84,0xc7,0x00,0x00,0x00,0x8b .byte 0x83,0xd8,0xf1,0xff,0xff,0x8b,0x00,0xc6,0x00,0x00,0xc6,0x07,0xab,0xeb,0x75,0x83 .byte 0x7d,0x0c,0x01,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x0f,0x85,0xa6,0x00,0x00,0x00 .byte 0x6a,0x05,0xb8,0x74,0x08,0x9c,0x00,0xff,0xd0,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00 .byte 0x89,0xc7,0x85,0xff,0x58,0x0f,0x84,0x8b,0x00,0x00,0x00,0xc6,0x07,0xad,0xc7,0x47 .byte 0x01,0x12,0x07,0x00,0x00,0xc7,0x45,0xdc,0x05,0x00,0x00,0x00,0xeb,0x48,0x83,0x7d .byte 0x0c,0x05,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x75,0x6b,0x8b,0x06,0x85,0xc0,0x74 .byte 0x65,0x50,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x6a,0x01,0xb8,0x74,0x08,0x9c,0x00 .byte 0xff,0xd0,0x5e,0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x89,0xc7,0x85,0xff,0x58,0x74 .byte 0x45,0xc6,0x07,0xa3,0xc7,0x45,0xdc,0x01,0x00,0x00,0x00,0xeb,0x09,0xc7,0x45,0xe0 .byte 0x00,0x00,0x00,0x00,0xeb,0x30,0x8b,0x83,0xd8,0xf1,0xff,0xff,0x8b,0x30,0xe8,0xac .byte 0xfc,0xff,0xff,0x89,0x46,0x1c,0xb8,0x74,0x08,0x9c,0x00,0x6a,0x08,0xff,0xd0,0x59 .byte 0xc7,0x45,0xe0,0x00,0x00,0x00,0x00,0x85,0xc0,0x74,0x0b,0x89,0x78,0x04,0x8b,0x7d .byte 0xdc,0x89,0x45,0xe0,0x89,0x38,0x8b,0x45,0xe0,0x8d,0x65,0xf4,0x5b,0x5e,0x5f,0x5d .byte 0xc3,0x55,0x31,0xc0,0x89,0xe5,0x57,0x56,0x83,0xec,0x10,0x83,0x7d,0x10,0x00,0x0f .byte 0xb7,0x75,0x14,0x0f,0x84,0x9a,0x00,0x00,0x00,0x66,0x83,0xfe,0x07,0x0f,0x86,0x90 .byte 0x00,0x00,0x00,0xc6,0x45,0xf0,0x00,0x89,0xf1,0x89,0xf0,0xc6,0x45,0xf1,0x11,0x81 .byte 0xe1,0xff,0x00,0x00,0x00,0xc1,0xe8,0x08,0xc1,0xe1,0x08,0x09,0xc1,0x8b,0x45,0x08 .byte 0x89,0x45,0xe8,0x8b,0x45,0x0c,0x89,0x45,0xec,0x31,0xc0,0xf7,0xc6,0x01,0x00,0x00 .byte 0x00,0x74,0x08,0x8b,0x55,0x10,0x0f,0xb6,0x44,0x32,0xff,0x88,0x45,0xf2,0x8d,0x7d .byte 0xe8,0x31,0xd2,0xc6,0x45,0xf3,0x00,0x0f,0xb7,0x04,0x57,0x42,0x01,0xc1,0x83,0xfa .byte 0x05,0x7e,0xf4,0x8b,0x45,0x10,0x31,0xd2,0x4e,0x66,0xc7,0x40,0x06,0x00,0x00,0x89 .byte 0xc7,0x39,0xf2,0x7d,0x0d,0x0f,0xb7,0x07,0x83,0xc2,0x02,0x83,0xc7,0x02,0x01,0xc1 .byte 0xeb,0xef,0x89,0xca,0x0f,0xb7,0xc1,0xc1,0xea,0x10,0x8d,0x0c,0x02,0x89,0xc8,0x8b .byte 0x55,0x10,0xc1,0xe8,0x10,0x8d,0x04,0x01,0xf7,0xd0,0x66,0x89,0x42,0x06,0xb8,0x01 .byte 0x00,0x00,0x00,0x83,0xc4,0x10,0x5e,0x5f,0x5d,0xc3,0x55,0x31,0xc0,0x89,0xe5,0x57 .byte 0x56,0x57,0x57,0x8b,0x0d,0x3c,0xd6,0xff,0x00,0x8b,0x7d,0x0c,0x85,0xc9,0x74,0x46 block5_end block6_start .byte 0xeb,0x04,0x89,0xc8,0xeb,0x40,0x31,0xf6,0x39,0xfe,0x73,0x1e,0x8b,0x45,0x10,0x01 .byte 0xc8,0x89,0x45,0xf4,0x8b,0x55,0xf4,0x8b,0x45,0x08,0x0f,0xb6,0x12,0x38,0x14,0x30 .byte 0x75,0x08,0xff,0x45,0xf4,0x46,0x39,0xfe,0x72,0xea,0x39,0xfe,0x74,0xd4,0x8b,0x09 .byte 0x85,0xc9,0x0f,0x95,0xc0,0x31,0xd2,0x81,0xf9,0x3c,0xd6,0xff,0x00,0x0f,0x95,0xc2 .byte 0x85,0xd0,0x75,0xc2,0x31,0xc0,0x59,0x5e,0x5e,0x5f,0x5d,0xc3,0x55,0xb8,0x18,0x98 .byte 0x1c,0x01,0x89,0xe5,0x5d,0xc3,0x55,0x89,0xe5,0x57,0x56,0x53,0x83,0xec,0x14,0x8b .byte 0x45,0x0c,0x6a,0x10,0x6a,0x04,0x89,0x45,0xf0,0x8d,0x45,0xf0,0xe8,0x81,0x08,0x00 .byte 0x00,0x81,0xc3,0xdb,0x08,0x00,0x00,0x50,0xc6,0x45,0xea,0x00,0xc6,0x45,0xeb,0x01 .byte 0xe8,0x65,0xff,0xff,0xff,0x89,0x45,0xec,0x83,0xc4,0x0c,0x85,0xc0,0x0f,0x84,0xc8 .byte 0x00,0x00,0x00,0xff,0x75,0x08,0xb8,0xdc,0x5b,0x50,0x00,0xff,0xd0,0x0f,0xbf,0x75 .byte 0xf2,0xe8,0xa6,0xff,0xff,0xff,0x5a,0x8b,0x00,0x89,0xc2,0x81,0xc2,0x90,0x01,0x00 .byte 0x00,0x89,0x55,0xe0,0x0f,0x84,0xa1,0x00,0x00,0x00,0x8b,0x90,0x90,0x01,0x00,0x00 .byte 0x89,0xb0,0x90,0x01,0x00,0x00,0xb8,0x20,0x26,0x82,0x00,0xff,0x75,0xf0,0x89,0x55 .byte 0xe4,0xff,0xd0,0x89,0x04,0x24,0xb8,0xcc,0x7e,0x51,0x00,0xff,0xd0,0x89,0xc7,0x85 .byte 0xff,0x58,0x74,0x69,0x6a,0x10,0xb8,0x74,0x08,0x9c,0x00,0xff,0xd0,0x89,0xc6,0x85 .byte 0xf6,0x58,0x74,0x59,0x56,0xb8,0xb0,0x7b,0xd5,0x00,0xff,0x75,0x10,0xff,0xd0,0x5a .byte 0x85,0xc0,0x59,0x74,0x3f,0x57,0xb8,0x3c,0x74,0x50,0x00,0xff,0x36,0xff,0xd0,0x5a .byte 0x85,0xc0,0x59,0x75,0x07,0xe8,0x61,0xfa,0xff,0xff,0xeb,0x28,0x6a,0x08,0x83,0xc0 .byte 0x24,0x50,0xb8,0x6c,0x61,0x50,0x00,0xff,0x75,0x08,0xff,0xd0,0x8b,0x55,0xec,0x8b .byte 0x42,0x04,0xff,0x75,0x08,0x50,0xff,0x50,0x0c,0xc6,0x45,0xeb,0x00,0x83,0xc4,0x14 .byte 0xc6,0x45,0xea,0x01,0x56,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x58,0x80,0x7d,0xeb .byte 0x00,0x8b,0x55,0xe4,0x8b,0x45,0xe0,0x89,0x10,0x74,0x0b,0xff,0x75,0x08,0xb8,0xb4 .byte 0x0f,0x9c,0x00,0xff,0xd0,0x58,0x0f,0xb6,0x45,0xea,0x8d,0x65,0xf4,0x5b,0x5e,0x5f .byte 0x5d,0xc3,0x55,0x89,0xe5,0x57,0x56,0x53,0x56,0x8b,0x45,0x14,0xe8,0x71,0x07,0x00 .byte 0x00,0x81,0xc3,0xcb,0x07,0x00,0x00,0x68,0x0e,0x06,0x00,0x00,0x89,0x45,0xf0,0xb8 .byte 0xc8,0x0b,0x9c,0x00,0x0f,0xb7,0x7d,0x1c,0xff,0xd0,0x59,0x89,0xc6,0x31,0xc0,0x85 .byte 0xf6,0x74,0x52,0x8b,0x4e,0x3c,0x89,0xfa,0x8b,0x45,0x08,0xc1,0xea,0x08,0x89,0x01 .byte 0x8b,0x45,0x0c,0xc6,0x41,0x08,0x00,0x89,0x41,0x04,0x0f,0xb6,0x45,0xf0,0x88,0x41 .byte 0x09,0x89,0xf8,0x25,0xff,0x00,0x00,0x00,0x83,0x46,0x34,0x0c,0xc1,0xe0,0x08,0x09 .byte 0xd0,0x66,0x89,0x41,0x0a,0xb8,0xa8,0x7b,0xed,0x00,0x57,0xff,0x75,0x18,0xff,0x76 .byte 0x34,0xff,0xd0,0x01,0x7e,0x34,0xff,0x75,0x0c,0xff,0x75,0x10,0x56,0xe8,0x64,0xfe block6_end block7_start .byte 0xff,0xff,0x0f,0xb6,0xc0,0x8d,0x65,0xf4,0x5b,0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5 .byte 0x57,0x56,0x53,0x50,0x50,0x8b,0x45,0x08,0xe8,0xe5,0x06,0x00,0x00,0x81,0xc3,0x3f .byte 0x07,0x00,0x00,0x8b,0x55,0x10,0x83,0xc0,0x14,0x89,0x45,0xec,0x8b,0x83,0xd8,0xf1 .byte 0xff,0xff,0x8b,0x00,0x80,0x78,0x20,0x00,0x74,0x15,0xff,0x75,0x14,0x8d,0x45,0xf0 .byte 0x50,0x52,0xe8,0x01,0x06,0x00,0x00,0x89,0x45,0x14,0x83,0xc4,0x0c,0xeb,0x03,0x89 .byte 0x55,0xf0,0x31,0xd2,0x83,0x7d,0x14,0x00,0x0f,0x84,0x82,0x00,0x00,0x00,0x8b,0x7d .byte 0x14,0xb8,0x74,0x08,0x9c,0x00,0x83,0xc7,0x08,0x57,0xff,0xd0,0x31,0xd2,0x89,0xc6 .byte 0x85,0xf6,0x58,0x74,0x6b,0x8b,0x55,0xec,0x89,0xf9,0x0f,0xb7,0x42,0x02,0x66,0x89 .byte 0x06,0x0f,0xb7,0x02,0x0f,0xb6,0xd5,0x66,0x89,0x46,0x02,0x89,0xf8,0x25,0xff,0x00 .byte 0x00,0x00,0xc1,0xe0,0x08,0x0f,0xb7,0xff,0x09,0xd0,0x66,0x89,0x46,0x04,0x8d,0x46 .byte 0x08,0xff,0x75,0x14,0xff,0x75,0xf0,0x50,0xb8,0xa8,0x7b,0xed,0x00,0xff,0xd0,0x57 .byte 0x8b,0x45,0x08,0x56,0xff,0x70,0x0c,0xff,0x70,0x10,0xe8,0x82,0xfc,0xff,0xff,0x83 .byte 0xc4,0x1c,0x31,0xd2,0x84,0xc0,0x74,0x18,0x57,0x8b,0x55,0x08,0x56,0x6a,0x11,0xff .byte 0x75,0x0c,0xff,0x72,0x0c,0xff,0x72,0x10,0xe8,0xa5,0xfe,0xff,0xff,0x0f,0xb6,0xd0 .byte 0x8d,0x65,0xf4,0x89,0xd0,0x5b,0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5,0x57,0x56,0x53 .byte 0x83,0xec,0x0c,0x8b,0x15,0xf8,0x8f,0x1c,0x01,0xe8,0x04,0x06,0x00,0x00,0x81,0xc3 .byte 0x5e,0x06,0x00,0x00,0x8b,0xb3,0xd4,0xf1,0xff,0xff,0x8b,0x8b,0xdc,0xf1,0xff,0xff .byte 0xd1,0xea,0x8b,0x06,0x30,0x14,0x01,0x40,0x83,0xe0,0x0f,0x89,0x06,0x8b,0x45,0x08 .byte 0x66,0x83,0x78,0x0c,0x08,0x0f,0x85,0x23,0x01,0x00,0x00,0x83,0x7d,0x0c,0x00,0x0f .byte 0x84,0x19,0x01,0x00,0x00,0x83,0xc0,0x0e,0x89,0x45,0xf0,0x80,0x78,0x09,0x11,0x0f .byte 0x85,0x09,0x01,0x00,0x00,0x50,0x8b,0x55,0x08,0x83,0xc2,0x22,0x89,0x55,0xec,0xe8 .byte 0xf0,0x02,0x00,0x00,0x5e,0x84,0xc0,0x0f,0x84,0xf1,0x00,0x00,0x00,0x8b,0x4d,0xec .byte 0x0f,0xb7,0x51,0x04,0x0f,0xb6,0xc2,0xc1,0xe0,0x08,0xc1,0xea,0x08,0x09,0xd0,0x8d .byte 0x50,0xf8,0x83,0xfa,0x0f,0x0f,0x8e,0xd3,0x00,0x00,0x00,0x8b,0x83,0xd8,0xf1,0xff .byte 0xff,0x8b,0x75,0x08,0x89,0x45,0xe8,0x8b,0x00,0x83,0xc6,0x2a,0x80,0x78,0x20,0x00 .byte 0x74,0x13,0x52,0x56,0xe8,0x27,0x04,0x00,0x00,0x89,0xc2,0x85,0xd2,0x58,0x59,0x0f .byte 0x84,0xa9,0x00,0x00,0x00,0x52,0x56,0xe8,0x2b,0xf8,0xff,0xff,0x5e,0x89,0xc7,0x85 .byte 0xff,0x58,0x0f,0x84,0x96,0x00,0x00,0x00,0xff,0x75,0x0c,0xff,0x75,0x08,0xe8,0x95 .byte 0x00,0x00,0x00,0x5a,0x83,0xf8,0xff,0x59,0x75,0x07,0xe8,0xbc,0xf7,0xff,0xff,0xeb .byte 0x69,0xff,0x37,0xff,0x77,0x04,0x50,0xff,0x75,0xf0,0xe8,0x2e,0xfe,0xff,0xff,0x83 .byte 0xc4,0x10,0x84,0xc0,0x74,0x54,0x8b,0x55,0xe8,0x8b,0x02,0x80,0x38,0x00,0x74,0x36 block7_end block8_start .byte 0x80,0x78,0x20,0x00,0x75,0x44,0xc6,0x40,0x20,0x01,0x8b,0x4d,0xe8,0x8b,0x11,0x8b .byte 0x4d,0xf0,0x8b,0x41,0x0c,0x89,0x42,0x04,0x8b,0x41,0x10,0x8b,0x4d,0x08,0x89,0x42 .byte 0x08,0x0f,0xb7,0x41,0x22,0x8b,0x4d,0xec,0x66,0x89,0x42,0x0c,0x0f,0xb7,0x41,0x02 .byte 0x66,0x89,0x42,0x0e,0xeb,0x14,0xc6,0x40,0x20,0x00,0x8b,0x55,0xe8,0x8b,0x02,0xff .byte 0x70,0x10,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x58,0xff,0x77,0x04,0xbe,0x84,0x4c .byte 0xec,0x00,0xff,0xd6,0x57,0xff,0xd6,0x8b,0x4d,0xf0,0xc6,0x41,0x08,0x00,0x8d,0x65 .byte 0xf4,0x5b,0x5e,0x5f,0x5d,0xc3,0x00,0x00,0x55,0x83,0xc8,0xff,0x89,0xe5,0x8b,0x55 .byte 0x0c,0x85,0xd2,0x74,0x0a,0x8b,0x52,0x14,0x85,0xd2,0x74,0x03,0x8b,0x42,0x28,0x5d .byte 0xc3,0x00,0x00,0x00,0x55,0x89,0xe5,0x57,0xb8,0x1c,0x7a,0xed,0x00,0x56,0xbf,0xfd .byte 0xff,0xff,0xff,0x52,0x52,0xff,0x35,0xf8,0x8f,0x1c,0x01,0xff,0xd0,0x58,0xb8,0xc8 .byte 0x79,0xed,0x00,0x31,0xf6,0xff,0xd0,0xc7,0x45,0xf0,0x00,0x00,0x00,0x00,0x89,0x45 .byte 0xf4,0x8b,0x55,0xf0,0x8d,0x04,0x17,0x83,0xf8,0x0f,0x77,0x13,0x8b,0x4d,0x08,0x8b .byte 0x45,0xf4,0x8d,0x14,0x0f,0x89,0xf1,0xd3,0xe8,0x8b,0x4d,0xf0,0x30,0x04,0x0a,0xff .byte 0x45,0xf0,0x83,0xc6,0x08,0x83,0x7d,0xf0,0x03,0x7e,0xd6,0x47,0x83,0xff,0x0f,0x7e .byte 0xbd,0x8d,0x65,0xf8,0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5,0x57,0x56,0x83,0xec,0x10 .byte 0xbe,0x24,0x72,0xe3,0x00,0x6a,0x00,0x6a,0x10,0xff,0x75,0x08,0xc7,0x45,0xf4,0x00 .byte 0x00,0x00,0x00,0xff,0xd6,0x6a,0x00,0x6a,0x10,0xff,0x75,0x0c,0x89,0x45,0xf0,0xff .byte 0xd6,0x89,0x45,0xec,0xb8,0xfc,0x6c,0xe3,0x00,0xff,0xd0,0x6a,0x00,0x6a,0x10,0x68 .byte 0xe8,0xec,0xf4,0x00,0x89,0xc7,0xff,0xd6,0x83,0xc4,0x24,0x89,0x45,0xe8,0xb8,0xe0 .byte 0x83,0xe3,0x00,0xff,0xd0,0x83,0x7d,0xf0,0x00,0x89,0xc6,0x0f,0x94,0xc2,0x83,0x7d .byte 0xec,0x00,0x0f,0x94,0xc0,0x09,0xd0,0xa8,0x01,0x75,0x7a,0x85,0xff,0x0f,0x94,0xc0 .byte 0x83,0x7d,0xe8,0x00,0x0f,0x94,0xc2,0x09,0xd0,0xa8,0x01,0x75,0x68,0x85,0xf6,0x74 .byte 0x71,0x56,0xb8,0xec,0x86,0xe6,0x00,0xff,0x75,0xe8,0xff,0x75,0xec,0xff,0x75,0xf0 .byte 0x57,0xff,0xd0,0x83,0xc4,0x14,0x85,0xc0,0x74,0x4b,0x6a,0x10,0xb8,0x74,0x08,0x9c .byte 0x00,0xff,0xd0,0x5a,0x85,0xc0,0x89,0x45,0xf4,0x74,0x3a,0x57,0xb8,0xf8,0x6b,0xe3 .byte 0x00,0xff,0xd0,0xba,0x10,0x00,0x00,0x00,0x83,0xc0,0x07,0xc1,0xf8,0x03,0x29,0xc2 .byte 0xb8,0x10,0x73,0xe3,0x00,0x03,0x55,0xf4,0x52,0x57,0xff,0xd0,0x83,0xc4,0x0c,0x85 .byte 0xc0,0x75,0x12,0xff,0x75,0xf4,0xb8,0x84,0x4c,0xec,0x00,0xff,0xd0,0x58,0xc7,0x45 .byte 0xf4,0x00,0x00,0x00,0x00,0x85,0xf6,0x74,0x09,0x56,0xb8,0x54,0x84,0xe3,0x00,0xff .byte 0xd0,0x58,0x83,0x7d,0xe8,0x00,0x74,0x0b,0xff,0x75,0xe8,0xb8,0x98,0x6c,0xe3,0x00 .byte 0xff,0xd0,0x58,0x85,0xff,0x74,0x09,0x57,0xb8,0x98,0x6c,0xe3,0x00,0xff,0xd0,0x5f block8_end block9_start .byte 0x83,0x7d,0xec,0x00,0x74,0x0b,0xff,0x75,0xec,0xb8,0x98,0x6c,0xe3,0x00,0xff,0xd0 .byte 0x5e,0x83,0x7d,0xf0,0x00,0x74,0x0b,0xff,0x75,0xf0,0xb8,0x98,0x6c,0xe3,0x00,0xff .byte 0xd0,0x59,0x8b,0x45,0xf4,0x8d,0x65,0xf8,0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5,0x57 .byte 0x8b,0x7d,0x08,0x56,0x8b,0x75,0x0c,0x53,0xe8,0xe5,0x02,0x00,0x00,0x81,0xc3,0x3f .byte 0x03,0x00,0x00,0x56,0x57,0xe8,0xfa,0x00,0x00,0x00,0x0f,0xb7,0x14,0x37,0x01,0xd0 .byte 0x66,0x3d,0xef,0xbe,0x5a,0x0f,0x94,0xc0,0x0f,0xb6,0xc0,0x59,0x8d,0x65,0xf4,0x5b .byte 0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5,0x57,0x56,0x53,0x51,0x51,0x8b,0x75,0x08,0xe8 .byte 0xae,0x02,0x00,0x00,0x81,0xc3,0x08,0x03,0x00,0x00,0x8b,0xbb,0xd8,0xf1,0xff,0xff .byte 0x8d,0x46,0x14,0x89,0x45,0xf0,0x8b,0x07,0x80,0x38,0x00,0x74,0x4e,0xe8,0x4d,0xf5 .byte 0xff,0xff,0x8b,0x17,0x2b,0x42,0x1c,0x3d,0x2c,0x01,0x00,0x00,0x76,0x0e,0xc6,0x42 .byte 0x20,0x00,0xc6,0x02,0x00,0x31,0xd2,0xe9,0x8b,0x00,0x00,0x00,0x8b,0x46,0x0c,0x31 .byte 0xc9,0x39,0x42,0x04,0x75,0x21,0x8b,0x46,0x10,0x39,0x42,0x08,0x75,0x19,0x0f,0xb7 .byte 0x46,0x14,0x66,0x39,0x42,0x0c,0x75,0x0f,0x8b,0x75,0xf0,0x0f,0xb7,0x46,0x02,0x66 .byte 0x39,0x42,0x0e,0x75,0x02,0xb1,0x01,0x89,0xca,0xeb,0x5c,0x8b,0x55,0xf0,0x8d,0x7e .byte 0x1c,0x0f,0xb7,0x42,0x04,0x0f,0xb6,0xc8,0xc1,0xe1,0x08,0xc1,0xe8,0x08,0x09,0xc1 .byte 0x8d,0x41,0xf8,0x89,0x45,0xec,0x80,0x7e,0x1c,0xa8,0x0f,0x95,0xc2,0x83,0xf8,0x15 .byte 0x0f,0x95,0xc0,0x09,0xd0,0x31,0xd2,0xa8,0x01,0x75,0x2c,0x8d,0x71,0xf4,0x56,0x57 .byte 0xe8,0x17,0xff,0xff,0xff,0x59,0x5a,0x31,0xd2,0x84,0xc0,0x74,0x1a,0x56,0x57,0xe8 .byte 0x65,0x00,0x00,0x00,0x5e,0x0f,0xb7,0xc0,0x5a,0x8b,0x55,0xec,0x66,0x39,0x44,0x17 .byte 0xfe,0x0f,0x94,0xc0,0x0f,0xb6,0xd0,0x8d,0x65,0xf4,0x89,0xd0,0x5b,0x5e,0x5f,0x5d .byte 0xc3,0x00,0x00,0x00,0x55,0x31,0xc9,0x89,0xe5,0x57,0x31,0xd2,0x56,0x83,0xec,0x10 .byte 0x8b,0x7d,0x0c,0x8d,0x77,0xff,0x39,0xf1,0x7d,0x13,0x8b,0x45,0x08,0x0f,0xb7,0x04 .byte 0x10,0x83,0xc2,0x02,0x01,0xc1,0x0f,0xb7,0xc9,0x39,0xf2,0xeb,0xeb,0x83,0xe7,0x01 .byte 0x74,0x0e,0x8b,0x75,0x08,0x66,0x0f,0xb6,0x04,0x16,0x8d,0x04,0x01,0x0f,0xb7,0xc8 .byte 0x83,0xc4,0x10,0x89,0xc8,0x5e,0x5f,0x5d,0xc3,0x55,0x89,0xe5,0x8b,0x4d,0x0c,0x57 .byte 0x31,0xff,0x56,0x31,0xf6,0x39,0xce,0x7d,0x20,0x89,0xf8,0x89,0xfa,0xc1,0xea,0x07 .byte 0xc1,0xe8,0x08,0x31,0xd0,0x8b,0x55,0x08,0xc1,0xe7,0x08,0x32,0x04,0x32,0x46,0x0f .byte 0xb6,0xc0,0x09,0xf8,0x0f,0xb7,0xf8,0xeb,0xdc,0x31,0xf6,0x31,0xd2,0x89,0xf1,0x89 .byte 0xf8,0xd3,0xf8,0x89,0xf1,0x83,0xe0,0x01,0x83,0xf1,0x0f,0xd3,0xe0,0x46,0x09,0xd0 .byte 0x83,0xfe,0x0f,0x0f,0xb7,0xd0,0x7e,0xe5,0x5e,0x89,0xd0,0x5f,0x5d,0xc3,0x00,0x00 .byte 0x55,0x31,0xc0,0x89,0xe5,0x57,0x8b,0x7d,0x08,0x56,0x8b,0x75,0x0c,0x53,0xe8,0x2f block9_end block10_start .byte 0x01,0x00,0x00,0x81,0xc3,0x89,0x01,0x00,0x00,0x83,0xfe,0x1f,0x7e,0x62,0x8d,0x46 .byte 0xf0,0x50,0x8d,0x47,0x10,0x50,0x50,0x8b,0x83,0xd8,0xf1,0xff,0xff,0x57,0x8b,0x00 .byte 0xff,0x70,0x10,0xb8,0xfc,0xa5,0x17,0x00,0x6a,0x00,0xff,0xd0,0x83,0xc4,0x18,0x31 .byte 0xc0,0x66,0x81,0x7f,0x10,0x0b,0xeb,0x75,0x37,0xeb,0x04,0x31,0xc0,0xeb,0x31,0x0f .byte 0xb6,0x54,0x37,0xff,0x89,0xf1,0x0f,0xb6,0xc2,0x29,0xc1,0x89,0xc8,0x39,0xf0,0x7d .byte 0x08,0x38,0x14,0x07,0x75,0xe5,0x40,0xeb,0xf4,0x0f,0xb6,0xc2,0x29,0xc6,0x83,0xee .byte 0x12,0x56,0x8d,0x47,0x12,0x50,0xb8,0xa8,0x7b,0xed,0x00,0x57,0xff,0xd0,0x89,0xf0 .byte 0x8d,0x65,0xf4,0x5b,0x5e,0x5f,0x5d,0xc3,0x55,0xb2,0x10,0x89,0xe5,0x57,0x56,0x53 .byte 0x83,0xec,0x18,0x8b,0x7d,0x10,0xe8,0xa7,0x00,0x00,0x00,0x81,0xc3,0x01,0x01,0x00 .byte 0x00,0x8d,0x47,0x02,0x83,0xe0,0x0f,0x28,0xc2,0x0f,0xb6,0xf2,0x8d,0x04,0x37,0x89 .byte 0x45,0xe0,0x83,0xc0,0x12,0x50,0x89,0x45,0xdc,0xb8,0x74,0x08,0x9c,0x00,0xff,0xd0 .byte 0x8b,0x55,0x0c,0x89,0x02,0x5a,0x31,0xd2,0x85,0xc0,0x74,0x6c,0x50,0xe8,0xe2,0xfb .byte 0xff,0xff,0x8b,0x55,0x0c,0x8b,0x02,0x66,0xc7,0x40,0x10,0x0b,0xeb,0x8d,0x44,0x38 .byte 0x12,0x56,0x56,0xbe,0xa8,0x7b,0xed,0x00,0x50,0xb8,0x38,0xc3,0xeb,0x00,0xff,0xd0 .byte 0x57,0x8b,0x55,0x0c,0x8d,0x7d,0xe4,0xff,0x75,0x08,0x8b,0x02,0x83,0xc0,0x12,0x50 .byte 0xff,0xd6,0x6a,0x10,0x8b,0x45,0x0c,0xff,0x30,0x57,0xff,0xd6,0x8b,0x45,0xe0,0x83 .byte 0xc4,0x28,0x8b,0x55,0x0c,0x83,0xc0,0x02,0x50,0x8b,0x02,0x83,0xc0,0x10,0x50,0x50 .byte 0x8b,0x83,0xd8,0xf1,0xff,0xff,0x57,0x8b,0x00,0xff,0x70,0x10,0xb8,0xfc,0xa5,0x17 .byte 0x00,0x6a,0x01,0xff,0xd0,0x8b,0x55,0xdc,0x8d,0x65,0xf4,0x89,0xd0,0x5b,0x5e,0x5f .byte 0x5d,0xc3,0x8b,0x1c,0x24,0xc3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00,0xe9,0xf3,0xff,0xff,0xa1,0xf5,0xff,0xff,0x62,0xf5,0xff,0xff .byte 0xa1,0xf5,0xff,0xff,0x86,0xf4,0xff,0xff,0xa1,0xf5,0xff,0xff,0x32,0xf4,0xff,0xff .byte 0xa1,0xf5,0xff,0xff,0xc2,0xf2,0xff,0xff,0xa1,0xf5,0xff,0xff,0xe7,0xf4,0xff,0xff .byte 0xa1,0xf5,0xff,0xff,0x23,0xf5,0xff,0xff,0x00,0x00,0x00,0x00 block10_end block11_start .byte 0x90 block11_end block12_start .byte 0x90 block12_end block13_start .byte 0x90 block13_end
{ "language": "Assembly" }
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info < %s | FileCheck %s --check-prefix=DEFAULT # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex=false < %s | FileCheck %s --check-prefix=DEFAULT # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex < %s | FileCheck %s --check-prefix=HEX # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex=true < %s | FileCheck %s --check-prefix=HEX .intel_syntax noprefix shl eax, 8 shl eax, 0x8 shl eax, 8h shl eax, 1000b # DEFAULT: Instruction Info: # DEFAULT-NEXT: [1]: #uOps # DEFAULT-NEXT: [2]: Latency # DEFAULT-NEXT: [3]: RThroughput # DEFAULT-NEXT: [4]: MayLoad # DEFAULT-NEXT: [5]: MayStore # DEFAULT-NEXT: [6]: HasSideEffects (U) # HEX: Instruction Info: # HEX-NEXT: [1]: #uOps # HEX-NEXT: [2]: Latency # HEX-NEXT: [3]: RThroughput # HEX-NEXT: [4]: MayLoad # HEX-NEXT: [5]: MayStore # HEX-NEXT: [6]: HasSideEffects (U) # DEFAULT: [1] [2] [3] [4] [5] [6] Instructions: # DEFAULT-NEXT: 1 1 0.50 shl eax, 8 # DEFAULT-NEXT: 1 1 0.50 shl eax, 8 # DEFAULT-NEXT: 1 1 0.50 shl eax, 8 # DEFAULT-NEXT: 1 1 0.50 shl eax, 8 # HEX: [1] [2] [3] [4] [5] [6] Instructions: # HEX-NEXT: 1 1 0.50 shl eax, 0x8 # HEX-NEXT: 1 1 0.50 shl eax, 0x8 # HEX-NEXT: 1 1 0.50 shl eax, 0x8 # HEX-NEXT: 1 1 0.50 shl eax, 0x8
{ "language": "Assembly" }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. .macro NESTED_ENTRY Name, Section, Handler LEAF_ENTRY \Name, \Section .ifnc \Handler, NoHandler #if defined(__APPLE__) .cfi_personality 0x9b, C_FUNC(\Handler) // 0x9b == DW_EH_PE_indirect | DW_EH_PE_pcrel | DW_EH_PE_sdata4 #else .cfi_personality 0x1b, C_FUNC(\Handler) // 0x1b == DW_EH_PE_pcrel | DW_EH_PE_sdata4 #endif .endif .endm .macro NESTED_END Name, Section LEAF_END \Name, \Section #if defined(__APPLE__) .set LOCAL_LABEL(\Name\()_Size), . - C_FUNC(\Name) .section __LD,__compact_unwind,regular,debug .quad C_FUNC(\Name) .long LOCAL_LABEL(\Name\()_Size) .long 0x04000000 # DWARF .quad 0 .quad 0 #endif .endm .macro PATCH_LABEL Name .global C_FUNC(\Name) C_FUNC(\Name): .endm .macro LEAF_ENTRY Name, Section .global C_FUNC(\Name) #if defined(__APPLE__) .text #else .type \Name, %function #endif C_FUNC(\Name): .cfi_startproc .endm .macro LEAF_END Name, Section #if !defined(__APPLE__) .size \Name, .-\Name #endif .cfi_endproc .endm .macro LEAF_END_MARKED Name, Section C_FUNC(\Name\()_End): .global C_FUNC(\Name\()_End) LEAF_END \Name, \Section .endm .macro NOP_6_BYTE .byte 0x66 .byte 0x0F .byte 0x1F .byte 0x44 .byte 0x00 .byte 0x00 .endm .macro NOP_3_BYTE nop dword ptr [rax] .endm .macro NOP_2_BYTE xchg ax, ax .endm .macro REPRET .byte 0xf3 .byte 0xc3 .endm .macro TAILJMP_RAX .byte 0x48 .byte 0xFF .byte 0xE0 .endm .macro PREPARE_EXTERNAL_VAR Name, HelperReg mov \HelperReg, [rip + C_FUNC(\Name)@GOTPCREL] .endm .macro push_nonvol_reg Register push \Register .cfi_adjust_cfa_offset 8 .cfi_rel_offset \Register, 0 .endm .macro pop_nonvol_reg Register pop \Register .cfi_adjust_cfa_offset -8 .cfi_restore \Register .endm .macro alloc_stack Size .att_syntax lea -(\Size)(%rsp), %rsp .intel_syntax noprefix .cfi_adjust_cfa_offset \Size .endm .macro free_stack Size .att_syntax lea \Size(%rsp), %rsp .intel_syntax noprefix .cfi_adjust_cfa_offset -\Size .endm .macro set_cfa_register Reg, Offset .cfi_def_cfa_register \Reg .cfi_def_cfa_offset \Offset .endm .macro save_reg_postrsp Reg, Offset __Offset = \Offset mov qword ptr [rsp + __Offset], \Reg .cfi_rel_offset \Reg, __Offset .endm .macro restore_reg Reg, Offset __Offset = \Offset mov \Reg, [rsp + __Offset] .cfi_restore \Reg .endm .macro save_xmm128_postrsp Reg, Offset __Offset = \Offset movdqa xmmword ptr [rsp + __Offset], \Reg // NOTE: We cannot use ".cfi_rel_offset \Reg, __Offset" here, // the xmm registers are not supported by the libunwind .endm .macro restore_xmm128 Reg, ofs __Offset = \ofs movdqa \Reg, xmmword ptr [rsp + __Offset] // NOTE: We cannot use ".cfi_restore \Reg" here, // the xmm registers are not supported by the libunwind .endm .macro PUSH_CALLEE_SAVED_REGISTERS push_register rbp push_register rbx push_register r15 push_register r14 push_register r13 push_register r12 .endm .macro POP_CALLEE_SAVED_REGISTERS pop_nonvol_reg r12 pop_nonvol_reg r13 pop_nonvol_reg r14 pop_nonvol_reg r15 pop_nonvol_reg rbx pop_nonvol_reg rbp .endm .macro push_register Reg push \Reg .cfi_adjust_cfa_offset 8 .endm .macro push_eflags pushfq .cfi_adjust_cfa_offset 8 .endm .macro push_argument_register Reg push_register \Reg .endm .macro PUSH_ARGUMENT_REGISTERS push_argument_register r9 push_argument_register r8 push_argument_register rcx push_argument_register rdx push_argument_register rsi push_argument_register rdi .endm .macro pop_register Reg pop \Reg .cfi_adjust_cfa_offset -8 .endm .macro pop_eflags popfq .cfi_adjust_cfa_offset -8 .endm .macro pop_argument_register Reg pop_register \Reg .endm .macro POP_ARGUMENT_REGISTERS pop_argument_register rdi pop_argument_register rsi pop_argument_register rdx pop_argument_register rcx pop_argument_register r8 pop_argument_register r9 .endm .macro SAVE_FLOAT_ARGUMENT_REGISTERS ofs save_xmm128_postrsp xmm0, \ofs save_xmm128_postrsp xmm1, \ofs + 0x10 save_xmm128_postrsp xmm2, \ofs + 0x20 save_xmm128_postrsp xmm3, \ofs + 0x30 save_xmm128_postrsp xmm4, \ofs + 0x40 save_xmm128_postrsp xmm5, \ofs + 0x50 save_xmm128_postrsp xmm6, \ofs + 0x60 save_xmm128_postrsp xmm7, \ofs + 0x70 .endm .macro RESTORE_FLOAT_ARGUMENT_REGISTERS ofs restore_xmm128 xmm0, \ofs restore_xmm128 xmm1, \ofs + 0x10 restore_xmm128 xmm2, \ofs + 0x20 restore_xmm128 xmm3, \ofs + 0x30 restore_xmm128 xmm4, \ofs + 0x40 restore_xmm128 xmm5, \ofs + 0x50 restore_xmm128 xmm6, \ofs + 0x60 restore_xmm128 xmm7, \ofs + 0x70 .endm // Stack layout: // // (stack parameters) // ... // return address // CalleeSavedRegisters::rbp // CalleeSavedRegisters::rbx // CalleeSavedRegisters::r15 // CalleeSavedRegisters::r14 // CalleeSavedRegisters::r13 // CalleeSavedRegisters::r12 // ArgumentRegisters::r9 // ArgumentRegisters::r8 // ArgumentRegisters::rcx // ArgumentRegisters::rdx // ArgumentRegisters::rsi // ArgumentRegisters::rdi <- __PWTB_StackAlloc, __PWTB_TransitionBlock // padding to align xmm save area // xmm7 // xmm6 // xmm5 // xmm4 // xmm3 // xmm2 // xmm1 // xmm0 <- __PWTB_FloatArgumentRegisters // extra locals + padding to qword align .macro PROLOG_WITH_TRANSITION_BLOCK extraLocals = 0, stackAllocOnEntry = 0, stackAllocSpill1, stackAllocSpill2, stackAllocSpill3 set_cfa_register rsp, 8 __PWTB_FloatArgumentRegisters = \extraLocals .if ((__PWTB_FloatArgumentRegisters % 16) != 0) __PWTB_FloatArgumentRegisters = __PWTB_FloatArgumentRegisters + 8 .endif __PWTB_StackAlloc = __PWTB_FloatArgumentRegisters + 8 * 16 + 8 // 8 floating point registers __PWTB_TransitionBlock = __PWTB_StackAlloc .if \stackAllocOnEntry >= 4*8 .error "Max supported stackAllocOnEntry is 3*8" .endif .if \stackAllocOnEntry > 0 .cfi_adjust_cfa_offset \stackAllocOnEntry .endif // PUSH_CALLEE_SAVED_REGISTERS expanded here .if \stackAllocOnEntry < 8 push_nonvol_reg rbp mov rbp, rsp .endif .if \stackAllocOnEntry < 2*8 push_nonvol_reg rbx .endif .if \stackAllocOnEntry < 3*8 push_nonvol_reg r15 .endif push_nonvol_reg r14 push_nonvol_reg r13 push_nonvol_reg r12 // ArgumentRegisters PUSH_ARGUMENT_REGISTERS .if \stackAllocOnEntry >= 3*8 mov \stackAllocSpill3, [rsp + 0x48] save_reg_postrsp r15, 0x48 .endif .if \stackAllocOnEntry >= 2*8 mov \stackAllocSpill2, [rsp + 0x50] save_reg_postrsp rbx, 0x50 .endif .if \stackAllocOnEntry >= 8 mov \stackAllocSpill1, [rsp + 0x58] save_reg_postrsp rbp, 0x58 lea rbp, [rsp + 0x58] .endif alloc_stack __PWTB_StackAlloc SAVE_FLOAT_ARGUMENT_REGISTERS __PWTB_FloatArgumentRegisters END_PROLOGUE .endm .macro EPILOG_WITH_TRANSITION_BLOCK_RETURN free_stack __PWTB_StackAlloc POP_ARGUMENT_REGISTERS POP_CALLEE_SAVED_REGISTERS ret .endm .macro EPILOG_WITH_TRANSITION_BLOCK_TAILCALL RESTORE_FLOAT_ARGUMENT_REGISTERS __PWTB_FloatArgumentRegisters free_stack __PWTB_StackAlloc POP_ARGUMENT_REGISTERS POP_CALLEE_SAVED_REGISTERS .endm .macro RESET_FRAME_WITH_RBP mov rsp, rbp set_cfa_register rsp, 16 pop_nonvol_reg rbp .cfi_same_value rbp .endm
{ "language": "Assembly" }
//===--- ConstraintSolverStats.def - Constraint Solver Statistics ---------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // //===----------------------------------------------------------------------===// // // This file enumerates the statistics tracked by the constraint solver. // //===----------------------------------------------------------------------===// #ifndef CS_STATISTIC # error #define CS_STATISTIC(Name, Description) before including #endif CS_STATISTIC(NumTypeVariablesBound, "# of type variables bound") CS_STATISTIC(NumTypeVariableBindings, "# of type variable bindings attempted") CS_STATISTIC(NumDisjunctions, "# of disjunctions explored") CS_STATISTIC(NumDisjunctionTerms, "# of disjunction terms explored") CS_STATISTIC(NumSimplifiedConstraints, "# of constraints simplified") CS_STATISTIC(NumUnsimplifiedConstraints, "# of constraints not simplified") CS_STATISTIC(NumSimplifyIterations, "# of simplification iterations") CS_STATISTIC(NumStatesExplored, "# of solution states explored") CS_STATISTIC(NumComponentsSplit, "# of connected components split") #undef CS_STATISTIC
{ "language": "Assembly" }
; RUN: opt < %s -S -ipsccp | FileCheck %s ; PR5596 ; IPSCCP should propagate the 0 argument, eliminate the switch, and propagate ; the result. ; CHECK: define i32 @main() #0 { ; CHECK-NEXT: entry: ; CHECK-NEXT: %call2 = tail call i32 @wwrite(i64 0) [[NUW:#[0-9]+]] ; CHECK-NEXT: ret i32 123 define i32 @main() noreturn nounwind { entry: %call2 = tail call i32 @wwrite(i64 0) nounwind ret i32 %call2 } define internal i32 @wwrite(i64 %i) nounwind readnone { entry: switch i64 %i, label %sw.default [ i64 3, label %return i64 10, label %return ] sw.default: ret i32 123 return: ret i32 0 } ; CHECK: attributes #0 = { noreturn nounwind } ; CHECK: attributes #1 = { nounwind readnone } ; CHECK: attributes [[NUW]] = { nounwind }
{ "language": "Assembly" }
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Check that we're not crashing while looking at the recurrence variable. ; RUN: opt -S -loop-idiom %s | FileCheck %s define void @tinkywinky() { ; CHECK-LABEL: @tinkywinky( ; CHECK-NEXT: entry: ; CHECK-NEXT: br i1 true, label [[EXIT:%.*]], label [[PH:%.*]] ; CHECK: ph: ; CHECK-NEXT: [[MYPHI:%.*]] = phi i32 [ 1, [[ENTRY:%.*]] ] ; CHECK-NEXT: br label [[IF_END:%.*]] ; CHECK: if.end: ; CHECK-NEXT: [[PATATINO:%.*]] = ashr i32 [[MYPHI]], undef ; CHECK-NEXT: [[TOBOOL:%.*]] = icmp eq i32 [[PATATINO]], 0 ; CHECK-NEXT: br i1 [[TOBOOL]], label [[EXIT_LOOPEXIT:%.*]], label [[IF_END]] ; CHECK: exit.loopexit: ; CHECK-NEXT: br label [[EXIT]] ; CHECK: exit: ; CHECK-NEXT: ret void ; entry: br i1 true, label %exit, label %ph ph: %myphi = phi i32 [ 1, %entry ] br label %if.end if.end: %patatino = ashr i32 %myphi, undef %tobool = icmp eq i32 %patatino, 0 br i1 %tobool, label %exit, label %if.end exit: ret void }
{ "language": "Assembly" }
; RUN: opt -loop-accesses -analyze < %s | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" ; We shouldn't quit the analysis if we encounter a pointer without known ; bounds *unless* we actually need to emit a memcheck for it. (We only ; compute bounds for SCEVAddRecs so A[i*I] is deemed not having known bounds.) ; ; for (i = 0; i < 20; ++i) ; A[i*i] *= 2; ; CHECK: for.body: ; CHECK: Report: unsafe dependent memory operations in loop ; CHECK-NOT: Report: cannot identify array bounds ; CHECK: Interesting Dependences: ; CHECK: Unknown: ; CHECK: %loadA = load i16, i16* %arrayidxA, align 2 -> ; CHECK: store i16 %mul, i16* %arrayidxA, align 2 define void @f(i16* %a) { entry: br label %for.body for.body: ; preds = %for.body, %entry %ind = phi i64 [ 0, %entry ], [ %add, %for.body ] %access_ind = mul i64 %ind, %ind %arrayidxA = getelementptr inbounds i16, i16* %a, i64 %access_ind %loadA = load i16, i16* %arrayidxA, align 2 %mul = mul i16 %loadA, 2 store i16 %mul, i16* %arrayidxA, align 2 %add = add nuw nsw i64 %ind, 1 %exitcond = icmp eq i64 %add, 20 br i1 %exitcond, label %for.end, label %for.body for.end: ; preds = %for.body ret void }
{ "language": "Assembly" }
/* Implementation of profiling support. ARM EABI version. Copyright (C) 2008-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library. If not, see <http://www.gnu.org/licenses/>. */ /* Don't call mcount when calling mcount... */ #undef PROF #include <sysdep.h> #undef mcount #ifdef __thumb2__ .thumb #endif .syntax unified /* Use an assembly stub with a special ABI. The calling lr has been pushed to the stack (which will be misaligned). We should preserve all registers except ip and pop a word off the stack. NOTE: This assumes mcount_internal does not clobber any non-core (coprocessor) registers. Currently this is true, but may require additional attention in the future. The calling sequence looks something like: func: push {lr} bl __gnu_mcount_nc <function body> */ ENTRY(__gnu_mcount_nc) push {r0, r1, r2, r3, lr} cfi_adjust_cfa_offset (20) cfi_rel_offset (r0, 0) cfi_rel_offset (r1, 4) cfi_rel_offset (r2, 8) cfi_rel_offset (r3, 12) cfi_rel_offset (lr, 16) bic r1, lr, #1 ldr r0, [sp, #20] bl __mcount_internal pop {r0, r1, r2, r3, ip, lr} cfi_adjust_cfa_offset (-24) cfi_restore (r0) cfi_restore (r1) cfi_restore (r2) cfi_restore (r3) cfi_register (lr, ip) bx ip END(__gnu_mcount_nc) #include <gcc-compat.h> #include <shlib-compat.h> /* The new __gnu_mcount_nc entry point was introduced in 4.4, so the static library needs the old one only to support older compilers. Even in a configuration that only cares about newer compilers, the shared library might need it only for strict ABI compatibility. */ #if GCC_COMPAT (4, 3) || SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_19) /* Provide old mcount for backwards compatibility. This requires code be compiled with APCS frame pointers. */ ENTRY(__mcount_arm_compat) push {r0, r1, r2, r3, fp, lr} cfi_adjust_cfa_offset (24) cfi_rel_offset (r0, 0) cfi_rel_offset (r1, 4) cfi_rel_offset (r2, 8) cfi_rel_offset (r3, 12) cfi_rel_offset (fp, 16) cfi_rel_offset (lr, 20) movs r0, fp ittt ne ldrne r0, [r0, #-4] movsne r1, lr blne __mcount_internal # if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__) pop {r0, r1, r2, r3, fp, lr} cfi_adjust_cfa_offset (-24) cfi_restore (r0) cfi_restore (r1) cfi_restore (r2) cfi_restore (r3) cfi_restore (fp) cfi_restore (lr) bx lr # else pop {r0, r1, r2, r3, fp, pc} # endif END(__mcount_arm_compat) #endif #if GCC_COMPAT (4, 3) strong_alias (__mcount_arm_compat, _mcount) /* The canonical name for the function is `_mcount' in both C and asm, but some old asm code might assume it's `mcount'. */ weak_alias (_mcount, mcount) #elif SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_19) compat_symbol (libc, __mcount_arm_compat, _mcount, GLIBC_2_0) strong_alias (__mcount_arm_compat, __mcount_arm_compat_1) compat_symbol (libc, __mcount_arm_compat_1, mcount, GLIBC_2_0) #endif
{ "language": "Assembly" }
## ripemd.py - pure Python implementation of the RIPEMD-160 algorithm. ## Bjorn Edstrom <be@bjrn.se> 16 december 2007. ## ## Copyrights ## ========== ## ## This code is a derived from an implementation by Markus Friedl which is ## subject to the following license. This Python implementation is not ## subject to any other license. ## ##/* ## * Copyright (c) 2001 Markus Friedl. All rights reserved. ## * ## * Redistribution and use in source and binary forms, with or without ## * modification, are permitted provided that the following conditions ## * are met: ## * 1. Redistributions of source code must retain the above copyright ## * notice, this list of conditions and the following disclaimer. ## * 2. Redistributions in binary form must reproduce the above copyright ## * notice, this list of conditions and the following disclaimer in the ## * documentation and/or other materials provided with the distribution. ## * ## * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ## * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ## * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ## * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ## * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ## * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## */ ##/* ## * Preneel, Bosselaers, Dobbertin, "The Cryptographic Hash Function RIPEMD-160", ## * RSA Laboratories, CryptoBytes, Volume 3, Number 2, Autumn 1997, ## * ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf ## */ #block_size = 1 digest_size = 20 digestsize = 20 class RIPEMD160: """Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.""" def __init__(self, arg=None): self.ctx = RMDContext() if arg: self.update(arg) self.dig = None def update(self, arg): """update(arg)""" RMD160Update(self.ctx, arg, len(arg)) self.dig = None def digest(self): """digest()""" if self.dig: return self.dig ctx = self.ctx.copy() self.dig = RMD160Final(self.ctx) self.ctx = ctx return self.dig def hexdigest(self): """hexdigest()""" dig = self.digest() hex_digest = '' for d in dig: hex_digest += '%02x' % d return hex_digest def copy(self): """copy()""" import copy return copy.deepcopy(self) def new(arg=None): """Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.""" return RIPEMD160(arg) # # Private. # class RMDContext: def __init__(self): self.state = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0] # uint32 self.count = 0 # uint64 self.buffer = [0]*64 # uchar def copy(self): ctx = RMDContext() ctx.state = self.state[:] ctx.count = self.count ctx.buffer = self.buffer[:] return ctx K0 = 0x00000000 K1 = 0x5A827999 K2 = 0x6ED9EBA1 K3 = 0x8F1BBCDC K4 = 0xA953FD4E KK0 = 0x50A28BE6 KK1 = 0x5C4DD124 KK2 = 0x6D703EF3 KK3 = 0x7A6D76E9 KK4 = 0x00000000 def ROL(n, x): return ((x << n) & 0xffffffff) | (x >> (32 - n)) def F0(x, y, z): return x ^ y ^ z def F1(x, y, z): return (x & y) | (((~x) % 0x100000000) & z) def F2(x, y, z): return (x | ((~y) % 0x100000000)) ^ z def F3(x, y, z): return (x & z) | (((~z) % 0x100000000) & y) def F4(x, y, z): return x ^ (y | ((~z) % 0x100000000)) def R(a, b, c, d, e, Fj, Kj, sj, rj, X): a = ROL(sj, (a + Fj(b, c, d) + X[rj] + Kj) % 0x100000000) + e c = ROL(10, c) return a % 0x100000000, c PADDING = [0x80] + [0]*63 import sys import struct def RMD160Transform(state, block): #uint32 state[5], uchar block[64] x = [0]*16 if sys.byteorder == 'little': x = struct.unpack('<16L', bytes([x for x in block[0:64]])) else: raise "Error!!" a = state[0] b = state[1] c = state[2] d = state[3] e = state[4] #/* Round 1 */ a, c = R(a, b, c, d, e, F0, K0, 11, 0, x); e, b = R(e, a, b, c, d, F0, K0, 14, 1, x); d, a = R(d, e, a, b, c, F0, K0, 15, 2, x); c, e = R(c, d, e, a, b, F0, K0, 12, 3, x); b, d = R(b, c, d, e, a, F0, K0, 5, 4, x); a, c = R(a, b, c, d, e, F0, K0, 8, 5, x); e, b = R(e, a, b, c, d, F0, K0, 7, 6, x); d, a = R(d, e, a, b, c, F0, K0, 9, 7, x); c, e = R(c, d, e, a, b, F0, K0, 11, 8, x); b, d = R(b, c, d, e, a, F0, K0, 13, 9, x); a, c = R(a, b, c, d, e, F0, K0, 14, 10, x); e, b = R(e, a, b, c, d, F0, K0, 15, 11, x); d, a = R(d, e, a, b, c, F0, K0, 6, 12, x); c, e = R(c, d, e, a, b, F0, K0, 7, 13, x); b, d = R(b, c, d, e, a, F0, K0, 9, 14, x); a, c = R(a, b, c, d, e, F0, K0, 8, 15, x); #/* #15 */ #/* Round 2 */ e, b = R(e, a, b, c, d, F1, K1, 7, 7, x); d, a = R(d, e, a, b, c, F1, K1, 6, 4, x); c, e = R(c, d, e, a, b, F1, K1, 8, 13, x); b, d = R(b, c, d, e, a, F1, K1, 13, 1, x); a, c = R(a, b, c, d, e, F1, K1, 11, 10, x); e, b = R(e, a, b, c, d, F1, K1, 9, 6, x); d, a = R(d, e, a, b, c, F1, K1, 7, 15, x); c, e = R(c, d, e, a, b, F1, K1, 15, 3, x); b, d = R(b, c, d, e, a, F1, K1, 7, 12, x); a, c = R(a, b, c, d, e, F1, K1, 12, 0, x); e, b = R(e, a, b, c, d, F1, K1, 15, 9, x); d, a = R(d, e, a, b, c, F1, K1, 9, 5, x); c, e = R(c, d, e, a, b, F1, K1, 11, 2, x); b, d = R(b, c, d, e, a, F1, K1, 7, 14, x); a, c = R(a, b, c, d, e, F1, K1, 13, 11, x); e, b = R(e, a, b, c, d, F1, K1, 12, 8, x); #/* #31 */ #/* Round 3 */ d, a = R(d, e, a, b, c, F2, K2, 11, 3, x); c, e = R(c, d, e, a, b, F2, K2, 13, 10, x); b, d = R(b, c, d, e, a, F2, K2, 6, 14, x); a, c = R(a, b, c, d, e, F2, K2, 7, 4, x); e, b = R(e, a, b, c, d, F2, K2, 14, 9, x); d, a = R(d, e, a, b, c, F2, K2, 9, 15, x); c, e = R(c, d, e, a, b, F2, K2, 13, 8, x); b, d = R(b, c, d, e, a, F2, K2, 15, 1, x); a, c = R(a, b, c, d, e, F2, K2, 14, 2, x); e, b = R(e, a, b, c, d, F2, K2, 8, 7, x); d, a = R(d, e, a, b, c, F2, K2, 13, 0, x); c, e = R(c, d, e, a, b, F2, K2, 6, 6, x); b, d = R(b, c, d, e, a, F2, K2, 5, 13, x); a, c = R(a, b, c, d, e, F2, K2, 12, 11, x); e, b = R(e, a, b, c, d, F2, K2, 7, 5, x); d, a = R(d, e, a, b, c, F2, K2, 5, 12, x); #/* #47 */ #/* Round 4 */ c, e = R(c, d, e, a, b, F3, K3, 11, 1, x); b, d = R(b, c, d, e, a, F3, K3, 12, 9, x); a, c = R(a, b, c, d, e, F3, K3, 14, 11, x); e, b = R(e, a, b, c, d, F3, K3, 15, 10, x); d, a = R(d, e, a, b, c, F3, K3, 14, 0, x); c, e = R(c, d, e, a, b, F3, K3, 15, 8, x); b, d = R(b, c, d, e, a, F3, K3, 9, 12, x); a, c = R(a, b, c, d, e, F3, K3, 8, 4, x); e, b = R(e, a, b, c, d, F3, K3, 9, 13, x); d, a = R(d, e, a, b, c, F3, K3, 14, 3, x); c, e = R(c, d, e, a, b, F3, K3, 5, 7, x); b, d = R(b, c, d, e, a, F3, K3, 6, 15, x); a, c = R(a, b, c, d, e, F3, K3, 8, 14, x); e, b = R(e, a, b, c, d, F3, K3, 6, 5, x); d, a = R(d, e, a, b, c, F3, K3, 5, 6, x); c, e = R(c, d, e, a, b, F3, K3, 12, 2, x); #/* #63 */ #/* Round 5 */ b, d = R(b, c, d, e, a, F4, K4, 9, 4, x); a, c = R(a, b, c, d, e, F4, K4, 15, 0, x); e, b = R(e, a, b, c, d, F4, K4, 5, 5, x); d, a = R(d, e, a, b, c, F4, K4, 11, 9, x); c, e = R(c, d, e, a, b, F4, K4, 6, 7, x); b, d = R(b, c, d, e, a, F4, K4, 8, 12, x); a, c = R(a, b, c, d, e, F4, K4, 13, 2, x); e, b = R(e, a, b, c, d, F4, K4, 12, 10, x); d, a = R(d, e, a, b, c, F4, K4, 5, 14, x); c, e = R(c, d, e, a, b, F4, K4, 12, 1, x); b, d = R(b, c, d, e, a, F4, K4, 13, 3, x); a, c = R(a, b, c, d, e, F4, K4, 14, 8, x); e, b = R(e, a, b, c, d, F4, K4, 11, 11, x); d, a = R(d, e, a, b, c, F4, K4, 8, 6, x); c, e = R(c, d, e, a, b, F4, K4, 5, 15, x); b, d = R(b, c, d, e, a, F4, K4, 6, 13, x); #/* #79 */ aa = a; bb = b; cc = c; dd = d; ee = e; a = state[0] b = state[1] c = state[2] d = state[3] e = state[4] #/* Parallel round 1 */ a, c = R(a, b, c, d, e, F4, KK0, 8, 5, x) e, b = R(e, a, b, c, d, F4, KK0, 9, 14, x) d, a = R(d, e, a, b, c, F4, KK0, 9, 7, x) c, e = R(c, d, e, a, b, F4, KK0, 11, 0, x) b, d = R(b, c, d, e, a, F4, KK0, 13, 9, x) a, c = R(a, b, c, d, e, F4, KK0, 15, 2, x) e, b = R(e, a, b, c, d, F4, KK0, 15, 11, x) d, a = R(d, e, a, b, c, F4, KK0, 5, 4, x) c, e = R(c, d, e, a, b, F4, KK0, 7, 13, x) b, d = R(b, c, d, e, a, F4, KK0, 7, 6, x) a, c = R(a, b, c, d, e, F4, KK0, 8, 15, x) e, b = R(e, a, b, c, d, F4, KK0, 11, 8, x) d, a = R(d, e, a, b, c, F4, KK0, 14, 1, x) c, e = R(c, d, e, a, b, F4, KK0, 14, 10, x) b, d = R(b, c, d, e, a, F4, KK0, 12, 3, x) a, c = R(a, b, c, d, e, F4, KK0, 6, 12, x) #/* #15 */ #/* Parallel round 2 */ e, b = R(e, a, b, c, d, F3, KK1, 9, 6, x) d, a = R(d, e, a, b, c, F3, KK1, 13, 11, x) c, e = R(c, d, e, a, b, F3, KK1, 15, 3, x) b, d = R(b, c, d, e, a, F3, KK1, 7, 7, x) a, c = R(a, b, c, d, e, F3, KK1, 12, 0, x) e, b = R(e, a, b, c, d, F3, KK1, 8, 13, x) d, a = R(d, e, a, b, c, F3, KK1, 9, 5, x) c, e = R(c, d, e, a, b, F3, KK1, 11, 10, x) b, d = R(b, c, d, e, a, F3, KK1, 7, 14, x) a, c = R(a, b, c, d, e, F3, KK1, 7, 15, x) e, b = R(e, a, b, c, d, F3, KK1, 12, 8, x) d, a = R(d, e, a, b, c, F3, KK1, 7, 12, x) c, e = R(c, d, e, a, b, F3, KK1, 6, 4, x) b, d = R(b, c, d, e, a, F3, KK1, 15, 9, x) a, c = R(a, b, c, d, e, F3, KK1, 13, 1, x) e, b = R(e, a, b, c, d, F3, KK1, 11, 2, x) #/* #31 */ #/* Parallel round 3 */ d, a = R(d, e, a, b, c, F2, KK2, 9, 15, x) c, e = R(c, d, e, a, b, F2, KK2, 7, 5, x) b, d = R(b, c, d, e, a, F2, KK2, 15, 1, x) a, c = R(a, b, c, d, e, F2, KK2, 11, 3, x) e, b = R(e, a, b, c, d, F2, KK2, 8, 7, x) d, a = R(d, e, a, b, c, F2, KK2, 6, 14, x) c, e = R(c, d, e, a, b, F2, KK2, 6, 6, x) b, d = R(b, c, d, e, a, F2, KK2, 14, 9, x) a, c = R(a, b, c, d, e, F2, KK2, 12, 11, x) e, b = R(e, a, b, c, d, F2, KK2, 13, 8, x) d, a = R(d, e, a, b, c, F2, KK2, 5, 12, x) c, e = R(c, d, e, a, b, F2, KK2, 14, 2, x) b, d = R(b, c, d, e, a, F2, KK2, 13, 10, x) a, c = R(a, b, c, d, e, F2, KK2, 13, 0, x) e, b = R(e, a, b, c, d, F2, KK2, 7, 4, x) d, a = R(d, e, a, b, c, F2, KK2, 5, 13, x) #/* #47 */ #/* Parallel round 4 */ c, e = R(c, d, e, a, b, F1, KK3, 15, 8, x) b, d = R(b, c, d, e, a, F1, KK3, 5, 6, x) a, c = R(a, b, c, d, e, F1, KK3, 8, 4, x) e, b = R(e, a, b, c, d, F1, KK3, 11, 1, x) d, a = R(d, e, a, b, c, F1, KK3, 14, 3, x) c, e = R(c, d, e, a, b, F1, KK3, 14, 11, x) b, d = R(b, c, d, e, a, F1, KK3, 6, 15, x) a, c = R(a, b, c, d, e, F1, KK3, 14, 0, x) e, b = R(e, a, b, c, d, F1, KK3, 6, 5, x) d, a = R(d, e, a, b, c, F1, KK3, 9, 12, x) c, e = R(c, d, e, a, b, F1, KK3, 12, 2, x) b, d = R(b, c, d, e, a, F1, KK3, 9, 13, x) a, c = R(a, b, c, d, e, F1, KK3, 12, 9, x) e, b = R(e, a, b, c, d, F1, KK3, 5, 7, x) d, a = R(d, e, a, b, c, F1, KK3, 15, 10, x) c, e = R(c, d, e, a, b, F1, KK3, 8, 14, x) #/* #63 */ #/* Parallel round 5 */ b, d = R(b, c, d, e, a, F0, KK4, 8, 12, x) a, c = R(a, b, c, d, e, F0, KK4, 5, 15, x) e, b = R(e, a, b, c, d, F0, KK4, 12, 10, x) d, a = R(d, e, a, b, c, F0, KK4, 9, 4, x) c, e = R(c, d, e, a, b, F0, KK4, 12, 1, x) b, d = R(b, c, d, e, a, F0, KK4, 5, 5, x) a, c = R(a, b, c, d, e, F0, KK4, 14, 8, x) e, b = R(e, a, b, c, d, F0, KK4, 6, 7, x) d, a = R(d, e, a, b, c, F0, KK4, 8, 6, x) c, e = R(c, d, e, a, b, F0, KK4, 13, 2, x) b, d = R(b, c, d, e, a, F0, KK4, 6, 13, x) a, c = R(a, b, c, d, e, F0, KK4, 5, 14, x) e, b = R(e, a, b, c, d, F0, KK4, 15, 0, x) d, a = R(d, e, a, b, c, F0, KK4, 13, 3, x) c, e = R(c, d, e, a, b, F0, KK4, 11, 9, x) b, d = R(b, c, d, e, a, F0, KK4, 11, 11, x) #/* #79 */ t = (state[1] + cc + d) % 0x100000000; state[1] = (state[2] + dd + e) % 0x100000000; state[2] = (state[3] + ee + a) % 0x100000000; state[3] = (state[4] + aa + b) % 0x100000000; state[4] = (state[0] + bb + c) % 0x100000000; state[0] = t % 0x100000000; pass def RMD160Update(ctx, inp, inplen): if type(inp) == str: inp = [ord(i)&0xff for i in inp] have = (ctx.count // 8) % 64 need = 64 - have ctx.count += 8 * inplen off = 0 if inplen >= need: if have: for i in range(need): ctx.buffer[have+i] = inp[i] RMD160Transform(ctx.state, ctx.buffer) off = need have = 0 while off + 64 <= inplen: RMD160Transform(ctx.state, inp[off:]) #<--- off += 64 if off < inplen: # memcpy(ctx->buffer + have, input+off, len-off); for i in range(inplen - off): ctx.buffer[have+i] = inp[off+i] def RMD160Final(ctx): size = struct.pack("<Q", ctx.count) padlen = 64 - ((ctx.count // 8) % 64) if padlen < 1+8: padlen += 64 RMD160Update(ctx, PADDING, padlen-8) RMD160Update(ctx, size, 8) return struct.pack("<5L", *ctx.state) assert '37f332f68db77bd9d7edd4969571ad671cf9dd3b' == \ new(b'The quick brown fox jumps over the lazy dog').hexdigest() assert '132072df690933835eb8b6ad0b77e7b6f14acad7' == \ new(b'The quick brown fox jumps over the lazy cog').hexdigest() assert '9c1185a5c5e9fc54612808977ee8f548b2258d31' == \ new('').hexdigest()
{ "language": "Assembly" }
; <<< Use Configuration Wizard in Context Menu >>> ;****************************************************************************** ; ; startup_rvmdk.S - Startup code for use with Keil's uVision. ; ; Copyright (c) 2012-2014 Texas Instruments Incorporated. All rights reserved. ; Software License Agreement ; ; Texas Instruments (TI) is supplying this software for use solely and ; exclusively on TI's microcontroller products. The software is owned by ; TI and/or its suppliers, and is protected under applicable copyright ; laws. You may not combine this software with "viral" open-source ; software in order to form a larger program. ; ; THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. ; NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT ; NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ; A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY ; CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL ; DAMAGES, FOR ANY REASON WHATSOEVER. ; ; This is part of revision 2.1.0.12573 of the EK-TM4C123GXL Firmware Package. ; ;****************************************************************************** ;****************************************************************************** ; ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> ; ;****************************************************************************** Stack EQU 0x00000200 ;****************************************************************************** ; ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> ; ;****************************************************************************** Heap EQU 0x00000000 ;****************************************************************************** ; ; Allocate space for the stack. ; ;****************************************************************************** AREA STACK, NOINIT, READWRITE, ALIGN=3 StackMem SPACE Stack __initial_sp ;****************************************************************************** ; ; Allocate space for the heap. ; ;****************************************************************************** AREA HEAP, NOINIT, READWRITE, ALIGN=3 __heap_base HeapMem SPACE Heap __heap_limit ;****************************************************************************** ; ; Indicate that the code in this file preserves 8-byte alignment of the stack. ; ;****************************************************************************** PRESERVE8 ;****************************************************************************** ; ; Place code into the reset code section. ; ;****************************************************************************** AREA RESET, CODE, READONLY THUMB ;****************************************************************************** ; ; External declarations for the interrupt handlers used by the application. ; ;****************************************************************************** EXTERN IntGPIOa EXTERN IntGPIOb EXTERN IntGPIOc ;****************************************************************************** ; ; The vector table. ; ;****************************************************************************** EXPORT __Vectors __Vectors DCD StackMem + Stack ; Top of Stack DCD Reset_Handler ; Reset Handler DCD NmiSR ; NMI Handler DCD FaultISR ; Hard Fault Handler DCD IntDefaultHandler ; The MPU fault handler DCD IntDefaultHandler ; The bus fault handler DCD IntDefaultHandler ; The usage fault handler DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; SVCall handler DCD IntDefaultHandler ; Debug monitor handler DCD 0 ; Reserved DCD IntDefaultHandler ; The PendSV handler DCD IntDefaultHandler ; The SysTick handler DCD IntGPIOa ; GPIO Port A DCD IntGPIOb ; GPIO Port B DCD IntGPIOc ; GPIO Port C DCD IntDefaultHandler ; GPIO Port D DCD IntDefaultHandler ; GPIO Port E DCD IntDefaultHandler ; UART0 Rx and Tx DCD IntDefaultHandler ; UART1 Rx and Tx DCD IntDefaultHandler ; SSI0 Rx and Tx DCD IntDefaultHandler ; I2C0 Master and Slave DCD IntDefaultHandler ; PWM Fault DCD IntDefaultHandler ; PWM Generator 0 DCD IntDefaultHandler ; PWM Generator 1 DCD IntDefaultHandler ; PWM Generator 2 DCD IntDefaultHandler ; Quadrature Encoder 0 DCD IntDefaultHandler ; ADC Sequence 0 DCD IntDefaultHandler ; ADC Sequence 1 DCD IntDefaultHandler ; ADC Sequence 2 DCD IntDefaultHandler ; ADC Sequence 3 DCD IntDefaultHandler ; Watchdog timer DCD IntDefaultHandler ; Timer 0 subtimer A DCD IntDefaultHandler ; Timer 0 subtimer B DCD IntDefaultHandler ; Timer 1 subtimer A DCD IntDefaultHandler ; Timer 1 subtimer B DCD IntDefaultHandler ; Timer 2 subtimer A DCD IntDefaultHandler ; Timer 2 subtimer B DCD IntDefaultHandler ; Analog Comparator 0 DCD IntDefaultHandler ; Analog Comparator 1 DCD IntDefaultHandler ; Analog Comparator 2 DCD IntDefaultHandler ; System Control (PLL, OSC, BO) DCD IntDefaultHandler ; FLASH Control DCD IntDefaultHandler ; GPIO Port F DCD IntDefaultHandler ; GPIO Port G DCD IntDefaultHandler ; GPIO Port H DCD IntDefaultHandler ; UART2 Rx and Tx DCD IntDefaultHandler ; SSI1 Rx and Tx DCD IntDefaultHandler ; Timer 3 subtimer A DCD IntDefaultHandler ; Timer 3 subtimer B DCD IntDefaultHandler ; I2C1 Master and Slave DCD IntDefaultHandler ; Quadrature Encoder 1 DCD IntDefaultHandler ; CAN0 DCD IntDefaultHandler ; CAN1 DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; Hibernate DCD IntDefaultHandler ; USB0 DCD IntDefaultHandler ; PWM Generator 3 DCD IntDefaultHandler ; uDMA Software Transfer DCD IntDefaultHandler ; uDMA Error DCD IntDefaultHandler ; ADC1 Sequence 0 DCD IntDefaultHandler ; ADC1 Sequence 1 DCD IntDefaultHandler ; ADC1 Sequence 2 DCD IntDefaultHandler ; ADC1 Sequence 3 DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; GPIO Port J DCD IntDefaultHandler ; GPIO Port K DCD IntDefaultHandler ; GPIO Port L DCD IntDefaultHandler ; SSI2 Rx and Tx DCD IntDefaultHandler ; SSI3 Rx and Tx DCD IntDefaultHandler ; UART3 Rx and Tx DCD IntDefaultHandler ; UART4 Rx and Tx DCD IntDefaultHandler ; UART5 Rx and Tx DCD IntDefaultHandler ; UART6 Rx and Tx DCD IntDefaultHandler ; UART7 Rx and Tx DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; I2C2 Master and Slave DCD IntDefaultHandler ; I2C3 Master and Slave DCD IntDefaultHandler ; Timer 4 subtimer A DCD IntDefaultHandler ; Timer 4 subtimer B DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; Timer 5 subtimer A DCD IntDefaultHandler ; Timer 5 subtimer B DCD IntDefaultHandler ; Wide Timer 0 subtimer A DCD IntDefaultHandler ; Wide Timer 0 subtimer B DCD IntDefaultHandler ; Wide Timer 1 subtimer A DCD IntDefaultHandler ; Wide Timer 1 subtimer B DCD IntDefaultHandler ; Wide Timer 2 subtimer A DCD IntDefaultHandler ; Wide Timer 2 subtimer B DCD IntDefaultHandler ; Wide Timer 3 subtimer A DCD IntDefaultHandler ; Wide Timer 3 subtimer B DCD IntDefaultHandler ; Wide Timer 4 subtimer A DCD IntDefaultHandler ; Wide Timer 4 subtimer B DCD IntDefaultHandler ; Wide Timer 5 subtimer A DCD IntDefaultHandler ; Wide Timer 5 subtimer B DCD IntDefaultHandler ; FPU DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; I2C4 Master and Slave DCD IntDefaultHandler ; I2C5 Master and Slave DCD IntDefaultHandler ; GPIO Port M DCD IntDefaultHandler ; GPIO Port N DCD IntDefaultHandler ; Quadrature Encoder 2 DCD 0 ; Reserved DCD 0 ; Reserved DCD IntDefaultHandler ; GPIO Port P (Summary or P0) DCD IntDefaultHandler ; GPIO Port P1 DCD IntDefaultHandler ; GPIO Port P2 DCD IntDefaultHandler ; GPIO Port P3 DCD IntDefaultHandler ; GPIO Port P4 DCD IntDefaultHandler ; GPIO Port P5 DCD IntDefaultHandler ; GPIO Port P6 DCD IntDefaultHandler ; GPIO Port P7 DCD IntDefaultHandler ; GPIO Port Q (Summary or Q0) DCD IntDefaultHandler ; GPIO Port Q1 DCD IntDefaultHandler ; GPIO Port Q2 DCD IntDefaultHandler ; GPIO Port Q3 DCD IntDefaultHandler ; GPIO Port Q4 DCD IntDefaultHandler ; GPIO Port Q5 DCD IntDefaultHandler ; GPIO Port Q6 DCD IntDefaultHandler ; GPIO Port Q7 DCD IntDefaultHandler ; GPIO Port R DCD IntDefaultHandler ; GPIO Port S DCD IntDefaultHandler ; PWM 1 Generator 0 DCD IntDefaultHandler ; PWM 1 Generator 1 DCD IntDefaultHandler ; PWM 1 Generator 2 DCD IntDefaultHandler ; PWM 1 Generator 3 DCD IntDefaultHandler ; PWM 1 Fault ;****************************************************************************** ; ; This is the code that gets called when the processor first starts execution ; following a reset event. ; ;****************************************************************************** EXPORT Reset_Handler Reset_Handler ; ; Enable the floating-point unit. This must be done here to handle the ; case where main() uses floating-point and the function prologue saves ; floating-point registers (which will fault if floating-point is not ; enabled). Any configuration of the floating-point unit using ; DriverLib APIs must be done here prior to the floating-point unit ; being enabled. ; ; Note that this does not use DriverLib since it might not be included ; in this project. ; MOVW R0, #0xED88 MOVT R0, #0xE000 LDR R1, [R0] ORR R1, #0x00F00000 STR R1, [R0] ; ; Call the C library enty point that handles startup. This will copy ; the .data section initializers from flash to SRAM and zero fill the ; .bss section. ; IMPORT __main B __main ;****************************************************************************** ; ; This is the code that gets called when the processor receives a NMI. This ; simply enters an infinite loop, preserving the system state for examination ; by a debugger. ; ;****************************************************************************** NmiSR B NmiSR ;****************************************************************************** ; ; This is the code that gets called when the processor receives a fault ; interrupt. This simply enters an infinite loop, preserving the system state ; for examination by a debugger. ; ;****************************************************************************** FaultISR B FaultISR ;****************************************************************************** ; ; This is the code that gets called when the processor receives an unexpected ; interrupt. This simply enters an infinite loop, preserving the system state ; for examination by a debugger. ; ;****************************************************************************** IntDefaultHandler B IntDefaultHandler ;****************************************************************************** ; ; Make sure the end of this section is aligned. ; ;****************************************************************************** ALIGN ;****************************************************************************** ; ; Some code in the normal code section for initializing the heap and stack. ; ;****************************************************************************** AREA |.text|, CODE, READONLY ;****************************************************************************** ; ; The function expected of the C library startup code for defining the stack ; and heap memory locations. For the C library version of the startup code, ; provide this function so that the C library initialization code can find out ; the location of the stack and heap. ; ;****************************************************************************** IF :DEF: __MICROLIB EXPORT __initial_sp EXPORT __heap_base EXPORT __heap_limit ELSE IMPORT __use_two_region_memory EXPORT __user_initial_stackheap __user_initial_stackheap LDR R0, =HeapMem LDR R1, =(StackMem + Stack) LDR R2, =(HeapMem + Heap) LDR R3, =StackMem BX LR ENDIF ;****************************************************************************** ; ; Make sure the end of this section is aligned. ; ;****************************************************************************** ALIGN ;****************************************************************************** ; ; Tell the assembler that we're done. ; ;****************************************************************************** END
{ "language": "Assembly" }
TITLE cast-586.asm IF @Version LT 800 ECHO MASM version 8.00 or later is strongly recommended. ENDIF .686 .MODEL FLAT OPTION DOTNAME IF @Version LT 800 .text$ SEGMENT PAGE 'CODE' ELSE .text$ SEGMENT ALIGN(64) 'CODE' ENDIF EXTERN _CAST_S_table0:NEAR EXTERN _CAST_S_table1:NEAR EXTERN _CAST_S_table2:NEAR EXTERN _CAST_S_table3:NEAR ALIGN 16 _CAST_encrypt PROC PUBLIC $L_CAST_encrypt_begin:: ; push ebp push ebx mov ebx,DWORD PTR 12[esp] mov ebp,DWORD PTR 16[esp] push esi push edi ; Load the 2 words mov edi,DWORD PTR [ebx] mov esi,DWORD PTR 4[ebx] ; Get short key flag mov eax,DWORD PTR 128[ebp] push eax xor eax,eax ; round 0 mov edx,DWORD PTR [ebp] mov ecx,DWORD PTR 4[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 1 mov edx,DWORD PTR 8[ebp] mov ecx,DWORD PTR 12[ebp] xor edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor esi,ecx ; round 2 mov edx,DWORD PTR 16[ebp] mov ecx,DWORD PTR 20[ebp] sub edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor edi,ecx ; round 3 mov edx,DWORD PTR 24[ebp] mov ecx,DWORD PTR 28[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx ; round 4 mov edx,DWORD PTR 32[ebp] mov ecx,DWORD PTR 36[ebp] xor edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor edi,ecx ; round 5 mov edx,DWORD PTR 40[ebp] mov ecx,DWORD PTR 44[ebp] sub edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor esi,ecx ; round 6 mov edx,DWORD PTR 48[ebp] mov ecx,DWORD PTR 52[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 7 mov edx,DWORD PTR 56[ebp] mov ecx,DWORD PTR 60[ebp] xor edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor esi,ecx ; round 8 mov edx,DWORD PTR 64[ebp] mov ecx,DWORD PTR 68[ebp] sub edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor edi,ecx ; round 9 mov edx,DWORD PTR 72[ebp] mov ecx,DWORD PTR 76[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx ; round 10 mov edx,DWORD PTR 80[ebp] mov ecx,DWORD PTR 84[ebp] xor edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor edi,ecx ; round 11 mov edx,DWORD PTR 88[ebp] mov ecx,DWORD PTR 92[ebp] sub edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor esi,ecx ; test short key flag pop edx or edx,edx jnz $L000cast_enc_done ; round 12 mov edx,DWORD PTR 96[ebp] mov ecx,DWORD PTR 100[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 13 mov edx,DWORD PTR 104[ebp] mov ecx,DWORD PTR 108[ebp] xor edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor esi,ecx ; round 14 mov edx,DWORD PTR 112[ebp] mov ecx,DWORD PTR 116[ebp] sub edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor edi,ecx ; round 15 mov edx,DWORD PTR 120[ebp] mov ecx,DWORD PTR 124[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx $L000cast_enc_done: nop mov eax,DWORD PTR 20[esp] mov DWORD PTR 4[eax],edi mov DWORD PTR [eax],esi pop edi pop esi pop ebx pop ebp ret _CAST_encrypt ENDP EXTERN _CAST_S_table0:NEAR EXTERN _CAST_S_table1:NEAR EXTERN _CAST_S_table2:NEAR EXTERN _CAST_S_table3:NEAR ALIGN 16 _CAST_decrypt PROC PUBLIC $L_CAST_decrypt_begin:: ; push ebp push ebx mov ebx,DWORD PTR 12[esp] mov ebp,DWORD PTR 16[esp] push esi push edi ; Load the 2 words mov edi,DWORD PTR [ebx] mov esi,DWORD PTR 4[ebx] ; Get short key flag mov eax,DWORD PTR 128[ebp] or eax,eax jnz $L001cast_dec_skip xor eax,eax ; round 15 mov edx,DWORD PTR 120[ebp] mov ecx,DWORD PTR 124[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 14 mov edx,DWORD PTR 112[ebp] mov ecx,DWORD PTR 116[ebp] sub edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor esi,ecx ; round 13 mov edx,DWORD PTR 104[ebp] mov ecx,DWORD PTR 108[ebp] xor edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor edi,ecx ; round 12 mov edx,DWORD PTR 96[ebp] mov ecx,DWORD PTR 100[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx $L001cast_dec_skip: ; round 11 mov edx,DWORD PTR 88[ebp] mov ecx,DWORD PTR 92[ebp] sub edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor edi,ecx ; round 10 mov edx,DWORD PTR 80[ebp] mov ecx,DWORD PTR 84[ebp] xor edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor esi,ecx ; round 9 mov edx,DWORD PTR 72[ebp] mov ecx,DWORD PTR 76[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 8 mov edx,DWORD PTR 64[ebp] mov ecx,DWORD PTR 68[ebp] sub edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor esi,ecx ; round 7 mov edx,DWORD PTR 56[ebp] mov ecx,DWORD PTR 60[ebp] xor edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor edi,ecx ; round 6 mov edx,DWORD PTR 48[ebp] mov ecx,DWORD PTR 52[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx ; round 5 mov edx,DWORD PTR 40[ebp] mov ecx,DWORD PTR 44[ebp] sub edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor edi,ecx ; round 4 mov edx,DWORD PTR 32[ebp] mov ecx,DWORD PTR 36[ebp] xor edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor esi,ecx ; round 3 mov edx,DWORD PTR 24[ebp] mov ecx,DWORD PTR 28[ebp] add edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor edi,ecx ; round 2 mov edx,DWORD PTR 16[ebp] mov ecx,DWORD PTR 20[ebp] sub edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] sub ecx,ebx xor esi,ecx ; round 1 mov edx,DWORD PTR 8[ebp] mov ecx,DWORD PTR 12[ebp] xor edx,esi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] add ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] xor ecx,ebx xor edi,ecx ; round 0 mov edx,DWORD PTR [ebp] mov ecx,DWORD PTR 4[ebp] add edx,edi rol edx,cl mov ebx,edx xor ecx,ecx mov cl,dh and ebx,255 shr edx,16 xor eax,eax mov al,dh and edx,255 mov ecx,DWORD PTR _CAST_S_table0[ecx*4] mov ebx,DWORD PTR _CAST_S_table1[ebx*4] xor ecx,ebx mov ebx,DWORD PTR _CAST_S_table2[eax*4] sub ecx,ebx mov ebx,DWORD PTR _CAST_S_table3[edx*4] add ecx,ebx xor esi,ecx nop mov eax,DWORD PTR 20[esp] mov DWORD PTR 4[eax],edi mov DWORD PTR [eax],esi pop edi pop esi pop ebx pop ebp ret _CAST_decrypt ENDP ALIGN 16 _CAST_cbc_encrypt PROC PUBLIC $L_CAST_cbc_encrypt_begin:: ; push ebp push ebx push esi push edi mov ebp,DWORD PTR 28[esp] ; getting iv ptr from parameter 4 mov ebx,DWORD PTR 36[esp] mov esi,DWORD PTR [ebx] mov edi,DWORD PTR 4[ebx] push edi push esi push edi push esi mov ebx,esp mov esi,DWORD PTR 36[esp] mov edi,DWORD PTR 40[esp] ; getting encrypt flag from parameter 5 mov ecx,DWORD PTR 56[esp] ; get and push parameter 3 mov eax,DWORD PTR 48[esp] push eax push ebx cmp ecx,0 jz $L002decrypt and ebp,4294967288 mov eax,DWORD PTR 8[esp] mov ebx,DWORD PTR 12[esp] jz $L003encrypt_finish $L004encrypt_loop: mov ecx,DWORD PTR [esi] mov edx,DWORD PTR 4[esi] xor eax,ecx xor ebx,edx bswap eax bswap ebx mov DWORD PTR 8[esp],eax mov DWORD PTR 12[esp],ebx call $L_CAST_encrypt_begin mov eax,DWORD PTR 8[esp] mov ebx,DWORD PTR 12[esp] bswap eax bswap ebx mov DWORD PTR [edi],eax mov DWORD PTR 4[edi],ebx add esi,8 add edi,8 sub ebp,8 jnz $L004encrypt_loop $L003encrypt_finish: mov ebp,DWORD PTR 52[esp] and ebp,7 jz $L005finish call $L006PIC_point $L006PIC_point: pop edx lea ecx,DWORD PTR ($L007cbc_enc_jmp_table-$L006PIC_point)[edx] mov ebp,DWORD PTR [ebp*4+ecx] add ebp,edx xor ecx,ecx xor edx,edx jmp ebp $L008ej7: mov dh,BYTE PTR 6[esi] shl edx,8 $L009ej6: mov dh,BYTE PTR 5[esi] $L010ej5: mov dl,BYTE PTR 4[esi] $L011ej4: mov ecx,DWORD PTR [esi] jmp $L012ejend $L013ej3: mov ch,BYTE PTR 2[esi] shl ecx,8 $L014ej2: mov ch,BYTE PTR 1[esi] $L015ej1: mov cl,BYTE PTR [esi] $L012ejend: xor eax,ecx xor ebx,edx bswap eax bswap ebx mov DWORD PTR 8[esp],eax mov DWORD PTR 12[esp],ebx call $L_CAST_encrypt_begin mov eax,DWORD PTR 8[esp] mov ebx,DWORD PTR 12[esp] bswap eax bswap ebx mov DWORD PTR [edi],eax mov DWORD PTR 4[edi],ebx jmp $L005finish $L002decrypt: and ebp,4294967288 mov eax,DWORD PTR 16[esp] mov ebx,DWORD PTR 20[esp] jz $L016decrypt_finish $L017decrypt_loop: mov eax,DWORD PTR [esi] mov ebx,DWORD PTR 4[esi] bswap eax bswap ebx mov DWORD PTR 8[esp],eax mov DWORD PTR 12[esp],ebx call $L_CAST_decrypt_begin mov eax,DWORD PTR 8[esp] mov ebx,DWORD PTR 12[esp] bswap eax bswap ebx mov ecx,DWORD PTR 16[esp] mov edx,DWORD PTR 20[esp] xor ecx,eax xor edx,ebx mov eax,DWORD PTR [esi] mov ebx,DWORD PTR 4[esi] mov DWORD PTR [edi],ecx mov DWORD PTR 4[edi],edx mov DWORD PTR 16[esp],eax mov DWORD PTR 20[esp],ebx add esi,8 add edi,8 sub ebp,8 jnz $L017decrypt_loop $L016decrypt_finish: mov ebp,DWORD PTR 52[esp] and ebp,7 jz $L005finish mov eax,DWORD PTR [esi] mov ebx,DWORD PTR 4[esi] bswap eax bswap ebx mov DWORD PTR 8[esp],eax mov DWORD PTR 12[esp],ebx call $L_CAST_decrypt_begin mov eax,DWORD PTR 8[esp] mov ebx,DWORD PTR 12[esp] bswap eax bswap ebx mov ecx,DWORD PTR 16[esp] mov edx,DWORD PTR 20[esp] xor ecx,eax xor edx,ebx mov eax,DWORD PTR [esi] mov ebx,DWORD PTR 4[esi] $L018dj7: ror edx,16 mov BYTE PTR 6[edi],dl shr edx,16 $L019dj6: mov BYTE PTR 5[edi],dh $L020dj5: mov BYTE PTR 4[edi],dl $L021dj4: mov DWORD PTR [edi],ecx jmp $L022djend $L023dj3: ror ecx,16 mov BYTE PTR 2[edi],cl shl ecx,16 $L024dj2: mov BYTE PTR 1[esi],ch $L025dj1: mov BYTE PTR [esi],cl $L022djend: jmp $L005finish $L005finish: mov ecx,DWORD PTR 60[esp] add esp,24 mov DWORD PTR [ecx],eax mov DWORD PTR 4[ecx],ebx pop edi pop esi pop ebx pop ebp ret ALIGN 64 $L007cbc_enc_jmp_table: DD 0 DD $L015ej1-$L006PIC_point DD $L014ej2-$L006PIC_point DD $L013ej3-$L006PIC_point DD $L011ej4-$L006PIC_point DD $L010ej5-$L006PIC_point DD $L009ej6-$L006PIC_point DD $L008ej7-$L006PIC_point ALIGN 64 _CAST_cbc_encrypt ENDP .text$ ENDS END
{ "language": "Assembly" }
flf2a$ 8 7 28 -1 36 Converted from clb8x8.bdf by bdf2flf (by John Cowan <cowan@ccil.org>) COMMENT $XConsortium: clB8x8.bdf,v 1.2 94/04/11 12:07:01 gildea Exp $ COMMENT COMMENT Copyright 1989 Dale Schumacher, dal@syntel.mn.org COMMENT 399 Beacon Ave. COMMENT St. Paul, MN 55104-3527 COMMENT COMMENT Permission to use, copy, modify, and distribute this software and COMMENT its documentation for any purpose and without fee is hereby COMMENT granted, provided that the above copyright notice appear in all COMMENT copies and that both that copyright notice and this permission COMMENT notice appear in supporting documentation, and that the name of COMMENT Dale Schumacher not be used in advertising or publicity pertaining to COMMENT distribution of the software without specific, written prior COMMENT permission. Dale Schumacher makes no representations about the COMMENT suitability of this software for any purpose. It is provided "as COMMENT is" without express or implied warranty. COMMENT FONT -Schumacher-Clean-Bold-R-Normal--8-80-75-75-C-80-ISO646.1991-IRVSIZE 8 75 75 FONTNAME_REGISTRY "" FOUNDRY "Schumacher" FAMILY_NAME "Clean" WEIGHT_NAME "Bold" SLANT "R" SETWIDTH_NAME "Normal" ADD_STYLE_NAME "" PIXEL_SIZE 8 POINT_SIZE 80 RESOLUTION_X 75 RESOLUTION_Y 75 SPACING "C" AVERAGE_WIDTH 80 FONT_ASCENT 7 FONT_DESCENT 1 DEFAULT_CHAR 0 COPYRIGHT "Copyright 1989 Dale Schumacher." $@ $@ $@ $@ $@ $@ $@ $@@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@ ## $@@ # # $@ # # $@ # # $@ $@ $@ $@ $@ $@@ $@ # # $@ ###### $@ # # $@ # # $@ ###### $@ # # $@ $@@ # $@ #### $@ # # $@ ### $@ # # $@ #### $@ # $@ $@@ # $@ # # # $@ # # $@ # $@ # # $@ # # #$@ # $@ $@@ ### $@ # $@ # $@ ## $@ # # # $@ # # $@ ### # $@ $@@ ## $@ # $@ # $@ $@ $@ $@ $@ $@@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ # $@ # $@ ## # ##$@ ### $@ # $@ # # $@ # # $@ $@@ # $@ # $@ # $@ #######$@ # $@ # $@ # $@ $@@ $@ $@ $@ $@ $@ ## $@ # $@ # $@@ $@ $@ $@ #######$@ $@ $@ $@ $@@ $@ $@ $@ $@ $@ ## $@ ## $@ $@@ # $@ # $@ # $@ # $@ # $@ # $@ # $@ # $@@ #### $@ ## ## $@ ## ## $@ ## ## $@ ## ## $@ ## ## $@ #### $@ $@@ ## $@ ### $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ #### $@ ## ## $@ ## $@ ## $@ ## $@ ## $@ ###### $@ $@@ #### $@ ## ## $@ ## $@ ### $@ ## $@ ## ## $@ #### $@ $@@ ## $@ ### $@ #### $@ ## ## $@ ###### $@ ## $@ #### $@ $@@ ###### $@ ## $@ ##### $@ ## $@ ## $@ ## ## $@ #### $@ $@@ ### $@ ## $@ ## $@ ##### $@ ## ## $@ ## ## $@ #### $@ $@@ ###### $@ ## ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ #### $@ ## ## $@ ## ## $@ #### $@ ## ## $@ ## ## $@ #### $@ $@@ #### $@ ## ## $@ ## ## $@ ##### $@ ## $@ ## $@ ### $@ $@@ $@ ## $@ ## $@ $@ $@ ## $@ ## $@ $@@ $@ ## $@ ## $@ $@ $@ ## $@ # $@ # $@@ $@ ###$@ ### $@ ### $@ ### $@ ###$@ $@ $@@ $@ $@ #######$@ $@ $@ #######$@ $@ $@@ $@ ### $@ ### $@ ###$@ ### $@ ### $@ $@ $@@ #### $@ ## ## $@ ## $@ ## $@ ## $@ $@ ## $@ $@@ ##### $@ # #$@ # ### #$@ # # # #$@ # #### $@ # $@ ##### $@ $@@ ## $@ ## $@ #### $@ ## # $@ ###### $@ ## # $@ ### ##$@ $@@ ###### $@ ## ##$@ ## ##$@ ###### $@ ## ##$@ ## ##$@ ###### $@ $@@ #### $@ ## ##$@ ## $@ ## $@ ## $@ ## ##$@ #### $@ $@@ ##### $@ ## ## $@ ## ##$@ ## ##$@ ## ##$@ ## ## $@ ##### $@ $@@ #######$@ ## $@ ## $@ ##### $@ ## $@ ## $@ #######$@ $@@ #######$@ ## $@ ## $@ ##### $@ ## $@ ## $@ ## $@ $@@ #### $@ ## ##$@ ## $@ ## $@ ## ###$@ ## ##$@ #####$@ $@@ ## ##$@ ## ##$@ ## ##$@ #######$@ ## ##$@ ## ##$@ ## ##$@ $@@ ###### $@ ## $@ ## $@ ## $@ ## $@ ## $@ ###### $@ $@@ #### $@ ## $@ ## $@ ## $@ ## ## $@ ## ## $@ #### $@ $@@ ## ##$@ ## ## $@ ## ## $@ #### $@ ## ## $@ ## ## $@ ## ##$@ $@@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ###### $@ $@@ ## ##$@ ## ##$@ ### ###$@ ## # ##$@ ## # ##$@ ## ##$@ ## ##$@ $@@ ## ##$@ ### ##$@ ### ##$@ ## # ##$@ ## # ##$@ ## ###$@ ## ##$@ $@@ ### $@ ## ## $@ ## ##$@ ## ##$@ ## ##$@ ## ## $@ ### $@ $@@ ###### $@ ## ##$@ ## ##$@ ###### $@ ## $@ ## $@ ## $@ $@@ ### $@ ## ## $@ ## ##$@ ## ##$@ ## ##$@ ## ## $@ ### $@ ## $@@ ###### $@ ## ##$@ ## ##$@ ###### $@ ## ## $@ ## ## $@ ## ##$@ $@@ ##### $@ ## ##$@ ## $@ ##### $@ ##$@ ## ##$@ ##### $@ $@@ ###### $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ ## ##$@ ## ##$@ ## ##$@ ## ##$@ ## ##$@ ## ##$@ ##### $@ $@@ ## ##$@ ## ##$@ ## ##$@ ## ## $@ ## ## $@ ### $@ ### $@ $@@ ## ##$@ ## ##$@ ## # ##$@ ## # ##$@ ## # ##$@ ### ###$@ ## ##$@ $@@ ## ## $@ ## ## $@ #### $@ ## $@ #### $@ ## ## $@ ## ## $@ $@@ ## ## $@ ## ## $@ #### $@ ## $@ ## $@ ## $@ ## $@ $@@ ###### $@ ## $@ ## $@ ## $@ ## $@ ## $@ ###### $@ $@@ #### $@ ## $@ ## $@ ## $@ ## $@ ## $@ #### $@ $@@ # $@ # $@ # $@ # $@ # $@ # $@ # $@ # $@@ #### $@ ## $@ ## $@ ## $@ ## $@ ## $@ #### $@ $@@ ## $@ ## # $@ ## # $@ $@ $@ $@ $@ $@@ $@ $@ $@ $@ $@ $@ #######$@ $@@ ## $@ # $@ # $@ $@ $@ $@ $@ $@@ $@ $@ ######$@ ## ##$@ ## ##$@ ## ###$@ ### ##$@ $@@ ## $@ ## $@ ###### $@ ## ##$@ ## ##$@ ## ##$@ ###### $@ $@@ $@ $@ ##### $@ ## $@ ## $@ ## $@ ##### $@ $@@ ##$@ ##$@ ######$@ ## ##$@ ## ##$@ ## ##$@ ######$@ $@@ $@ $@ ##### $@ ## ##$@ #######$@ ## $@ ##### $@ $@@ #### $@ ## $@ ##### $@ ## $@ ## $@ ## $@ ## $@ $@@ $@ $@ ######$@ ## ##$@ ## ##$@ ######$@ ##$@ ##### $@@ ## $@ ## $@ ###### $@ ## ##$@ ## ##$@ ## ##$@ ## ##$@ $@@ ## $@ $@ #### $@ ## $@ ## $@ ## $@ ###### $@ $@@ ## $@ $@ #### $@ ## $@ ## $@ ## $@ ## $@ #### $@@ ## $@ ## $@ ## ## $@ ## ## $@ #### $@ ## ## $@ ## ## $@ $@@ ### $@ ## $@ ## $@ ## $@ ## $@ ## $@ #### $@ $@@ $@ $@ ### ## $@ ## # ##$@ ## # ##$@ ## # ##$@ ## ##$@ $@@ $@ $@ ## ### $@ ### ##$@ ## ##$@ ## ##$@ ## ##$@ $@@ $@ $@ ##### $@ ## ##$@ ## ##$@ ## ##$@ ##### $@ $@@ $@ $@ ###### $@ ## ##$@ ## ##$@ ## ##$@ ###### $@ ## $@@ $@ $@ ######$@ ## ##$@ ## ##$@ ## ##$@ ######$@ ##$@@ $@ $@ ## ### $@ ### $@ ## $@ ## $@ ## $@ $@@ $@ $@ ##### $@ ## $@ #### $@ ## $@ ##### $@ $@@ ## $@ ## $@ ###### $@ ## $@ ## $@ ## $@ ### $@ $@@ $@ $@ ## ##$@ ## ##$@ ## ##$@ ## ###$@ ### ##$@ $@@ $@ $@ ### ###$@ ## ## $@ ## ## $@ ### $@ ### $@ $@@ $@ $@ ## ##$@ ## # ##$@ ## # ##$@ ## # ##$@ ## ## $@ $@@ $@ $@ ## ## $@ #### $@ ## $@ #### $@ ## ## $@ $@@ $@ $@ ## ## $@ ## ## $@ ## ## $@ ##### $@ ## $@ #### $@@ $@ $@ ###### $@ ## $@ ## $@ ## $@ ###### $@ $@@ ### $@ ## $@ ## $@ ## $@ ## $@ ## $@ ### $@ $@@ # $@ # $@ # $@ # $@ # $@ # $@ # $@ $@@ ### $@ ## $@ ## $@ ## $@ ## $@ ## $@ ### $@ $@@ ## #$@ # # #$@ # ## $@ $@ $@ $@ $@ $@@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @@ 1 C001 # $@ # # $@ # # $@ ### ###$@ # # $@ # # $@ # # $@ ### $@@ 2 C002 ### $@ # # $@ # # $@ # # $@ ### ###$@ # # $@ # # $@ # $@@ 3 C003 # $@ ## $@ #### # $@ # #$@ #### # $@ ## $@ # $@ $@@ 4 C004 # $@ ## $@ # ####$@ # #$@ # ####$@ ## $@ # $@ $@@ 5 C005 ##### $@ # ### #$@ ## # ##$@ ### ###$@ ## # ##$@ # ### #$@ ##### $@ $@@ 6 C006 #######$@ #######$@ #######$@ ###### $@ ##### #$@ #### ##$@ ### ###$@ $@@ 7 C007 ### ###$@ ## # ##$@ # ### #$@ ##### $@ # ### #$@ ## # ##$@ ### ###$@ $@@ 8 C010 ## $@ # # $@ ## $@ # # ##$@ ## # $@ # $@ #$@ ## $@@ 9 C011 # # $@ # # $@ ### $@ # # ###$@ # # # $@ # $@ # $@ # $@@ 10 C012 # $@ # $@ # $@ # ###$@ ### # $@ ## $@ # $@ # $@@ 11 C013 # # $@ # # $@ # # $@ # ###$@ # # $@ # $@ # $@ # $@@ 12 C014 ### $@ # $@ ## $@ # ###$@ # # $@ ## $@ # $@ # $@@ 13 C015 ## $@ # $@ # $@ # ## $@ ## # #$@ ## $@ # #$@ # #$@@ 14 C016 # #$@ # #$@ # #$@ ## #$@ ## #$@ ## #$@ #### #$@ ### #$@@ 15 C017 # # $@ # # $@ # # $@ # ## $@ # ## $@ # ## $@ # #### $@ # ### $@@ 16 C020 ## $@ ## ## $@ ## ## $@ $@ ## ## $@ ## ## $@ ## $@ $@@ 17 C021 $@ ## $@ ## $@ $@ ## $@ ## $@ $@ $@@ 18 C022 ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ 19 C023 ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ 20 C024 $@ ## ## $@ ## ## $@ ## $@ ## $@ ## $@ $@ $@@ 21 C025 ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ ## $@ $@@ 22 C026 ## $@ ## $@ ## $@ ## $@ ## ## $@ ## ## $@ ## $@ $@@ 23 C027 ## $@ ## $@ ## $@ $@ ## $@ ## $@ $@ $@@ 24 C030 ## $@ ## ## $@ ## ## $@ ## $@ ## ## $@ ## ## $@ ## $@ $@@ 25 C031 ## $@ ## ## $@ ## ## $@ ## $@ ## $@ ## $@ ## $@ $@@ 26 C032 $@ $@ ##### $@ ##$@ #######$@ ## ##$@ ##### $@ $@@ 27 C033 ### $@ # $@ ### $@ # ##$@ ### # $@ # $@ # $@ ##$@@ 28 C034 ###$@ ####$@ #####$@ ## $@ ## $@ # $@ #### $@ # ###$@@ 29 C035 #### $@ ##### $@ ### ## $@ # $@ # $@ # $@ #### $@ # # # $@@ 30 C036 # #$@ # ##$@ ## #$@ ## $@ ###$@ # ### $@ ### #$@ ### $@@ 31 C037 # $@ # # $@ ## ## $@ # # $@ ## # $@ # $@ ### $@ $@@ 127 C177 $@ ## $@ ## $@ ## # $@ ## # $@ ## # $@ ###### $@ $@@ 0 C000 ########$@ ## ## ##$@ $@ $@ $@ # #$@ ## ##$@ ########$@@
{ "language": "Assembly" }
// go run mkasm_darwin.go amd64 // Code generated by the command above; DO NOT EDIT. // +build go1.12 #include "textflag.h" TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0 JMP libc_getgroups(SB) TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0 JMP libc_setgroups(SB) TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0 JMP libc_wait4(SB) TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0 JMP libc_accept(SB) TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0 JMP libc_bind(SB) TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0 JMP libc_connect(SB) TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0 JMP libc_socket(SB) TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0 JMP libc_getsockopt(SB) TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0 JMP libc_setsockopt(SB) TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0 JMP libc_getpeername(SB) TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0 JMP libc_getsockname(SB) TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0 JMP libc_shutdown(SB) TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0 JMP libc_socketpair(SB) TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0 JMP libc_recvfrom(SB) TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0 JMP libc_sendto(SB) TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0 JMP libc_recvmsg(SB) TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0 JMP libc_sendmsg(SB) TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0 JMP libc_kevent(SB) TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0 JMP libc_utimes(SB) TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0 JMP libc_futimes(SB) TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0 JMP libc_poll(SB) TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0 JMP libc_madvise(SB) TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0 JMP libc_mlock(SB) TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0 JMP libc_mlockall(SB) TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0 JMP libc_mprotect(SB) TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0 JMP libc_msync(SB) TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0 JMP libc_munlock(SB) TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0 JMP libc_munlockall(SB) TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0 JMP libc_getattrlist(SB) TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0 JMP libc_pipe(SB) TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_getxattr(SB) TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_fgetxattr(SB) TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_setxattr(SB) TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_fsetxattr(SB) TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_removexattr(SB) TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_fremovexattr(SB) TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_listxattr(SB) TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0 JMP libc_flistxattr(SB) TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0 JMP libc_setattrlist(SB) TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0 JMP libc_fcntl(SB) TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0 JMP libc_kill(SB) TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0 JMP libc_ioctl(SB) TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0 JMP libc_sysctl(SB) TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0 JMP libc_sendfile(SB) TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0 JMP libc_access(SB) TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0 JMP libc_adjtime(SB) TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0 JMP libc_chdir(SB) TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0 JMP libc_chflags(SB) TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0 JMP libc_chmod(SB) TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0 JMP libc_chown(SB) TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0 JMP libc_chroot(SB) TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0 JMP libc_clock_gettime(SB) TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0 JMP libc_close(SB) TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0 JMP libc_dup(SB) TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0 JMP libc_dup2(SB) TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0 JMP libc_exchangedata(SB) TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0 JMP libc_exit(SB) TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0 JMP libc_faccessat(SB) TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchdir(SB) TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchflags(SB) TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchmod(SB) TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchmodat(SB) TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchown(SB) TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0 JMP libc_fchownat(SB) TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0 JMP libc_flock(SB) TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0 JMP libc_fpathconf(SB) TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0 JMP libc_fsync(SB) TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0 JMP libc_ftruncate(SB) TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0 JMP libc_getdtablesize(SB) TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getegid(SB) TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0 JMP libc_geteuid(SB) TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getgid(SB) TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getpgid(SB) TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0 JMP libc_getpgrp(SB) TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getpid(SB) TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getppid(SB) TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0 JMP libc_getpriority(SB) TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0 JMP libc_getrlimit(SB) TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0 JMP libc_getrusage(SB) TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getsid(SB) TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0 JMP libc_getuid(SB) TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0 JMP libc_issetugid(SB) TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0 JMP libc_kqueue(SB) TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0 JMP libc_lchown(SB) TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0 JMP libc_link(SB) TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0 JMP libc_linkat(SB) TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0 JMP libc_listen(SB) TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0 JMP libc_mkdir(SB) TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0 JMP libc_mkdirat(SB) TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0 JMP libc_mkfifo(SB) TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0 JMP libc_mknod(SB) TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0 JMP libc_open(SB) TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0 JMP libc_openat(SB) TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0 JMP libc_pathconf(SB) TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0 JMP libc_pread(SB) TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0 JMP libc_pwrite(SB) TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0 JMP libc_read(SB) TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0 JMP libc_readlink(SB) TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0 JMP libc_readlinkat(SB) TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0 JMP libc_rename(SB) TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0 JMP libc_renameat(SB) TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0 JMP libc_revoke(SB) TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0 JMP libc_rmdir(SB) TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0 JMP libc_lseek(SB) TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0 JMP libc_select(SB) TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setegid(SB) TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0 JMP libc_seteuid(SB) TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setgid(SB) TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0 JMP libc_setlogin(SB) TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setpgid(SB) TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0 JMP libc_setpriority(SB) TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0 JMP libc_setprivexec(SB) TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setregid(SB) TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setreuid(SB) TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0 JMP libc_setrlimit(SB) TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setsid(SB) TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0 JMP libc_settimeofday(SB) TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0 JMP libc_setuid(SB) TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0 JMP libc_symlink(SB) TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0 JMP libc_symlinkat(SB) TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0 JMP libc_sync(SB) TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0 JMP libc_truncate(SB) TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0 JMP libc_umask(SB) TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0 JMP libc_undelete(SB) TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0 JMP libc_unlink(SB) TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0 JMP libc_unlinkat(SB) TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0 JMP libc_unmount(SB) TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0 JMP libc_write(SB) TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0 JMP libc_mmap(SB) TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0 JMP libc_munmap(SB) TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0 JMP libc_ptrace(SB) TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0 JMP libc_gettimeofday(SB) TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0 JMP libc_fstat64(SB) TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0 JMP libc_fstatat64(SB) TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0 JMP libc_fstatfs64(SB) TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0 JMP libc_getfsstat64(SB) TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0 JMP libc_lstat64(SB) TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0 JMP libc_stat64(SB) TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0 JMP libc_statfs64(SB)
{ "language": "Assembly" }
#include <stdlib.h> #include <ctype.h> #include <stdio.h> #include "agg_color_rgba.h" #include "agg_path_storage.h" #include "agg_bounding_rect.h" static char g_lion[] = "f2cc99\n" "M 69,18 L 82,8 L 99,3 L 118,5 L 135,12 L 149,21 L 156,13 L 165,9 L 177,13 L 183,28 L 180,50 L 164,91 L 155,107 L 154,114 L 151,121 L 141,127 L 139,136 L 155,206 L 157,251 L 126,342 L 133,357 L 128,376 L 83,376 L 75,368 L 67,350 L 61,350 L 53,369 L 4,369 L 2,361 L 5,354 L 12,342 L 16,321 L 4,257 L 4,244 L 7,218 L 9,179 L 26,127 L 43,93 L 32,77 L 30,70 L 24,67 L 16,49 L 17,35 L 18,23 L 30,12 L 40,7 L 53,7 L 62,12 L 69,18 L 69,18 L 69,18\n" "e5b27f\n" "M 142,79 L 136,74 L 138,82 L 133,78 L 133,84 L 127,78 L 128,85 L 124,80 L 125,87 L 119,82 L 119,90 L 125,99 L 125,96 L 128,100 L 128,94 L 131,98 L 132,93 L 135,97 L 136,93 L 138,97 L 139,94 L 141,98 L 143,94 L 144,85 L 142,79 L 142,79 L 142,79\n" "eb8080\n" "M 127,101 L 132,100 L 137,99 L 144,101 L 143,105 L 135,110 L 127,101 L 127,101 L 127,101\n" "f2cc99\n" "M 178,229 L 157,248 L 139,296 L 126,349 L 137,356 L 158,357 L 183,342 L 212,332 L 235,288 L 235,261 L 228,252 L 212,250 L 188,251 L 178,229 L 178,229 L 178,229\n" "9c826b\n" "M 56,229 L 48,241 L 48,250 L 57,281 L 63,325 L 71,338 L 81,315 L 76,321 L 79,311 L 83,301 L 75,308 L 80,298 L 73,303 L 76,296 L 71,298 L 74,292 L 69,293 L 74,284 L 78,278 L 71,278 L 74,274 L 68,273 L 70,268 L 66,267 L 68,261 L 60,266 L 62,259 L 65,253 L 57,258 L 59,251 L 55,254 L 55,248 L 60,237 L 54,240 L 58,234 L 54,236 L 56,229 L 56,229 L 56,229\n" "M 74,363 L 79,368 L 81,368 L 85,362 L 89,363 L 92,370 L 96,373 L 101,372 L 108,361 L 110,371 L 113,373 L 116,371 L 120,358 L 122,363 L 123,371 L 126,371 L 129,367 L 132,357 L 135,361 L 130,376 L 127,377 L 94,378 L 84,376 L 76,371 L 74,363 L 74,363 L 74,363\n" "M 212,250 L 219,251 L 228,258 L 236,270 L 235,287 L 225,304 L 205,332 L 177,343 L 171,352 L 158,357 L 166,352 L 168,346 L 168,339 L 165,333 L 155,327 L 155,323 L 161,320 L 165,316 L 169,316 L 167,312 L 171,313 L 168,308 L 173,309 L 170,306 L 177,306 L 175,308 L 177,311 L 174,311 L 176,316 L 171,315 L 174,319 L 168,320 L 168,323 L 175,327 L 179,332 L 183,326 L 184,332 L 189,323 L 190,328 L 194,320 L 194,325 L 199,316 L 201,320 L 204,313 L 206,316 L 208,310 L 211,305 L 219,298 L 226,288 L 229,279 L 228,266 L 224,259 L 217,253 L 212,250 L 212,250 L 212,250\n" "M 151,205 L 151,238 L 149,252 L 141,268 L 128,282 L 121,301 L 130,300 L 126,313 L 118,324 L 116,337 L 120,346 L 133,352 L 133,340 L 137,333 L 145,329 L 156,327 L 153,319 L 153,291 L 157,271 L 170,259 L 178,277 L 193,250 L 174,216 L 151,205 L 151,205 L 151,205\n" "M 78,127 L 90,142 L 95,155 L 108,164 L 125,167 L 139,175 L 150,206 L 152,191 L 141,140 L 121,148 L 100,136 L 78,127 L 78,127 L 78,127\n" "M 21,58 L 35,63 L 38,68 L 32,69 L 42,74 L 40,79 L 47,80 L 54,83 L 45,94 L 34,81 L 32,73 L 24,66 L 21,58 L 21,58 L 21,58\n" "M 71,34 L 67,34 L 66,27 L 59,24 L 54,17 L 48,17 L 39,22 L 30,26 L 28,31 L 31,39 L 38,46 L 29,45 L 36,54 L 41,61 L 41,70 L 50,69 L 54,71 L 55,58 L 67,52 L 76,43 L 76,39 L 68,44 L 71,34 L 71,34 L 71,34\n" "M 139,74 L 141,83 L 143,89 L 144,104 L 148,104 L 155,106 L 154,86 L 157,77 L 155,72 L 150,77 L 144,77 L 139,74 L 139,74 L 139,74\n" "M 105,44 L 102,53 L 108,58 L 111,62 L 112,55 L 105,44 L 105,44 L 105,44\n" "M 141,48 L 141,54 L 144,58 L 139,62 L 137,66 L 136,59 L 137,52 L 141,48 L 141,48 L 141,48\n" "M 98,135 L 104,130 L 105,134 L 108,132 L 108,135 L 112,134 L 113,137 L 116,136 L 116,139 L 119,139 L 124,141 L 128,140 L 133,138 L 140,133 L 139,140 L 126,146 L 104,144 L 98,135 L 98,135 L 98,135\n" "M 97,116 L 103,119 L 103,116 L 111,118 L 116,117 L 122,114 L 127,107 L 135,111 L 142,107 L 141,114 L 145,118 L 149,121 L 145,125 L 140,124 L 127,121 L 113,125 L 100,124 L 97,116 L 97,116 L 97,116\n" "M 147,33 L 152,35 L 157,34 L 153,31 L 160,31 L 156,28 L 161,28 L 159,24 L 163,25 L 163,21 L 165,22 L 170,23 L 167,17 L 172,21 L 174,18 L 175,23 L 176,22 L 177,28 L 177,33 L 174,37 L 176,39 L 174,44 L 171,49 L 168,53 L 164,57 L 159,68 L 156,70 L 154,60 L 150,51 L 146,43 L 144,35 L 147,33 L 147,33 L 147,33\n" "M 85,72 L 89,74 L 93,75 L 100,76 L 105,75 L 102,79 L 94,79 L 88,76 L 85,72 L 85,72 L 85,72\n" "M 86,214 L 79,221 L 76,232 L 82,225 L 78,239 L 82,234 L 78,245 L 81,243 L 79,255 L 84,250 L 84,267 L 87,254 L 90,271 L 90,257 L 95,271 L 93,256 L 95,249 L 92,252 L 93,243 L 89,253 L 89,241 L 86,250 L 87,236 L 83,245 L 87,231 L 82,231 L 90,219 L 84,221 L 86,214 L 86,214 L 86,214\n" "ffcc7f\n" "M 93,68 L 96,72 L 100,73 L 106,72 L 108,66 L 105,63 L 100,62 L 93,68 L 93,68 L 93,68\n" "M 144,64 L 142,68 L 142,73 L 146,74 L 150,73 L 154,64 L 149,62 L 144,64 L 144,64 L 144,64\n" "9c826b\n" "M 57,91 L 42,111 L 52,105 L 41,117 L 53,112 L 46,120 L 53,116 L 50,124 L 57,119 L 55,127 L 61,122 L 60,130 L 67,126 L 66,134 L 71,129 L 72,136 L 77,130 L 76,137 L 80,133 L 82,138 L 86,135 L 96,135 L 94,129 L 86,124 L 83,117 L 77,123 L 79,117 L 73,120 L 75,112 L 68,116 L 71,111 L 65,114 L 69,107 L 63,110 L 68,102 L 61,107 L 66,98 L 61,103 L 63,97 L 57,99 L 57,91 L 57,91 L 57,91\n" "M 83,79 L 76,79 L 67,82 L 75,83 L 65,88 L 76,87 L 65,92 L 76,91 L 68,96 L 77,95 L 70,99 L 80,98 L 72,104 L 80,102 L 76,108 L 85,103 L 92,101 L 87,98 L 93,96 L 86,94 L 91,93 L 85,91 L 93,89 L 99,89 L 105,93 L 107,85 L 102,82 L 92,80 L 83,79 L 83,79 L 83,79\n" "M 109,77 L 111,83 L 109,89 L 113,94 L 117,90 L 117,81 L 114,78 L 109,77 L 109,77 L 109,77\n" "M 122,128 L 127,126 L 134,127 L 136,129 L 134,130 L 130,128 L 124,129 L 122,128 L 122,128 L 122,128\n" "M 78,27 L 82,32 L 80,33 L 82,36 L 78,37 L 82,40 L 78,42 L 81,46 L 76,47 L 78,49 L 74,50 L 82,52 L 87,50 L 83,48 L 91,46 L 86,45 L 91,42 L 88,40 L 92,37 L 86,34 L 90,31 L 86,29 L 89,26 L 78,27 L 78,27 L 78,27\n" "M 82,17 L 92,20 L 79,21 L 90,25 L 81,25 L 94,28 L 93,26 L 101,30 L 101,26 L 107,33 L 108,28 L 111,40 L 113,34 L 115,45 L 117,39 L 119,54 L 121,46 L 124,58 L 126,47 L 129,59 L 130,49 L 134,58 L 133,44 L 137,48 L 133,37 L 137,40 L 133,32 L 126,20 L 135,26 L 132,19 L 138,23 L 135,17 L 142,18 L 132,11 L 116,6 L 94,6 L 78,11 L 92,12 L 80,14 L 90,16 L 82,17 L 82,17 L 82,17\n" "M 142,234 L 132,227 L 124,223 L 115,220 L 110,225 L 118,224 L 127,229 L 135,236 L 122,234 L 115,237 L 113,242 L 121,238 L 139,243 L 121,245 L 111,254 L 95,254 L 102,244 L 104,235 L 110,229 L 100,231 L 104,224 L 113,216 L 122,215 L 132,217 L 141,224 L 145,230 L 149,240 L 142,234 L 142,234 L 142,234\n" "M 115,252 L 125,248 L 137,249 L 143,258 L 134,255 L 125,254 L 115,252 L 115,252 L 115,252\n" "M 114,212 L 130,213 L 140,219 L 147,225 L 144,214 L 137,209 L 128,207 L 114,212 L 114,212 L 114,212\n" "M 102,263 L 108,258 L 117,257 L 131,258 L 116,260 L 109,265 L 102,263 L 102,263 L 102,263\n" "M 51,241 L 35,224 L 40,238 L 23,224 L 31,242 L 19,239 L 28,247 L 17,246 L 25,250 L 37,254 L 39,263 L 44,271 L 47,294 L 48,317 L 51,328 L 60,351 L 60,323 L 53,262 L 47,246 L 51,241 L 51,241 L 51,241\n" "M 2,364 L 9,367 L 14,366 L 18,355 L 20,364 L 26,366 L 31,357 L 35,364 L 39,364 L 42,357 L 47,363 L 53,360 L 59,357 L 54,369 L 7,373 L 2,364 L 2,364 L 2,364\n" "M 7,349 L 19,345 L 25,339 L 18,341 L 23,333 L 28,326 L 23,326 L 27,320 L 23,316 L 25,311 L 20,298 L 15,277 L 12,264 L 9,249 L 10,223 L 3,248 L 5,261 L 15,307 L 17,326 L 11,343 L 7,349 L 7,349 L 7,349\n" "M 11,226 L 15,231 L 25,236 L 18,227 L 11,226 L 11,226 L 11,226\n" "M 13,214 L 19,217 L 32,227 L 23,214 L 16,208 L 15,190 L 24,148 L 31,121 L 24,137 L 14,170 L 8,189 L 13,214 L 13,214 L 13,214\n" "M 202,254 L 195,258 L 199,260 L 193,263 L 197,263 L 190,268 L 196,268 L 191,273 L 188,282 L 200,272 L 194,272 L 201,266 L 197,265 L 204,262 L 200,258 L 204,256 L 202,254 L 202,254 L 202,254\n" "845433\n" "M 151,213 L 165,212 L 179,225 L 189,246 L 187,262 L 179,275 L 176,263 L 177,247 L 171,233 L 163,230 L 165,251 L 157,264 L 146,298 L 145,321 L 133,326 L 143,285 L 154,260 L 153,240 L 151,213 L 151,213 L 151,213\n" "M 91,132 L 95,145 L 97,154 L 104,148 L 107,155 L 109,150 L 111,158 L 115,152 L 118,159 L 120,153 L 125,161 L 126,155 L 133,164 L 132,154 L 137,163 L 137,152 L 142,163 L 147,186 L 152,192 L 148,167 L 141,143 L 124,145 L 105,143 L 91,132 L 91,132 L 91,132\n" "9c826b\n" "M 31,57 L 23,52 L 26,51 L 20,44 L 23,42 L 21,36 L 22,29 L 25,23 L 24,32 L 30,43 L 26,41 L 30,50 L 26,48 L 31,57 L 31,57 L 31,57\n" "M 147,21 L 149,28 L 155,21 L 161,16 L 167,14 L 175,15 L 173,11 L 161,9 L 147,21 L 147,21 L 147,21\n" "M 181,39 L 175,51 L 169,57 L 171,65 L 165,68 L 165,75 L 160,76 L 162,91 L 171,71 L 180,51 L 181,39 L 181,39 L 181,39\n" "M 132,346 L 139,348 L 141,346 L 142,341 L 147,342 L 143,355 L 133,350 L 132,346 L 132,346 L 132,346\n" "M 146,355 L 151,352 L 155,348 L 157,343 L 160,349 L 151,356 L 147,357 L 146,355 L 146,355 L 146,355\n" "M 99,266 L 100,281 L 94,305 L 86,322 L 78,332 L 72,346 L 73,331 L 91,291 L 99,266 L 99,266 L 99,266\n" "M 20,347 L 32,342 L 45,340 L 54,345 L 45,350 L 42,353 L 38,350 L 31,353 L 29,356 L 23,350 L 19,353 L 15,349 L 20,347 L 20,347 L 20,347\n" "M 78,344 L 86,344 L 92,349 L 88,358 L 84,352 L 78,344 L 78,344 L 78,344\n" "M 93,347 L 104,344 L 117,345 L 124,354 L 121,357 L 116,351 L 112,351 L 108,355 L 102,351 L 93,347 L 93,347 L 93,347\n" "000000\n" "M 105,12 L 111,18 L 113,24 L 113,29 L 119,34 L 116,23 L 112,16 L 105,12 L 105,12 L 105,12\n" "M 122,27 L 125,34 L 127,43 L 128,34 L 125,29 L 122,27 L 122,27 L 122,27\n" "M 115,13 L 122,19 L 122,15 L 113,10 L 115,13 L 115,13 L 115,13\n" "ffe5b2\n" "M 116,172 L 107,182 L 98,193 L 98,183 L 90,199 L 89,189 L 84,207 L 88,206 L 87,215 L 95,206 L 93,219 L 91,230 L 98,216 L 97,226 L 104,214 L 112,209 L 104,208 L 113,202 L 126,200 L 139,207 L 132,198 L 142,203 L 134,192 L 142,195 L 134,187 L 140,185 L 130,181 L 136,177 L 126,177 L 125,171 L 116,180 L 116,172 L 116,172 L 116,172\n" "M 74,220 L 67,230 L 67,221 L 59,235 L 63,233 L 60,248 L 70,232 L 65,249 L 71,243 L 67,256 L 73,250 L 69,262 L 73,259 L 71,267 L 76,262 L 72,271 L 78,270 L 76,275 L 82,274 L 78,290 L 86,279 L 86,289 L 92,274 L 88,275 L 87,264 L 82,270 L 82,258 L 77,257 L 78,247 L 73,246 L 77,233 L 72,236 L 74,220 L 74,220 L 74,220\n" "M 133,230 L 147,242 L 148,250 L 145,254 L 138,247 L 129,246 L 142,245 L 138,241 L 128,237 L 137,238 L 133,230 L 133,230 L 133,230\n" "M 133,261 L 125,261 L 116,263 L 111,267 L 125,265 L 133,261 L 133,261 L 133,261\n" "M 121,271 L 109,273 L 103,279 L 99,305 L 92,316 L 85,327 L 83,335 L 89,340 L 97,341 L 94,336 L 101,336 L 96,331 L 103,330 L 97,327 L 108,325 L 99,322 L 109,321 L 100,318 L 110,317 L 105,314 L 110,312 L 107,310 L 113,308 L 105,306 L 114,303 L 105,301 L 115,298 L 107,295 L 115,294 L 108,293 L 117,291 L 109,289 L 117,286 L 109,286 L 118,283 L 112,281 L 118,279 L 114,278 L 119,276 L 115,274 L 121,271 L 121,271 L 121,271\n" "M 79,364 L 74,359 L 74,353 L 76,347 L 80,351 L 83,356 L 82,360 L 79,364 L 79,364 L 79,364\n" "M 91,363 L 93,356 L 97,353 L 103,355 L 105,360 L 103,366 L 99,371 L 94,368 L 91,363 L 91,363 L 91,363\n" "M 110,355 L 114,353 L 118,357 L 117,363 L 113,369 L 111,362 L 110,355 L 110,355 L 110,355\n" "M 126,354 L 123,358 L 124,367 L 126,369 L 129,361 L 129,357 L 126,354 L 126,354 L 126,354\n" "M 30,154 L 24,166 L 20,182 L 23,194 L 29,208 L 37,218 L 41,210 L 41,223 L 46,214 L 46,227 L 52,216 L 52,227 L 61,216 L 59,225 L 68,213 L 73,219 L 70,207 L 77,212 L 69,200 L 77,202 L 70,194 L 78,197 L 68,187 L 76,182 L 64,182 L 58,175 L 58,185 L 53,177 L 50,186 L 46,171 L 44,182 L 39,167 L 36,172 L 36,162 L 30,166 L 30,154 L 30,154 L 30,154\n" "M 44,130 L 41,137 L 45,136 L 43,150 L 48,142 L 48,157 L 53,150 L 52,164 L 60,156 L 61,169 L 64,165 L 66,175 L 70,167 L 74,176 L 77,168 L 80,183 L 85,172 L 90,182 L 93,174 L 98,181 L 99,173 L 104,175 L 105,169 L 114,168 L 102,163 L 95,157 L 94,166 L 90,154 L 87,162 L 82,149 L 75,159 L 72,148 L 68,155 L 67,143 L 62,148 L 62,138 L 58,145 L 56,133 L 52,142 L 52,128 L 49,134 L 47,125 L 44,130 L 44,130 L 44,130\n" "M 13,216 L 19,219 L 36,231 L 22,223 L 16,222 L 22,227 L 12,224 L 13,220 L 16,220 L 13,216 L 13,216 L 13,216\n" "M 10,231 L 14,236 L 25,239 L 27,237 L 19,234 L 10,231 L 10,231 L 10,231\n" "M 9,245 L 14,242 L 25,245 L 13,245 L 9,245 L 9,245 L 9,245\n" "M 33,255 L 26,253 L 18,254 L 25,256 L 18,258 L 27,260 L 18,263 L 27,265 L 19,267 L 29,270 L 21,272 L 29,276 L 21,278 L 30,281 L 22,283 L 31,287 L 24,288 L 32,292 L 23,293 L 34,298 L 26,299 L 37,303 L 32,305 L 39,309 L 33,309 L 39,314 L 34,314 L 40,318 L 34,317 L 40,321 L 34,321 L 41,326 L 33,326 L 40,330 L 33,332 L 39,333 L 33,337 L 42,337 L 54,341 L 49,337 L 52,335 L 47,330 L 50,330 L 45,325 L 49,325 L 45,321 L 48,321 L 45,316 L 46,306 L 45,286 L 43,274 L 36,261 L 33,255 L 33,255 L 33,255\n" "M 7,358 L 9,351 L 14,351 L 17,359 L 11,364 L 7,358 L 7,358 L 7,358\n" "M 44,354 L 49,351 L 52,355 L 49,361 L 44,354 L 44,354 L 44,354\n" "M 32,357 L 37,353 L 40,358 L 36,361 L 32,357 L 32,357 L 32,357\n" "M 139,334 L 145,330 L 154,330 L 158,334 L 154,341 L 152,348 L 145,350 L 149,340 L 147,336 L 141,339 L 139,345 L 136,342 L 136,339 L 139,334 L 139,334 L 139,334\n" "M 208,259 L 215,259 L 212,255 L 220,259 L 224,263 L 225,274 L 224,283 L 220,292 L 208,300 L 206,308 L 203,304 L 199,315 L 197,309 L 195,318 L 193,313 L 190,322 L 190,316 L 185,325 L 182,318 L 180,325 L 172,321 L 178,320 L 176,313 L 186,312 L 180,307 L 188,307 L 184,303 L 191,302 L 186,299 L 195,294 L 187,290 L 197,288 L 192,286 L 201,283 L 194,280 L 203,277 L 198,275 L 207,271 L 200,269 L 209,265 L 204,265 L 212,262 L 208,259 L 208,259 L 208,259\n" "M 106,126 L 106,131 L 109,132 L 111,134 L 115,132 L 115,135 L 119,133 L 118,137 L 123,137 L 128,137 L 133,134 L 136,130 L 136,127 L 132,124 L 118,128 L 112,128 L 106,126 L 106,126 L 106,126\n" "M 107,114 L 101,110 L 98,102 L 105,97 L 111,98 L 119,102 L 121,108 L 118,112 L 113,115 L 107,114 L 107,114 L 107,114\n" "M 148,106 L 145,110 L 146,116 L 150,118 L 152,111 L 151,107 L 148,106 L 148,106 L 148,106\n" "M 80,55 L 70,52 L 75,58 L 63,57 L 72,61 L 57,61 L 67,66 L 57,67 L 62,69 L 54,71 L 61,73 L 54,77 L 63,78 L 53,85 L 60,84 L 56,90 L 69,84 L 63,82 L 75,76 L 70,75 L 77,72 L 72,71 L 78,69 L 72,66 L 81,67 L 78,64 L 82,63 L 80,60 L 86,62 L 80,55 L 80,55 L 80,55\n" "M 87,56 L 91,52 L 96,50 L 102,56 L 98,56 L 92,60 L 87,56 L 87,56 L 87,56\n" "M 85,68 L 89,73 L 98,76 L 106,74 L 96,73 L 91,70 L 85,68 L 85,68 L 85,68\n" "M 115,57 L 114,64 L 111,64 L 115,75 L 122,81 L 122,74 L 126,79 L 126,74 L 131,78 L 130,72 L 133,77 L 131,68 L 126,61 L 119,57 L 115,57 L 115,57 L 115,57\n" "M 145,48 L 143,53 L 147,59 L 151,59 L 150,55 L 145,48 L 145,48 L 145,48\n" "M 26,22 L 34,15 L 43,10 L 52,10 L 59,16 L 47,15 L 32,22 L 26,22 L 26,22 L 26,22\n" "M 160,19 L 152,26 L 149,34 L 154,33 L 152,30 L 157,30 L 155,26 L 158,27 L 157,23 L 161,23 L 160,19 L 160,19 L 160,19\n" "000000\n" "M 98,117 L 105,122 L 109,122 L 105,117 L 113,120 L 121,120 L 130,112 L 128,108 L 123,103 L 123,99 L 128,101 L 132,106 L 135,109 L 142,105 L 142,101 L 145,101 L 145,91 L 148,101 L 145,105 L 136,112 L 135,116 L 143,124 L 148,120 L 150,122 L 142,128 L 133,122 L 121,125 L 112,126 L 103,125 L 100,129 L 96,124 L 98,117 L 98,117 L 98,117\n" "M 146,118 L 152,118 L 152,115 L 149,115 L 146,118 L 146,118 L 146,118\n" "M 148,112 L 154,111 L 154,109 L 149,109 L 148,112 L 148,112 L 148,112\n" "M 106,112 L 108,115 L 114,116 L 118,114 L 106,112 L 106,112 L 106,112\n" "M 108,108 L 111,110 L 116,110 L 119,108 L 108,108 L 108,108 L 108,108\n" "M 106,104 L 109,105 L 117,106 L 115,104 L 106,104 L 106,104 L 106,104\n" "M 50,25 L 41,26 L 34,33 L 39,43 L 49,58 L 36,51 L 47,68 L 55,69 L 54,59 L 61,57 L 74,46 L 60,52 L 67,42 L 57,48 L 61,40 L 54,45 L 60,36 L 59,29 L 48,38 L 52,30 L 47,32 L 50,25 L 50,25 L 50,25\n" "M 147,34 L 152,41 L 155,49 L 161,53 L 157,47 L 164,47 L 158,43 L 168,44 L 159,40 L 164,37 L 169,37 L 164,33 L 169,34 L 165,28 L 170,30 L 170,25 L 173,29 L 175,27 L 176,32 L 173,36 L 175,39 L 172,42 L 172,46 L 168,49 L 170,55 L 162,57 L 158,63 L 155,58 L 153,50 L 149,46 L 147,34 L 147,34 L 147,34\n" "M 155,71 L 159,80 L 157,93 L 157,102 L 155,108 L 150,101 L 149,93 L 154,101 L 152,91 L 151,83 L 155,79 L 155,71 L 155,71 L 155,71\n" "M 112,78 L 115,81 L 114,91 L 112,87 L 113,82 L 112,78 L 112,78 L 112,78\n" "M 78,28 L 64,17 L 58,11 L 47,9 L 36,10 L 28,16 L 21,26 L 18,41 L 20,51 L 23,61 L 33,65 L 28,68 L 37,74 L 36,81 L 43,87 L 48,90 L 43,100 L 40,98 L 39,90 L 31,80 L 30,72 L 22,71 L 17,61 L 14,46 L 16,28 L 23,17 L 33,9 L 45,6 L 54,6 L 65,12 L 78,28 L 78,28 L 78,28\n" "M 67,18 L 76,9 L 87,5 L 101,2 L 118,3 L 135,8 L 149,20 L 149,26 L 144,19 L 132,12 L 121,9 L 105,7 L 89,8 L 76,14 L 70,20 L 67,18 L 67,18 L 67,18\n" "M 56,98 L 48,106 L 56,103 L 47,112 L 56,110 L 52,115 L 57,113 L 52,121 L 62,115 L 58,123 L 65,119 L 63,125 L 69,121 L 68,127 L 74,125 L 74,129 L 79,128 L 83,132 L 94,135 L 93,129 L 85,127 L 81,122 L 76,126 L 75,121 L 71,124 L 71,117 L 66,121 L 66,117 L 62,117 L 64,112 L 60,113 L 60,110 L 57,111 L 61,105 L 57,107 L 60,101 L 55,102 L 56,98 L 56,98 L 56,98\n" "M 101,132 L 103,138 L 106,134 L 106,139 L 112,136 L 111,142 L 115,139 L 114,143 L 119,142 L 125,145 L 131,142 L 135,138 L 140,134 L 140,129 L 143,135 L 145,149 L 150,171 L 149,184 L 145,165 L 141,150 L 136,147 L 132,151 L 131,149 L 126,152 L 125,150 L 121,152 L 117,148 L 111,152 L 110,148 L 105,149 L 104,145 L 98,150 L 96,138 L 94,132 L 94,130 L 98,132 L 101,132 L 101,132 L 101,132\n" "M 41,94 L 32,110 L 23,132 L 12,163 L 6,190 L 7,217 L 5,236 L 3,247 L 9,230 L 12,211 L 12,185 L 18,160 L 26,134 L 35,110 L 43,99 L 41,94 L 41,94 L 41,94\n" "M 32,246 L 41,250 L 50,257 L 52,267 L 53,295 L 53,323 L 59,350 L 54,363 L 51,365 L 44,366 L 42,360 L 40,372 L 54,372 L 59,366 L 62,353 L 71,352 L 75,335 L 73,330 L 66,318 L 68,302 L 64,294 L 67,288 L 63,286 L 63,279 L 59,275 L 58,267 L 56,262 L 50,247 L 42,235 L 44,246 L 32,236 L 35,244 L 32,246 L 32,246 L 32,246\n" "M 134,324 L 146,320 L 159,322 L 173,327 L 179,337 L 179,349 L 172,355 L 158,357 L 170,350 L 174,343 L 170,333 L 163,328 L 152,326 L 134,329 L 134,324 L 134,324 L 134,324\n" "M 173,339 L 183,334 L 184,338 L 191,329 L 194,332 L 199,323 L 202,325 L 206,318 L 209,320 L 213,309 L 221,303 L 228,296 L 232,289 L 234,279 L 233,269 L 230,262 L 225,256 L 219,253 L 208,252 L 198,252 L 210,249 L 223,250 L 232,257 L 237,265 L 238,277 L 238,291 L 232,305 L 221,323 L 218,335 L 212,342 L 200,349 L 178,348 L 173,339 L 173,339 L 173,339\n" "M 165,296 L 158,301 L 156,310 L 156,323 L 162,324 L 159,318 L 162,308 L 162,304 L 165,296 L 165,296 L 165,296\n" "M 99,252 L 105,244 L 107,234 L 115,228 L 121,228 L 131,235 L 122,233 L 113,235 L 109,246 L 121,239 L 133,243 L 121,243 L 110,251 L 99,252 L 99,252 L 99,252\n" "M 117,252 L 124,247 L 134,249 L 136,253 L 126,252 L 117,252 L 117,252 L 117,252\n" "M 117,218 L 132,224 L 144,233 L 140,225 L 132,219 L 117,218 L 117,218 L 117,218\n" "M 122,212 L 134,214 L 143,221 L 141,213 L 132,210 L 122,212 L 122,212 L 122,212\n" "M 69,352 L 70,363 L 76,373 L 86,378 L 97,379 L 108,379 L 120,377 L 128,378 L 132,373 L 135,361 L 133,358 L 132,366 L 127,375 L 121,374 L 121,362 L 119,367 L 117,374 L 110,376 L 110,362 L 107,357 L 106,371 L 104,375 L 97,376 L 90,375 L 90,368 L 86,362 L 83,364 L 86,369 L 85,373 L 78,370 L 73,362 L 71,351 L 69,352 L 69,352 L 69,352\n" "M 100,360 L 96,363 L 99,369 L 102,364 L 100,360 L 100,360 L 100,360\n" "M 115,360 L 112,363 L 114,369 L 117,364 L 115,360 L 115,360 L 115,360\n" "M 127,362 L 125,364 L 126,369 L 128,365 L 127,362 L 127,362 L 127,362\n" "M 5,255 L 7,276 L 11,304 L 15,320 L 13,334 L 6,348 L 2,353 L 0,363 L 5,372 L 12,374 L 25,372 L 38,372 L 44,369 L 42,367 L 36,368 L 31,369 L 30,360 L 27,368 L 20,370 L 16,361 L 15,368 L 10,369 L 3,366 L 3,359 L 6,352 L 11,348 L 17,331 L 19,316 L 12,291 L 9,274 L 5,255 L 5,255 L 5,255\n" "M 10,358 L 7,362 L 10,366 L 11,362 L 10,358 L 10,358 L 10,358\n" "M 25,357 L 22,360 L 24,366 L 27,360 L 25,357 L 25,357 L 25,357\n" "M 37,357 L 34,361 L 36,365 L 38,361 L 37,357 L 37,357 L 37,357\n" "M 49,356 L 46,359 L 47,364 L 50,360 L 49,356 L 49,356 L 49,356\n" "M 130,101 L 132,102 L 135,101 L 139,102 L 143,103 L 142,101 L 137,100 L 133,100 L 130,101 L 130,101 L 130,101\n" "M 106,48 L 105,52 L 108,56 L 109,52 L 106,48 L 106,48 L 106,48\n" "M 139,52 L 139,56 L 140,60 L 142,58 L 141,56 L 139,52 L 139,52 L 139,52\n" "M 25,349 L 29,351 L 30,355 L 33,350 L 37,348 L 42,351 L 45,347 L 49,345 L 44,343 L 36,345 L 25,349 L 25,349 L 25,349\n" "M 98,347 L 105,351 L 107,354 L 109,349 L 115,349 L 120,353 L 118,349 L 113,346 L 104,346 L 98,347 L 98,347 L 98,347\n" "M 83,348 L 87,352 L 87,357 L 89,351 L 87,348 L 83,348 L 83,348 L 83,348\n" "M 155,107 L 163,107 L 170,107 L 186,108 L 175,109 L 155,109 L 155,107 L 155,107 L 155,107\n" "M 153,114 L 162,113 L 175,112 L 192,114 L 173,114 L 154,115 L 153,114 L 153,114 L 153,114\n" "M 152,118 L 164,120 L 180,123 L 197,129 L 169,123 L 151,120 L 152,118 L 152,118 L 152,118\n" "M 68,109 L 87,106 L 107,106 L 106,108 L 88,108 L 68,109 L 68,109 L 68,109\n" "M 105,111 L 95,112 L 79,114 L 71,116 L 85,115 L 102,113 L 105,111 L 105,111 L 105,111\n" "M 108,101 L 98,99 L 87,99 L 78,99 L 93,100 L 105,102 L 108,101 L 108,101 L 108,101\n" "M 85,63 L 91,63 L 97,60 L 104,60 L 108,62 L 111,69 L 112,75 L 110,74 L 108,71 L 103,73 L 106,69 L 105,65 L 103,64 L 103,67 L 102,70 L 99,70 L 97,66 L 94,67 L 97,72 L 88,67 L 84,66 L 85,63 L 85,63 L 85,63\n" "M 140,74 L 141,66 L 144,61 L 150,61 L 156,62 L 153,70 L 150,73 L 152,65 L 150,65 L 151,68 L 149,71 L 146,71 L 144,66 L 143,70 L 143,74 L 140,74 L 140,74 L 140,74\n" "M 146,20 L 156,11 L 163,9 L 172,9 L 178,14 L 182,18 L 184,32 L 182,42 L 182,52 L 177,58 L 176,67 L 171,76 L 165,90 L 157,105 L 160,92 L 164,85 L 168,78 L 167,73 L 173,66 L 172,62 L 175,59 L 174,55 L 177,53 L 180,46 L 181,29 L 179,21 L 173,13 L 166,11 L 159,13 L 153,18 L 148,23 L 146,20 L 146,20 L 146,20\n" "M 150,187 L 148,211 L 150,233 L 153,247 L 148,267 L 135,283 L 125,299 L 136,292 L 131,313 L 122,328 L 122,345 L 129,352 L 133,359 L 133,367 L 137,359 L 148,356 L 140,350 L 131,347 L 129,340 L 132,332 L 140,328 L 137,322 L 140,304 L 154,265 L 157,244 L 155,223 L 161,220 L 175,229 L 186,247 L 185,260 L 176,275 L 178,287 L 185,277 L 188,261 L 196,253 L 189,236 L 174,213 L 150,187 L 150,187 L 150,187\n" "M 147,338 L 142,341 L 143,345 L 141,354 L 147,343 L 147,338 L 147,338 L 147,338\n" "M 157,342 L 156,349 L 150,356 L 157,353 L 163,346 L 162,342 L 157,342 L 157,342 L 157,342\n" "M 99,265 L 96,284 L 92,299 L 73,339 L 73,333 L 87,300 L 99,265 L 99,265 L 99,265\n"; unsigned parse_lion(agg::path_storage& path, agg::srgba8* colors, unsigned* path_idx) { // Parse the lion and then detect its bounding // box and arrange polygons orientations (make all polygons // oriented clockwise or counterclockwise) const char* ptr = g_lion; unsigned npaths = 0; while(*ptr) { if(*ptr != 'M' && isalnum(*ptr)) { unsigned c = 0; sscanf(ptr, "%x", &c); // New color. Every new color creates new path in the path object. path.close_polygon(); colors[npaths] = agg::rgb8_packed(c); path_idx[npaths] = path.start_new_path(); npaths++; while(*ptr && *ptr != '\n') ptr++; if(*ptr == '\n') ptr++; } else { double x = 0.0; double y = 0.0; while(*ptr && *ptr != '\n') { int c = *ptr; while(*ptr && !isdigit(*ptr)) ptr++; x = atof(ptr); while(*ptr && isdigit(*ptr)) ptr++; while(*ptr && !isdigit(*ptr)) ptr++; y = atof(ptr); if(c == 'M') { path.close_polygon(); path.move_to(x, y); } else { path.line_to(x, y); } while(*ptr && isdigit(*ptr)) ptr++; while(*ptr && *ptr != '\n' && !isalpha(*ptr)) ptr++; } if(*ptr == '\n') ptr++; } } path.arrange_orientations_all_paths(agg::path_flags_cw); return npaths; }
{ "language": "Assembly" }
; ; Ullrich von Bassewitz, 2002-12-20 ; ; Common functions of the joystick API. ; .import joy_libref .importzp ptr1 .include "joy-kernel.inc" .include "joy-error.inc" ;---------------------------------------------------------------------------- ; Variables .bss _joy_drv: .res 2 ; Pointer to driver ; Jump table for the driver functions. .data joy_vectors: joy_install: jmp $0000 joy_uninstall: jmp $0000 joy_count: jmp $0000 joy_read: jmp $0000 ; Driver header signature .rodata joy_sig: .byte $6A, $6F, $79, JOY_API_VERSION ; "joy", version .code ;---------------------------------------------------------------------------- ; unsigned char __fastcall__ joy_install (void* driver); ; /* Install the driver once it is loaded */ _joy_install: sta _joy_drv sta ptr1 stx _joy_drv+1 stx ptr1+1 ; Check the driver signature ldy #.sizeof(joy_sig)-1 @L0: lda (ptr1),y cmp joy_sig,y bne inv_drv dey bpl @L0 ; Set the library reference ldy #JOY_HDR::LIBREF lda #<joy_libref sta (ptr1),y iny lda #>joy_libref sta (ptr1),y ; Copy the jump vectors ldy #JOY_HDR::JUMPTAB ldx #0 @L1: inx ; Skip the JMP opcode jsr copy ; Copy one byte jsr copy ; Copy one byte cpy #(JOY_HDR::JUMPTAB + .sizeof(JOY_HDR::JUMPTAB)) bne @L1 jmp joy_install ; Call driver install routine ; Driver signature invalid inv_drv: lda #JOY_ERR_INV_DRIVER ldx #0 rts ; Copy one byte from the jump vectors copy: lda (ptr1),y iny sta joy_vectors,x inx rts ;---------------------------------------------------------------------------- ; unsigned char joy_uninstall (void); ; /* Uninstall the currently loaded driver. Note: This call does not free ; ** allocated memory. ; */ _joy_uninstall: jsr joy_uninstall ; Call the driver routine _joy_clear_ptr: ; External entry point lda #0 sta _joy_drv sta _joy_drv+1 ; Clear the driver pointer tax ; Return zero rts
{ "language": "Assembly" }
glabel func_80029724 /* AA08C4 80029724 27BDFFB8 */ addiu $sp, $sp, -0x48 /* AA08C8 80029728 AFBF0014 */ sw $ra, 0x14($sp) /* AA08CC 8002972C AFA40048 */ sw $a0, 0x48($sp) /* AA08D0 80029730 AFA60050 */ sw $a2, 0x50($sp) /* AA08D4 80029734 AFA70054 */ sw $a3, 0x54($sp) /* AA08D8 80029738 0C01DF90 */ jal Math_Vec3f_Copy /* AA08DC 8002973C 27A40018 */ addiu $a0, $sp, 0x18 /* AA08E0 80029740 27A40024 */ addiu $a0, $sp, 0x24 /* AA08E4 80029744 0C01DF90 */ jal Math_Vec3f_Copy /* AA08E8 80029748 8FA50050 */ lw $a1, 0x50($sp) /* AA08EC 8002974C 27A40030 */ addiu $a0, $sp, 0x30 /* AA08F0 80029750 0C01DF90 */ jal Math_Vec3f_Copy /* AA08F4 80029754 8FA50054 */ lw $a1, 0x54($sp) /* AA08F8 80029758 8FAE0068 */ lw $t6, 0x68($sp) /* AA08FC 8002975C 87AF005A */ lh $t7, 0x5a($sp) /* AA0900 80029760 87B8005E */ lh $t8, 0x5e($sp) /* AA0904 80029764 87B90062 */ lh $t9, 0x62($sp) /* AA0908 80029768 87A80066 */ lh $t0, 0x66($sp) /* AA090C 8002976C 8FA40048 */ lw $a0, 0x48($sp) /* AA0910 80029770 2405000F */ li $a1, 15 /* AA0914 80029774 24060080 */ li $a2, 128 /* AA0918 80029778 27A70018 */ addiu $a3, $sp, 0x18 /* AA091C 8002977C AFAE003C */ sw $t6, 0x3c($sp) /* AA0920 80029780 A7AF0040 */ sh $t7, 0x40($sp) /* AA0924 80029784 A7B80042 */ sh $t8, 0x42($sp) /* AA0928 80029788 A7B90044 */ sh $t9, 0x44($sp) /* AA092C 8002978C 0C009DE6 */ jal func_80027798 /* AA0930 80029790 A7A80046 */ sh $t0, 0x46($sp) /* AA0934 80029794 8FBF0014 */ lw $ra, 0x14($sp) /* AA0938 80029798 27BD0048 */ addiu $sp, $sp, 0x48 /* AA093C 8002979C 03E00008 */ jr $ra /* AA0940 800297A0 00000000 */ nop
{ "language": "Assembly" }
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build linux // +build mips64 mips64le // +build !gccgo #include "textflag.h" // // System calls for mips64, Linux // // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-56 JMP syscall·Syscall(SB) TEXT ·Syscall6(SB),NOSPLIT,$0-80 JMP syscall·Syscall6(SB) TEXT ·SyscallNoError(SB),NOSPLIT,$0-48 JAL runtime·entersyscall(SB) MOVV a1+8(FP), R4 MOVV a2+16(FP), R5 MOVV a3+24(FP), R6 MOVV R0, R7 MOVV R0, R8 MOVV R0, R9 MOVV trap+0(FP), R2 // syscall entry SYSCALL MOVV R2, r1+32(FP) MOVV R3, r2+40(FP) JAL runtime·exitsyscall(SB) RET TEXT ·RawSyscall(SB),NOSPLIT,$0-56 JMP syscall·RawSyscall(SB) TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 JMP syscall·RawSyscall6(SB) TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48 MOVV a1+8(FP), R4 MOVV a2+16(FP), R5 MOVV a3+24(FP), R6 MOVV R0, R7 MOVV R0, R8 MOVV R0, R9 MOVV trap+0(FP), R2 // syscall entry SYSCALL MOVV R2, r1+32(FP) MOVV R3, r2+40(FP) RET
{ "language": "Assembly" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <sect2 lang="en" id="gitglossary(7)"> <title>gitglossary(7)</title> <indexterm> <primary>gitglossary(7)</primary> </indexterm> <simplesect id="gitglossary(7)__name"> <title>NAME</title> <simpara>gitglossary - A Git Glossary</simpara> </simplesect> <simplesect id="gitglossary(7)__synopsis"> <title>SYNOPSIS</title> <simpara>*</simpara> </simplesect> <simplesect id="gitglossary(7)__description"> <title>DESCRIPTION</title> <variablelist> <varlistentry> <term> <anchor id="gitglossary(7)_def_alternate_object_database" xreflabel="[def_alternate_object_database]"/>alternate object database </term> <listitem> <simpara> Via the alternates mechanism, a <link linkend="gitglossary(7)_def_repository">repository</link> can inherit part of its <link linkend="gitglossary(7)_def_object_database">object database</link> from another object database, which is called an "alternate". </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_bare_repository" xreflabel="[def_bare_repository]"/>bare repository </term> <listitem> <simpara> A bare repository is normally an appropriately named <link linkend="gitglossary(7)_def_directory">directory</link> with a <emphasis>.git</emphasis> suffix that does not have a locally checked-out copy of any of the files under revision control. That is, all of the Git administrative and control files that would normally be present in the hidden <emphasis>.git</emphasis> sub-directory are directly present in the <emphasis>repository.git</emphasis> directory instead, and no other files are present and checked out. Usually publishers of public repositories make bare repositories available. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_blob_object" xreflabel="[def_blob_object]"/>blob object </term> <listitem> <simpara> Untyped <link linkend="gitglossary(7)_def_object">object</link>, e.g. the contents of a file. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_branch" xreflabel="[def_branch]"/>branch </term> <listitem> <simpara> A "branch" is an active line of development. The most recent <link linkend="gitglossary(7)_def_commit">commit</link> on a branch is referred to as the tip of that branch. The tip of the branch is referenced by a branch <link linkend="gitglossary(7)_def_head">head</link>, which moves forward as additional development is done on the branch. A single Git <link linkend="gitglossary(7)_def_repository">repository</link> can track an arbitrary number of branches, but your <link linkend="gitglossary(7)_def_working_tree">working tree</link> is associated with just one of them (the "current" or "checked out" branch), and <link linkend="gitglossary(7)_def_HEAD">HEAD</link> points to that branch. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_cache" xreflabel="[def_cache]"/>cache </term> <listitem> <simpara> Obsolete for: <link linkend="gitglossary(7)_def_index">index</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_chain" xreflabel="[def_chain]"/>chain </term> <listitem> <simpara> A list of objects, where each <link linkend="gitglossary(7)_def_object">object</link> in the list contains a reference to its successor (for example, the successor of a <link linkend="gitglossary(7)_def_commit">commit</link> could be one of its <link linkend="gitglossary(7)_def_parent">parents</link>). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_changeset" xreflabel="[def_changeset]"/>changeset </term> <listitem> <simpara> BitKeeper/cvsps speak for "<link linkend="gitglossary(7)_def_commit">commit</link>". Since Git does not store changes, but states, it really does not make sense to use the term "changesets" with Git. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_checkout" xreflabel="[def_checkout]"/>checkout </term> <listitem> <simpara> The action of updating all or part of the <link linkend="gitglossary(7)_def_working_tree">working tree</link> with a <link linkend="gitglossary(7)_def_tree_object">tree object</link> or <link linkend="gitglossary(7)_def_blob_object">blob</link> from the <link linkend="gitglossary(7)_def_object_database">object database</link>, and updating the <link linkend="gitglossary(7)_def_index">index</link> and <link linkend="gitglossary(7)_def_HEAD">HEAD</link> if the whole working tree has been pointed at a new <link linkend="gitglossary(7)_def_branch">branch</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_cherry-picking" xreflabel="[def_cherry-picking]"/>cherry-picking </term> <listitem> <simpara> In <link linkend="gitglossary(7)_def_SCM">SCM</link> jargon, "cherry pick" means to choose a subset of changes out of a series of changes (typically commits) and record them as a new series of changes on top of a different codebase. In Git, this is performed by the "git cherry-pick" command to extract the change introduced by an existing <link linkend="gitglossary(7)_def_commit">commit</link> and to record it based on the tip of the current <link linkend="gitglossary(7)_def_branch">branch</link> as a new commit. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_clean" xreflabel="[def_clean]"/>clean </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_working_tree">working tree</link> is clean, if it corresponds to the <link linkend="gitglossary(7)_def_revision">revision</link> referenced by the current <link linkend="gitglossary(7)_def_head">head</link>. Also see "<link linkend="gitglossary(7)_def_dirty">dirty</link>". </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_commit" xreflabel="[def_commit]"/>commit </term> <listitem> <simpara> As a noun: A single point in the Git history; the entire history of a project is represented as a set of interrelated commits. The word "commit" is often used by Git in the same places other revision control systems use the words "revision" or "version". Also used as a short hand for <link linkend="gitglossary(7)_def_commit_object">commit object</link>. </simpara> <simpara>As a verb: The action of storing a new snapshot of the project's state in the Git history, by creating a new commit representing the current state of the <link linkend="gitglossary(7)_def_index">index</link> and advancing <link linkend="gitglossary(7)_def_HEAD">HEAD</link> to point at the new commit.</simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_commit_object" xreflabel="[def_commit_object]"/>commit object </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_object">object</link> which contains the information about a particular <link linkend="gitglossary(7)_def_revision">revision</link>, such as <link linkend="gitglossary(7)_def_parent">parents</link>, committer, author, date and the <link linkend="gitglossary(7)_def_tree_object">tree object</link> which corresponds to the top <link linkend="gitglossary(7)_def_directory">directory</link> of the stored revision. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_commit-ish" xreflabel="[def_commit-ish]"/>commit-ish (also committish) </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_commit_object">commit object</link> or an <link linkend="gitglossary(7)_def_object">object</link> that can be recursively dereferenced to a commit object. The following are all commit-ishes: a commit object, a <link linkend="gitglossary(7)_def_tag_object">tag object</link> that points to a commit object, a tag object that points to a tag object that points to a commit object, etc. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_core_git" xreflabel="[def_core_git]"/>core Git </term> <listitem> <simpara> Fundamental data structures and utilities of Git. Exposes only limited source code management tools. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_DAG" xreflabel="[def_DAG]"/>DAG </term> <listitem> <simpara> Directed acyclic graph. The <link linkend="gitglossary(7)_def_commit_object">commit objects</link> form a directed acyclic graph, because they have parents (directed), and the graph of commit objects is acyclic (there is no <link linkend="gitglossary(7)_def_chain">chain</link> which begins and ends with the same <link linkend="gitglossary(7)_def_object">object</link>). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_dangling_object" xreflabel="[def_dangling_object]"/>dangling object </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_unreachable_object">unreachable object</link> which is not <link linkend="gitglossary(7)_def_reachable">reachable</link> even from other unreachable objects; a dangling object has no references to it from any reference or <link linkend="gitglossary(7)_def_object">object</link> in the <link linkend="gitglossary(7)_def_repository">repository</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_detached_HEAD" xreflabel="[def_detached_HEAD]"/>detached HEAD </term> <listitem> <simpara> Normally the <link linkend="gitglossary(7)_def_HEAD">HEAD</link> stores the name of a <link linkend="gitglossary(7)_def_branch">branch</link>, and commands that operate on the history HEAD represents operate on the history leading to the tip of the branch the HEAD points at. However, Git also allows you to <link linkend="gitglossary(7)_def_checkout">check out</link> an arbitrary <link linkend="gitglossary(7)_def_commit">commit</link> that isn't necessarily the tip of any particular branch. The HEAD in such a state is called "detached". </simpara> <simpara>Note that commands that operate on the history of the current branch (e.g. <emphasis>git commit</emphasis> to build a new history on top of it) still work while the HEAD is detached. They update the HEAD to point at the tip of the updated history without affecting any branch. Commands that update or inquire information <emphasis>about</emphasis> the current branch (e.g. <emphasis>git branch --set-upstream-to</emphasis> that sets what remote-tracking branch the current branch integrates with) obviously do not work, as there is no (real) current branch to ask about in this state.</simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_directory" xreflabel="[def_directory]"/>directory </term> <listitem> <simpara> The list you get with "ls" :-) </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_dirty" xreflabel="[def_dirty]"/>dirty </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_working_tree">working tree</link> is said to be "dirty" if it contains modifications which have not been <link linkend="gitglossary(7)_def_commit">committed</link> to the current <link linkend="gitglossary(7)_def_branch">branch</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_evil_merge" xreflabel="[def_evil_merge]"/>evil merge </term> <listitem> <simpara> An evil merge is a <link linkend="gitglossary(7)_def_merge">merge</link> that introduces changes that do not appear in any <link linkend="gitglossary(7)_def_parent">parent</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_fast_forward" xreflabel="[def_fast_forward]"/>fast-forward </term> <listitem> <simpara> A fast-forward is a special type of <link linkend="gitglossary(7)_def_merge">merge</link> where you have a <link linkend="gitglossary(7)_def_revision">revision</link> and you are "merging" another <link linkend="gitglossary(7)_def_branch">branch</link>'s changes that happen to be a descendant of what you have. In such a case, you do not make a new <link linkend="gitglossary(7)_def_merge">merge</link> <link linkend="gitglossary(7)_def_commit">commit</link> but instead just update to his revision. This will happen frequently on a <link linkend="gitglossary(7)_def_remote_tracking_branch">remote-tracking branch</link> of a remote <link linkend="gitglossary(7)_def_repository">repository</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_fetch" xreflabel="[def_fetch]"/>fetch </term> <listitem> <simpara> Fetching a <link linkend="gitglossary(7)_def_branch">branch</link> means to get the branch's <link linkend="gitglossary(7)_def_head_ref">head ref</link> from a remote <link linkend="gitglossary(7)_def_repository">repository</link>, to find out which objects are missing from the local <link linkend="gitglossary(7)_def_object_database">object database</link>, and to get them, too. See also <xref linkend="git-fetch(1)" />. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_file_system" xreflabel="[def_file_system]"/>file system </term> <listitem> <simpara> Linus Torvalds originally designed Git to be a user space file system, i.e. the infrastructure to hold files and directories. That ensured the efficiency and speed of Git. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_git_archive" xreflabel="[def_git_archive]"/>Git archive </term> <listitem> <simpara> Synonym for <link linkend="gitglossary(7)_def_repository">repository</link> (for arch people). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_gitfile" xreflabel="[def_gitfile]"/>gitfile </term> <listitem> <simpara> A plain file <emphasis>.git</emphasis> at the root of a working tree that points at the directory that is the real repository. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_grafts" xreflabel="[def_grafts]"/>grafts </term> <listitem> <simpara> Grafts enables two otherwise different lines of development to be joined together by recording fake ancestry information for commits. This way you can make Git pretend the set of <link linkend="gitglossary(7)_def_parent">parents</link> a <link linkend="gitglossary(7)_def_commit">commit</link> has is different from what was recorded when the commit was created. Configured via the <emphasis>.git/info/grafts</emphasis> file. </simpara> <simpara>Note that the grafts mechanism is outdated and can lead to problems transferring objects between repositories; see <xref linkend="git-replace(1)" /> for a more flexible and robust system to do the same thing.</simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_hash" xreflabel="[def_hash]"/>hash </term> <listitem> <simpara> In Git's context, synonym for <link linkend="gitglossary(7)_def_object_name">object name</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_head" xreflabel="[def_head]"/>head </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_ref">named reference</link> to the <link linkend="gitglossary(7)_def_commit">commit</link> at the tip of a <link linkend="gitglossary(7)_def_branch">branch</link>. Heads are stored in a file in <emphasis>$GIT_DIR/refs/heads/</emphasis> directory, except when using packed refs. (See <xref linkend="git-pack-refs(1)" />.) </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_HEAD" xreflabel="[def_HEAD]"/>HEAD </term> <listitem> <simpara> The current <link linkend="gitglossary(7)_def_branch">branch</link>. In more detail: Your <link linkend="gitglossary(7)_def_working_tree">working tree</link> is normally derived from the state of the tree referred to by HEAD. HEAD is a reference to one of the <link linkend="gitglossary(7)_def_head">heads</link> in your repository, except when using a <link linkend="gitglossary(7)_def_detached_HEAD">detached HEAD</link>, in which case it directly references an arbitrary commit. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_head_ref" xreflabel="[def_head_ref]"/>head ref </term> <listitem> <simpara> A synonym for <link linkend="gitglossary(7)_def_head">head</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_hook" xreflabel="[def_hook]"/>hook </term> <listitem> <simpara> During the normal execution of several Git commands, call-outs are made to optional scripts that allow a developer to add functionality or checking. Typically, the hooks allow for a command to be pre-verified and potentially aborted, and allow for a post-notification after the operation is done. The hook scripts are found in the <emphasis>$GIT_DIR/hooks/</emphasis> directory, and are enabled by simply removing the <emphasis>.sample</emphasis> suffix from the filename. In earlier versions of Git you had to make them executable. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_index" xreflabel="[def_index]"/>index </term> <listitem> <simpara> A collection of files with stat information, whose contents are stored as objects. The index is a stored version of your <link linkend="gitglossary(7)_def_working_tree">working tree</link>. Truth be told, it can also contain a second, and even a third version of a working tree, which are used when <link linkend="gitglossary(7)_def_merge">merging</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_index_entry" xreflabel="[def_index_entry]"/>index entry </term> <listitem> <simpara> The information regarding a particular file, stored in the <link linkend="gitglossary(7)_def_index">index</link>. An index entry can be unmerged, if a <link linkend="gitglossary(7)_def_merge">merge</link> was started, but not yet finished (i.e. if the index contains multiple versions of that file). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_master" xreflabel="[def_master]"/>master </term> <listitem> <simpara> The default development <link linkend="gitglossary(7)_def_branch">branch</link>. Whenever you create a Git <link linkend="gitglossary(7)_def_repository">repository</link>, a branch named "master" is created, and becomes the active branch. In most cases, this contains the local development, though that is purely by convention and is not required. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_merge" xreflabel="[def_merge]"/>merge </term> <listitem> <simpara> As a verb: To bring the contents of another <link linkend="gitglossary(7)_def_branch">branch</link> (possibly from an external <link linkend="gitglossary(7)_def_repository">repository</link>) into the current branch. In the case where the merged-in branch is from a different repository, this is done by first <link linkend="gitglossary(7)_def_fetch">fetching</link> the remote branch and then merging the result into the current branch. This combination of fetch and merge operations is called a <link linkend="gitglossary(7)_def_pull">pull</link>. Merging is performed by an automatic process that identifies changes made since the branches diverged, and then applies all those changes together. In cases where changes conflict, manual intervention may be required to complete the merge. </simpara> <simpara>As a noun: unless it is a <link linkend="gitglossary(7)_def_fast_forward">fast-forward</link>, a successful merge results in the creation of a new <link linkend="gitglossary(7)_def_commit">commit</link> representing the result of the merge, and having as <link linkend="gitglossary(7)_def_parent">parents</link> the tips of the merged <link linkend="gitglossary(7)_def_branch">branches</link>. This commit is referred to as a "merge commit", or sometimes just a "merge".</simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_object" xreflabel="[def_object]"/>object </term> <listitem> <simpara> The unit of storage in Git. It is uniquely identified by the <link linkend="gitglossary(7)_def_SHA1">SHA-1</link> of its contents. Consequently, an object cannot be changed. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_object_database" xreflabel="[def_object_database]"/>object database </term> <listitem> <simpara> Stores a set of "objects", and an individual <link linkend="gitglossary(7)_def_object">object</link> is identified by its <link linkend="gitglossary(7)_def_object_name">object name</link>. The objects usually live in <emphasis>$GIT_DIR/objects/</emphasis>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_object_identifier" xreflabel="[def_object_identifier]"/>object identifier </term> <listitem> <simpara> Synonym for <link linkend="gitglossary(7)_def_object_name">object name</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_object_name" xreflabel="[def_object_name]"/>object name </term> <listitem> <simpara> The unique identifier of an <link linkend="gitglossary(7)_def_object">object</link>. The object name is usually represented by a 40 character hexadecimal string. Also colloquially called <link linkend="gitglossary(7)_def_SHA1">SHA-1</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_object_type" xreflabel="[def_object_type]"/>object type </term> <listitem> <simpara> One of the identifiers "<link linkend="gitglossary(7)_def_commit_object">commit</link>", "<link linkend="gitglossary(7)_def_tree_object">tree</link>", "<link linkend="gitglossary(7)_def_tag_object">tag</link>" or "<link linkend="gitglossary(7)_def_blob_object">blob</link>" describing the type of an <link linkend="gitglossary(7)_def_object">object</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_octopus" xreflabel="[def_octopus]"/>octopus </term> <listitem> <simpara> To <link linkend="gitglossary(7)_def_merge">merge</link> more than two <link linkend="gitglossary(7)_def_branch">branches</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_origin" xreflabel="[def_origin]"/>origin </term> <listitem> <simpara> The default upstream <link linkend="gitglossary(7)_def_repository">repository</link>. Most projects have at least one upstream project which they track. By default <emphasis>origin</emphasis> is used for that purpose. New upstream updates will be fetched into <link linkend="gitglossary(7)_def_remote_tracking_branch">remote-tracking branches</link> named origin/name-of-upstream-branch, which you can see using <emphasis>git branch -r</emphasis>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_overlay" xreflabel="[def_overlay]"/>overlay </term> <listitem> <simpara> Only update and add files to the working directory, but don't delete them, similar to how <emphasis>cp -R</emphasis> would update the contents in the destination directory. This is the default mode in a <link linkend="gitglossary(7)_def_checkout">checkout</link> when checking out files from the <link linkend="gitglossary(7)_def_index">index</link> or a <link linkend="gitglossary(7)_def_tree-ish">tree-ish</link>. In contrast, no-overlay mode also deletes tracked files not present in the source, similar to <emphasis>rsync --delete</emphasis>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pack" xreflabel="[def_pack]"/>pack </term> <listitem> <simpara> A set of objects which have been compressed into one file (to save space or to transmit them efficiently). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pack_index" xreflabel="[def_pack_index]"/>pack index </term> <listitem> <simpara> The list of identifiers, and other information, of the objects in a <link linkend="gitglossary(7)_def_pack">pack</link>, to assist in efficiently accessing the contents of a pack. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pathspec" xreflabel="[def_pathspec]"/>pathspec </term> <listitem> <simpara> Pattern used to limit paths in Git commands. </simpara> <simpara>Pathspecs are used on the command line of "git ls-files", "git ls-tree", "git add", "git grep", "git diff", "git checkout", and many other commands to limit the scope of operations to some subset of the tree or worktree. See the documentation of each command for whether paths are relative to the current directory or toplevel. The pathspec syntax is as follows:</simpara> <itemizedlist> <listitem> <simpara> any path matches itself </simpara> </listitem> <listitem> <simpara> the pathspec up to the last slash represents a directory prefix. The scope of that pathspec is limited to that subtree. </simpara> </listitem> <listitem> <simpara> the rest of the pathspec is a pattern for the remainder of the pathname. Paths relative to the directory prefix will be matched against that pattern using fnmatch(3); in particular, <emphasis>*</emphasis> and <emphasis>?</emphasis> <emphasis>can</emphasis> match directory separators. </simpara> </listitem> </itemizedlist> <simpara>For example, Documentation/*.jpg will match all .jpg files in the Documentation subtree, including Documentation/chapter_1/figure_1.jpg.</simpara> <simpara>A pathspec that begins with a colon <emphasis>:</emphasis> has special meaning. In the short form, the leading colon <emphasis>:</emphasis> is followed by zero or more "magic signature" letters (which optionally is terminated by another colon <emphasis>:</emphasis>), and the remainder is the pattern to match against the path. The "magic signature" consists of ASCII symbols that are neither alphanumeric, glob, regex special characters nor colon. The optional colon that terminates the "magic signature" can be omitted if the pattern begins with a character that does not belong to "magic signature" symbol set and is not a colon.</simpara> <simpara>In the long form, the leading colon <emphasis>:</emphasis> is followed by an open parenthesis <emphasis>(</emphasis>, a comma-separated list of zero or more "magic words", and a close parentheses <emphasis>)</emphasis>, and the remainder is the pattern to match against the path.</simpara> <simpara>A pathspec with only a colon means "there is no pathspec". This form should not be combined with other pathspec.</simpara> <variablelist> <varlistentry> <term> top </term> <listitem> <simpara> The magic word <emphasis>top</emphasis> (magic signature: <emphasis>/</emphasis>) makes the pattern match from the root of the working tree, even when you are running the command from inside a subdirectory. </simpara> </listitem> </varlistentry> <varlistentry> <term> literal </term> <listitem> <simpara> Wildcards in the pattern such as <emphasis>*</emphasis> or <emphasis>?</emphasis> are treated as literal characters. </simpara> </listitem> </varlistentry> <varlistentry> <term> icase </term> <listitem> <simpara> Case insensitive match. </simpara> </listitem> </varlistentry> <varlistentry> <term> glob </term> <listitem> <simpara> Git treats the pattern as a shell glob suitable for consumption by fnmatch(3) with the FNM_PATHNAME flag: wildcards in the pattern will not match a / in the pathname. For example, "Documentation/&#42;.html" matches "Documentation/git.html" but not "Documentation/ppc/ppc.html" or "tools/perf/Documentation/perf.html". </simpara> <simpara>Two consecutive asterisks ("<emphasis>**</emphasis>") in patterns matched against full pathname may have special meaning:</simpara> <itemizedlist> <listitem> <simpara> A leading "<emphasis>**</emphasis>" followed by a slash means match in all directories. For example, "<emphasis>**/foo</emphasis>" matches file or directory "<emphasis>foo</emphasis>" anywhere, the same as pattern "<emphasis>foo</emphasis>". "<emphasis>**/foo/bar</emphasis>" matches file or directory "<emphasis>bar</emphasis>" anywhere that is directly under directory "<emphasis>foo</emphasis>". </simpara> </listitem> <listitem> <simpara> A trailing "<emphasis>/**</emphasis>" matches everything inside. For example, "<emphasis>abc/**</emphasis>" matches all files inside directory "abc", relative to the location of the <emphasis>.gitignore</emphasis> file, with infinite depth. </simpara> </listitem> <listitem> <simpara> A slash followed by two consecutive asterisks then a slash matches zero or more directories. For example, "<emphasis>a/**/b</emphasis>" matches "<emphasis>a/b</emphasis>", "<emphasis>a/x/b</emphasis>", "<emphasis>a/x/y/b</emphasis>" and so on. </simpara> </listitem> <listitem> <simpara> Other consecutive asterisks are considered invalid. </simpara> <simpara>Glob magic is incompatible with literal magic.</simpara> </listitem> </itemizedlist> </listitem> </varlistentry> <varlistentry> <term> attr </term> <listitem> <simpara> After <emphasis>attr:</emphasis> comes a space separated list of "attribute requirements", all of which must be met in order for the path to be considered a match; this is in addition to the usual non-magic pathspec pattern matching. See <xref linkend="gitattributes(5)" />. </simpara> <simpara>Each of the attribute requirements for the path takes one of these forms:</simpara> <itemizedlist> <listitem> <simpara> "<emphasis>ATTR</emphasis>" requires that the attribute <emphasis>ATTR</emphasis> be set. </simpara> </listitem> <listitem> <simpara> "<emphasis>-ATTR</emphasis>" requires that the attribute <emphasis>ATTR</emphasis> be unset. </simpara> </listitem> <listitem> <simpara> "<emphasis>ATTR=VALUE</emphasis>" requires that the attribute <emphasis>ATTR</emphasis> be set to the string <emphasis>VALUE</emphasis>. </simpara> </listitem> <listitem> <simpara> "<emphasis>!ATTR</emphasis>" requires that the attribute <emphasis>ATTR</emphasis> be unspecified. </simpara> <simpara>Note that when matching against a tree object, attributes are still obtained from working tree, not from the given tree object.</simpara> </listitem> </itemizedlist> </listitem> </varlistentry> <varlistentry> <term> exclude </term> <listitem> <simpara> After a path matches any non-exclude pathspec, it will be run through all exclude pathspecs (magic signature: <emphasis>!</emphasis> or its synonym <emphasis>^</emphasis>). If it matches, the path is ignored. When there is no non-exclude pathspec, the exclusion is applied to the result set as if invoked without any pathspec. </simpara> </listitem> </varlistentry> </variablelist> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_parent" xreflabel="[def_parent]"/>parent </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_commit_object">commit object</link> contains a (possibly empty) list of the logical predecessor(s) in the line of development, i.e. its parents. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pickaxe" xreflabel="[def_pickaxe]"/>pickaxe </term> <listitem> <simpara> The term <link linkend="gitglossary(7)_def_pickaxe">pickaxe</link> refers to an option to the diffcore routines that help select changes that add or delete a given text string. With the <emphasis>--pickaxe-all</emphasis> option, it can be used to view the full <link linkend="gitglossary(7)_def_changeset">changeset</link> that introduced or removed, say, a particular line of text. See <xref linkend="git-diff(1)" />. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_plumbing" xreflabel="[def_plumbing]"/>plumbing </term> <listitem> <simpara> Cute name for <link linkend="gitglossary(7)_def_core_git">core Git</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_porcelain" xreflabel="[def_porcelain]"/>porcelain </term> <listitem> <simpara> Cute name for programs and program suites depending on <link linkend="gitglossary(7)_def_core_git">core Git</link>, presenting a high level access to core Git. Porcelains expose more of a <link linkend="gitglossary(7)_def_SCM">SCM</link> interface than the <link linkend="gitglossary(7)_def_plumbing">plumbing</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_per_worktree_ref" xreflabel="[def_per_worktree_ref]"/>per-worktree ref </term> <listitem> <simpara> Refs that are per-<link linkend="gitglossary(7)_def_working_tree">worktree</link>, rather than global. This is presently only <link linkend="gitglossary(7)_def_HEAD">HEAD</link> and any refs that start with <emphasis>refs/bisect/</emphasis>, but might later include other unusual refs. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pseudoref" xreflabel="[def_pseudoref]"/>pseudoref </term> <listitem> <simpara> Pseudorefs are a class of files under <emphasis>$GIT_DIR</emphasis> which behave like refs for the purposes of rev-parse, but which are treated specially by git. Pseudorefs both have names that are all-caps, and always start with a line consisting of a <link linkend="gitglossary(7)_def_SHA1">SHA-1</link> followed by whitespace. So, HEAD is not a pseudoref, because it is sometimes a symbolic ref. They might optionally contain some additional data. <emphasis>MERGE_HEAD</emphasis> and <emphasis>CHERRY_PICK_HEAD</emphasis> are examples. Unlike <link linkend="gitglossary(7)_def_per_worktree_ref">per-worktree refs</link>, these files cannot be symbolic refs, and never have reflogs. They also cannot be updated through the normal ref update machinery. Instead, they are updated by directly writing to the files. However, they can be read as if they were refs, so <emphasis>git rev-parse MERGE_HEAD</emphasis> will work. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_pull" xreflabel="[def_pull]"/>pull </term> <listitem> <simpara> Pulling a <link linkend="gitglossary(7)_def_branch">branch</link> means to <link linkend="gitglossary(7)_def_fetch">fetch</link> it and <link linkend="gitglossary(7)_def_merge">merge</link> it. See also <xref linkend="git-pull(1)" />. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_push" xreflabel="[def_push]"/>push </term> <listitem> <simpara> Pushing a <link linkend="gitglossary(7)_def_branch">branch</link> means to get the branch's <link linkend="gitglossary(7)_def_head_ref">head ref</link> from a remote <link linkend="gitglossary(7)_def_repository">repository</link>, find out if it is an ancestor to the branch's local head ref, and in that case, putting all objects, which are <link linkend="gitglossary(7)_def_reachable">reachable</link> from the local head ref, and which are missing from the remote repository, into the remote <link linkend="gitglossary(7)_def_object_database">object database</link>, and updating the remote head ref. If the remote <link linkend="gitglossary(7)_def_head">head</link> is not an ancestor to the local head, the push fails. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_reachable" xreflabel="[def_reachable]"/>reachable </term> <listitem> <simpara> All of the ancestors of a given <link linkend="gitglossary(7)_def_commit">commit</link> are said to be "reachable" from that commit. More generally, one <link linkend="gitglossary(7)_def_object">object</link> is reachable from another if we can reach the one from the other by a <link linkend="gitglossary(7)_def_chain">chain</link> that follows <link linkend="gitglossary(7)_def_tag">tags</link> to whatever they tag, <link linkend="gitglossary(7)_def_commit_object">commits</link> to their parents or trees, and <link linkend="gitglossary(7)_def_tree_object">trees</link> to the trees or <link linkend="gitglossary(7)_def_blob_object">blobs</link> that they contain. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_rebase" xreflabel="[def_rebase]"/>rebase </term> <listitem> <simpara> To reapply a series of changes from a <link linkend="gitglossary(7)_def_branch">branch</link> to a different base, and reset the <link linkend="gitglossary(7)_def_head">head</link> of that branch to the result. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_ref" xreflabel="[def_ref]"/>ref </term> <listitem> <simpara> A name that begins with <emphasis>refs/</emphasis> (e.g. <emphasis>refs/heads/master</emphasis>) that points to an <link linkend="gitglossary(7)_def_object_name">object name</link> or another ref (the latter is called a <link linkend="gitglossary(7)_def_symref">symbolic ref</link>). For convenience, a ref can sometimes be abbreviated when used as an argument to a Git command; see <xref linkend="gitrevisions(7)" /> for details. Refs are stored in the <link linkend="gitglossary(7)_def_repository">repository</link>. </simpara> <simpara>The ref namespace is hierarchical. Different subhierarchies are used for different purposes (e.g. the <emphasis>refs/heads/</emphasis> hierarchy is used to represent local branches).</simpara> <simpara>There are a few special-purpose refs that do not begin with <emphasis>refs/</emphasis>. The most notable example is <emphasis>HEAD</emphasis>.</simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_reflog" xreflabel="[def_reflog]"/>reflog </term> <listitem> <simpara> A reflog shows the local "history" of a ref. In other words, it can tell you what the 3rd last revision in <emphasis>this</emphasis> repository was, and what was the current state in <emphasis>this</emphasis> repository, yesterday 9:14pm. See <xref linkend="git-reflog(1)" /> for details. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_refspec" xreflabel="[def_refspec]"/>refspec </term> <listitem> <simpara> A "refspec" is used by <link linkend="gitglossary(7)_def_fetch">fetch</link> and <link linkend="gitglossary(7)_def_push">push</link> to describe the mapping between remote <link linkend="gitglossary(7)_def_ref">ref</link> and local ref. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_remote" xreflabel="[def_remote]"/>remote repository </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_repository">repository</link> which is used to track the same project but resides somewhere else. To communicate with remotes, see <link linkend="gitglossary(7)_def_fetch">fetch</link> or <link linkend="gitglossary(7)_def_push">push</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_remote_tracking_branch" xreflabel="[def_remote_tracking_branch]"/>remote-tracking branch </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_ref">ref</link> that is used to follow changes from another <link linkend="gitglossary(7)_def_repository">repository</link>. It typically looks like <emphasis>refs/remotes/foo/bar</emphasis> (indicating that it tracks a branch named <emphasis>bar</emphasis> in a remote named <emphasis>foo</emphasis>), and matches the right-hand-side of a configured fetch <link linkend="gitglossary(7)_def_refspec">refspec</link>. A remote-tracking branch should not contain direct modifications or have local commits made to it. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_repository" xreflabel="[def_repository]"/>repository </term> <listitem> <simpara> A collection of <link linkend="gitglossary(7)_def_ref">refs</link> together with an <link linkend="gitglossary(7)_def_object_database">object database</link> containing all objects which are <link linkend="gitglossary(7)_def_reachable">reachable</link> from the refs, possibly accompanied by meta data from one or more <link linkend="gitglossary(7)_def_porcelain">porcelains</link>. A repository can share an object database with other repositories via <link linkend="gitglossary(7)_def_alternate_object_database">alternates mechanism</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_resolve" xreflabel="[def_resolve]"/>resolve </term> <listitem> <simpara> The action of fixing up manually what a failed automatic <link linkend="gitglossary(7)_def_merge">merge</link> left behind. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_revision" xreflabel="[def_revision]"/>revision </term> <listitem> <simpara> Synonym for <link linkend="gitglossary(7)_def_commit">commit</link> (the noun). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_rewind" xreflabel="[def_rewind]"/>rewind </term> <listitem> <simpara> To throw away part of the development, i.e. to assign the <link linkend="gitglossary(7)_def_head">head</link> to an earlier <link linkend="gitglossary(7)_def_revision">revision</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_SCM" xreflabel="[def_SCM]"/>SCM </term> <listitem> <simpara> Source code management (tool). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_SHA1" xreflabel="[def_SHA1]"/>SHA-1 </term> <listitem> <simpara> "Secure Hash Algorithm 1"; a cryptographic hash function. In the context of Git used as a synonym for <link linkend="gitglossary(7)_def_object_name">object name</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_shallow_clone" xreflabel="[def_shallow_clone]"/>shallow clone </term> <listitem> <simpara> Mostly a synonym to <link linkend="gitglossary(7)_def_shallow_repository">shallow repository</link> but the phrase makes it more explicit that it was created by running <emphasis>git clone --depth=...</emphasis> command. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_shallow_repository" xreflabel="[def_shallow_repository]"/>shallow repository </term> <listitem> <simpara> A shallow <link linkend="gitglossary(7)_def_repository">repository</link> has an incomplete history some of whose <link linkend="gitglossary(7)_def_commit">commits</link> have <link linkend="gitglossary(7)_def_parent">parents</link> cauterized away (in other words, Git is told to pretend that these commits do not have the parents, even though they are recorded in the <link linkend="gitglossary(7)_def_commit_object">commit object</link>). This is sometimes useful when you are interested only in the recent history of a project even though the real history recorded in the upstream is much larger. A shallow repository is created by giving the <emphasis>--depth</emphasis> option to <xref linkend="git-clone(1)" />, and its history can be later deepened with <xref linkend="git-fetch(1)" />. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_stash" xreflabel="[def_stash]"/>stash entry </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_object">object</link> used to temporarily store the contents of a <link linkend="gitglossary(7)_def_dirty">dirty</link> working directory and the index for future reuse. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_submodule" xreflabel="[def_submodule]"/>submodule </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_repository">repository</link> that holds the history of a separate project inside another repository (the latter of which is called <link linkend="gitglossary(7)_def_superproject">superproject</link>). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_superproject" xreflabel="[def_superproject]"/>superproject </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_repository">repository</link> that references repositories of other projects in its working tree as <link linkend="gitglossary(7)_def_submodule">submodules</link>. The superproject knows about the names of (but does not hold copies of) commit objects of the contained submodules. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_symref" xreflabel="[def_symref]"/>symref </term> <listitem> <simpara> Symbolic reference: instead of containing the <link linkend="gitglossary(7)_def_SHA1">SHA-1</link> id itself, it is of the format <emphasis>ref: refs/some/thing</emphasis> and when referenced, it recursively dereferences to this reference. <emphasis><link linkend="gitglossary(7)_def_HEAD">HEAD</link></emphasis> is a prime example of a symref. Symbolic references are manipulated with the <xref linkend="git-symbolic-ref(1)" /> command. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_tag" xreflabel="[def_tag]"/>tag </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_ref">ref</link> under <emphasis>refs/tags/</emphasis> namespace that points to an object of an arbitrary type (typically a tag points to either a <link linkend="gitglossary(7)_def_tag_object">tag</link> or a <link linkend="gitglossary(7)_def_commit_object">commit object</link>). In contrast to a <link linkend="gitglossary(7)_def_head">head</link>, a tag is not updated by the <emphasis>commit</emphasis> command. A Git tag has nothing to do with a Lisp tag (which would be called an <link linkend="gitglossary(7)_def_object_type">object type</link> in Git's context). A tag is most typically used to mark a particular point in the commit ancestry <link linkend="gitglossary(7)_def_chain">chain</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_tag_object" xreflabel="[def_tag_object]"/>tag object </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_object">object</link> containing a <link linkend="gitglossary(7)_def_ref">ref</link> pointing to another object, which can contain a message just like a <link linkend="gitglossary(7)_def_commit_object">commit object</link>. It can also contain a (PGP) signature, in which case it is called a "signed tag object". </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_topic_branch" xreflabel="[def_topic_branch]"/>topic branch </term> <listitem> <simpara> A regular Git <link linkend="gitglossary(7)_def_branch">branch</link> that is used by a developer to identify a conceptual line of development. Since branches are very easy and inexpensive, it is often desirable to have several small branches that each contain very well defined concepts or small incremental yet related changes. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_tree" xreflabel="[def_tree]"/>tree </term> <listitem> <simpara> Either a <link linkend="gitglossary(7)_def_working_tree">working tree</link>, or a <link linkend="gitglossary(7)_def_tree_object">tree object</link> together with the dependent <link linkend="gitglossary(7)_def_blob_object">blob</link> and tree objects (i.e. a stored representation of a working tree). </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_tree_object" xreflabel="[def_tree_object]"/>tree object </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_object">object</link> containing a list of file names and modes along with refs to the associated blob and/or tree objects. A <link linkend="gitglossary(7)_def_tree">tree</link> is equivalent to a <link linkend="gitglossary(7)_def_directory">directory</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_tree-ish" xreflabel="[def_tree-ish]"/>tree-ish (also treeish) </term> <listitem> <simpara> A <link linkend="gitglossary(7)_def_tree_object">tree object</link> or an <link linkend="gitglossary(7)_def_object">object</link> that can be recursively dereferenced to a tree object. Dereferencing a <link linkend="gitglossary(7)_def_commit_object">commit object</link> yields the tree object corresponding to the <link linkend="gitglossary(7)_def_revision">revision</link>'s top <link linkend="gitglossary(7)_def_directory">directory</link>. The following are all tree-ishes: a <link linkend="gitglossary(7)_def_commit-ish">commit-ish</link>, a tree object, a <link linkend="gitglossary(7)_def_tag_object">tag object</link> that points to a tree object, a tag object that points to a tag object that points to a tree object, etc. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_unmerged_index" xreflabel="[def_unmerged_index]"/>unmerged index </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_index">index</link> which contains unmerged <link linkend="gitglossary(7)_def_index_entry">index entries</link>. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_unreachable_object" xreflabel="[def_unreachable_object]"/>unreachable object </term> <listitem> <simpara> An <link linkend="gitglossary(7)_def_object">object</link> which is not <link linkend="gitglossary(7)_def_reachable">reachable</link> from a <link linkend="gitglossary(7)_def_branch">branch</link>, <link linkend="gitglossary(7)_def_tag">tag</link>, or any other reference. </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_upstream_branch" xreflabel="[def_upstream_branch]"/>upstream branch </term> <listitem> <simpara> The default <link linkend="gitglossary(7)_def_branch">branch</link> that is merged into the branch in question (or the branch in question is rebased onto). It is configured via branch.&lt;name&gt;.remote and branch.&lt;name&gt;.merge. If the upstream branch of <emphasis>A</emphasis> is <emphasis>origin/B</emphasis> sometimes we say "<emphasis>A</emphasis> is tracking <emphasis>origin/B</emphasis>". </simpara> </listitem> </varlistentry> <varlistentry> <term> <anchor id="gitglossary(7)_def_working_tree" xreflabel="[def_working_tree]"/>working tree </term> <listitem> <simpara> The tree of actual checked out files. The working tree normally contains the contents of the <link linkend="gitglossary(7)_def_HEAD">HEAD</link> commit's tree, plus any local changes that you have made but not yet committed. </simpara> </listitem> </varlistentry> </variablelist> </simplesect> <simplesect id="gitglossary(7)__see_also"> <title>SEE ALSO</title> <simpara><xref linkend="gittutorial(7)" />, <xref linkend="gittutorial-2(7)" />, <xref linkend="gitcvs-migration(7)" />, <xref linkend="giteveryday(7)" />, <ulink url="https://www.kernel.org/pub/software/scm/git/docs/user-manual.html"><citetitle>The Git User's Manual</citetitle></ulink></simpara> </simplesect> <simplesect id="gitglossary(7)__git"> <title>GIT</title> <simpara>Part of the <xref linkend="git(1)" /> suite</simpara> </simplesect> </sect2>
{ "language": "Assembly" }
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -std=c++11 %s -o - | FileCheck -allow-deprecated-dag-overlap -check-prefix=CHECK-LIN -check-prefix=CHECK-LIN64 %s // RUN: %clang_cc1 -triple i386-linux-gnu -emit-llvm -std=c++11 %s -o - | FileCheck -allow-deprecated-dag-overlap -check-prefix=CHECK-LIN -check-prefix=CHECK-LIN32 %s // RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -std=c++11 %s -o - -DWIN_TEST | FileCheck -allow-deprecated-dag-overlap -check-prefix=CHECK-WIN64 %s // RUN: %clang_cc1 -triple i386-windows-msvc -emit-llvm -std=c++11 %s -o - -DWIN_TEST | FileCheck -allow-deprecated-dag-overlap -check-prefix=CHECK-WIN32 %s int __regcall foo(int i); int main() { int p = 0, _data; auto lambda = [&](int parameter) -> int { _data = foo(parameter); return _data; }; return lambda(p); } // CHECK-LIN: call x86_regcallcc {{.+}} @_Z15__regcall3__foo // CHECK-WIN64: call x86_regcallcc {{.+}} @"?foo@@YwHH@Z" // CHECK-WIN32: call x86_regcallcc {{.+}} @"?foo@@YwHH@Z" int __regcall foo (int i){ return i; } // CHECK-LIN: define x86_regcallcc {{.+}}@_Z15__regcall3__foo // CHECK-WIN64: define dso_local x86_regcallcc {{.+}}@"?foo@@YwHH@Z" // CHECK-WIN32: define dso_local x86_regcallcc {{.+}}@"?foo@@YwHH@Z" // used to give a body to test_class functions static int x = 0; class test_class { int a; public: #ifndef WIN_TEST __regcall #endif test_class(){++x;} // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classC1Ev // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classC2Ev // Windows ignores calling convention on constructor/destructors. // CHECK-WIN64-DAG: define linkonce_odr dso_local %class.test_class* @"??0test_class@@QEAA@XZ" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc %class.test_class* @"??0test_class@@QAE@XZ" #ifndef WIN_TEST __regcall #endif ~test_class(){--x;} // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classD2Ev // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_classD1Ev // Windows ignores calling convention on constructor/destructors. // CHECK-WIN64-DAG: define linkonce_odr dso_local void @"??1test_class@@QEAA@XZ" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_thiscallcc void @"??1test_class@@QAE@XZ" test_class& __regcall operator+=(const test_class&){ return *this; } // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc dereferenceable(4) %class.test_class* @_ZN10test_classpLERKS_ // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"??Ytest_class@@QEAwAEAV0@AEBV0@@Z" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc dereferenceable(4) %class.test_class* @"??Ytest_class@@QAwAAV0@ABV0@@Z" void __regcall do_thing(){} // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_class20__regcall3__do_thingEv // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"?do_thing@test_class@@QEAwXXZ" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"?do_thing@test_class@@QAwXXZ" template<typename T> void __regcall tempFunc(T i){} // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_ZN10test_class20__regcall3__tempFuncIiEEvT_ // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc@H@@YwXH@Z" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc@H@@YwXH@Z" }; bool __regcall operator ==(const test_class&, const test_class&){ --x; return false;} // CHECK-LIN-DAG: define x86_regcallcc zeroext i1 @_ZeqRK10test_classS1_ // CHECK-WIN64-DAG: define dso_local x86_regcallcc zeroext i1 @"??8@Yw_NAEBVtest_class@@0@Z" // CHECK-WIN32-DAG: define dso_local x86_regcallcc zeroext i1 @"??8@Yw_NABVtest_class@@0@Z" test_class __regcall operator""_test_class (unsigned long long) { ++x; return test_class{};} // CHECK-LIN64-DAG: define x86_regcallcc void @_Zli11_test_classy(%class.test_class* noalias sret %agg.result, i64) // CHECK-LIN32-DAG: define x86_regcallcc void @_Zli11_test_classy(%class.test_class* inreg noalias sret %agg.result, i64) // CHECK-WIN64-DAG: ??__K_test_class@@Yw?AVtest_class@@_K@Z" // CHECK-WIN32-DAG: ??__K_test_class@@Yw?AVtest_class@@_K@Z" template<typename T> void __regcall freeTempFunc(T i){} // CHECK-LIN-DAG: define linkonce_odr x86_regcallcc void @_Z24__regcall3__freeTempFuncIiEvT_ // CHECK-WIN64-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc@H@@YwXH@Z" // CHECK-WIN32-DAG: define linkonce_odr dso_local x86_regcallcc void @"??$freeTempFunc@H@@YwXH@Z" // class to force generation of functions void force_gen() { test_class t; test_class t2 = 12_test_class; t += t2; auto t3 = 100_test_class; t3.tempFunc(1); freeTempFunc(1); t3.do_thing(); } long double _Complex __regcall foo(long double _Complex f) { return f; } // CHECK-LIN64-DAG: define x86_regcallcc void @_Z15__regcall3__fooCe({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 }* byval align 16 %f) // CHECK-LIN32-DAG: define x86_regcallcc void @_Z15__regcall3__fooCe({ x86_fp80, x86_fp80 }* inreg noalias sret %agg.result, { x86_fp80, x86_fp80 }* byval align 4 %f) // CHECK-WIN64-DAG: define dso_local x86_regcallcc { double, double } @"?foo@@YwU?$_Complex@O@__clang@@U12@@Z"(double %f.0, double %f.1) // CHECK-WIN32-DAG: define dso_local x86_regcallcc { double, double } @"?foo@@YwU?$_Complex@O@__clang@@U12@@Z"(double %f.0, double %f.1)
{ "language": "Assembly" }
/* Script for --shared -z combreloc -z now -z relro: shared library, combine & sort relocs */ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(_start) SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib"); SECTIONS { /* Read-only sections, merged into text segment: */ . = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS; .note.gnu.build-id : { *(.note.gnu.build-id) } .hash : { *(.hash) } .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } .gnu.version : { *(.gnu.version) } .gnu.version_d : { *(.gnu.version_d) } .gnu.version_r : { *(.gnu.version_r) } .rel.dyn : { *(.rel.init) *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) *(.rel.fini) *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) *(.rel.ctors) *(.rel.dtors) *(.rel.got) *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) *(.rel.iplt) } .rela.dyn : { *(.rela.init) *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) *(.rela.fini) *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) *(.rela.ctors) *(.rela.dtors) *(.rela.got) *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) *(.rela.iplt) } .rel.plt : { *(.rel.plt) } .rela.plt : { *(.rela.plt) } .init : { KEEP (*(.init)) } =0 .plt : { *(.plt) } .iplt : { *(.iplt) } .text : { *(.text.unlikely .text.*_unlikely) *(.text.exit .text.exit.*) *(.text.startup .text.startup.*) *(.text.hot .text.hot.*) *(.text .stub .text.* .gnu.linkonce.t.*) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) } =0 .fini : { KEEP (*(.fini)) } =0 PROVIDE (__etext = .); PROVIDE (_etext = .); PROVIDE (etext = .); .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } PROVIDE_HIDDEN (__exidx_start = .); .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } PROVIDE_HIDDEN (__exidx_end = .); .eh_frame_hdr : { *(.eh_frame_hdr) } .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) } /* These sections are generated by the Sun/Oracle C++ compiler. */ .exception_ranges : ONLY_IF_RO { *(.exception_ranges .exception_ranges*) } /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. */ . = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1)); . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE)); /* Exception handling */ .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) } .exception_ranges : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) } /* Thread Local Storage sections */ .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } .preinit_array : { KEEP (*(.preinit_array)) } .init_array : { KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array)) } .fini_array : { KEEP (*(SORT(.fini_array.*))) KEEP (*(.fini_array)) } .ctors : { /* gcc uses crtbegin.o to find the start of the constructors, so we make sure it is first. Because this is a wildcard, it doesn't matter if the user does not actually link against crtbegin.o; the linker won't look for a file to match a wildcard. The wildcard also means that it doesn't matter which directory crtbegin.o is in. */ KEEP (*crtbegin.o(.ctors)) KEEP (*crtbegin?.o(.ctors)) /* We don't want to include the .ctor section from the crtend.o file until after the sorted ctors. The .ctor section from the crtend file contains the end of ctors marker and it must be last */ KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors)) KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors)) } .dtors : { KEEP (*crtbegin.o(.dtors)) KEEP (*crtbegin?.o(.dtors)) KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors)) KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) } .jcr : { KEEP (*(.jcr)) } .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) } .dynamic : { *(.dynamic) } .got : { *(.got.plt) *(.igot.plt) *(.got) *(.igot) } . = DATA_SEGMENT_RELRO_END (0, .); .data : { PROVIDE (__data_start = .); *(.data .data.* .gnu.linkonce.d.*) SORT(CONSTRUCTORS) } .data1 : { *(.data1) } _edata = .; PROVIDE (edata = .); __bss_start = .; __bss_start__ = .; .bss : { *(.dynbss) *(.bss .bss.* .gnu.linkonce.b.*) *(COMMON) /* Align here to ensure that the .bss section occupies space up to _end. Align after .bss to ensure correct alignment even if the .bss section disappears because there are no input sections. FIXME: Why do we need it? When there is no .bss section, we don't pad the .data section. */ . = ALIGN(. != 0 ? 32 / 8 : 1); } _bss_end__ = . ; __bss_end__ = . ; . = ALIGN(32 / 8); . = ALIGN(32 / 8); __end__ = . ; _end = .; PROVIDE (end = .); . = DATA_SEGMENT_END (.); /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } .stab.exclstr 0 : { *(.stab.exclstr) } .stab.index 0 : { *(.stab.index) } .stab.indexstr 0 : { *(.stab.indexstr) } .comment 0 : { *(.comment) } /* DWARF debug sections. Symbols in the DWARF debugging sections are relative to the beginning of the section so we begin them at 0. */ /* DWARF 1 */ .debug 0 : { *(.debug) } .line 0 : { *(.line) } /* GNU DWARF 1 extensions */ .debug_srcinfo 0 : { *(.debug_srcinfo) } .debug_sfnames 0 : { *(.debug_sfnames) } /* DWARF 1.1 and DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } /* DWARF 2 */ .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } /* SGI/MIPS DWARF 2 extensions */ .debug_weaknames 0 : { *(.debug_weaknames) } .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } /* DWARF 3 */ .debug_pubtypes 0 : { *(.debug_pubtypes) } .debug_ranges 0 : { *(.debug_ranges) } .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) } /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) } }
{ "language": "Assembly" }
config DRM_AMDGPU_SI bool "Enable amdgpu support for SI parts" depends on DRM_AMDGPU help Choose this option if you want to enable experimental support for SI asics. SI is already supported in radeon. Experimental support for SI in amdgpu will be disabled by default and is still provided by radeon. Use module options to override this: radeon.si_support=0 amdgpu.si_support=1 config DRM_AMDGPU_CIK bool "Enable amdgpu support for CIK parts" depends on DRM_AMDGPU help Choose this option if you want to enable support for CIK asics. CIK is already supported in radeon. Support for CIK in amdgpu will be disabled by default and is still provided by radeon. Use module options to override this: radeon.cik_support=0 amdgpu.cik_support=1 config DRM_AMDGPU_USERPTR bool "Always enable userptr write support" depends on DRM_AMDGPU select MMU_NOTIFIER help This option selects CONFIG_MMU_NOTIFIER if it isn't already selected to enabled full userptr support. config DRM_AMDGPU_GART_DEBUGFS bool "Allow GART access through debugfs" depends on DRM_AMDGPU depends on DEBUG_FS default n help Selecting this option creates a debugfs file to inspect the mapped pages. Uses more memory for housekeeping, enable only for debugging. source "drivers/gpu/drm/amd/acp/Kconfig" source "drivers/gpu/drm/amd/display/Kconfig"
{ "language": "Assembly" }
; RUN: opt < %s -instcombine -S | FileCheck %s define i16 @narrow_sext_and(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_and( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = and i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = and i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_and(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_and( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = and i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = and i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_sext_or(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_or( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = or i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = or i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_or(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_or( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = or i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = or i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_sext_xor(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_xor( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = xor i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = xor i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_xor(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_xor( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = xor i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = xor i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_sext_add(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_add( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = add i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = add i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_add(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_add( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = add i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = add i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_sext_sub(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_sub( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = sub i16 %x16, [[TMP1]] ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = sub i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_sub(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_sub( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = sub i16 %x16, [[TMP1]] ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = sub i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_sext_mul(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_mul( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = mul i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = sext i16 %x16 to i32 %b = mul i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } define i16 @narrow_zext_mul(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_zext_mul( ; CHECK-NEXT: [[TMP1:%.*]] = trunc i32 %y32 to i16 ; CHECK-NEXT: [[R:%.*]] = mul i16 [[TMP1]], %x16 ; CHECK-NEXT: ret i16 [[R]] ; %x32 = zext i16 %x16 to i32 %b = mul i32 %x32, %y32 %r = trunc i32 %b to i16 ret i16 %r } ; Verify that the commuted patterns work. The div is to ensure that complexity-based ; canonicalization doesn't swap the binop operands. Use vector types to show those work too. define <2 x i16> @narrow_sext_and_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_and_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = and <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = and <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_and_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_and_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = and <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = and <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_sext_or_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_or_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = or <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = or <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_or_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_or_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = or <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = or <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_sext_xor_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_xor_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = xor <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = xor <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_xor_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_xor_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = xor <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = xor <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_sext_add_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_add_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = add <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = add <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_add_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_add_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = add <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = add <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_sext_sub_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_sub_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = sub <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = sub <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_sub_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_sub_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = sub <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = sub <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_sext_mul_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_sext_mul_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = mul <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = sext <2 x i16> %x16 to <2 x i32> %b = mul <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r } define <2 x i16> @narrow_zext_mul_commute(<2 x i16> %x16, <2 x i32> %y32) { ; CHECK-LABEL: @narrow_zext_mul_commute( ; CHECK-NEXT: [[Y32OP0:%.*]] = sdiv <2 x i32> %y32, <i32 7, i32 -17> ; CHECK-NEXT: [[TMP1:%.*]] = trunc <2 x i32> [[Y32OP0]] to <2 x i16> ; CHECK-NEXT: [[R:%.*]] = mul <2 x i16> [[TMP1]], %x16 ; CHECK-NEXT: ret <2 x i16> [[R]] ; %y32op0 = sdiv <2 x i32> %y32, <i32 7, i32 -17> %x32 = zext <2 x i16> %x16 to <2 x i32> %b = mul <2 x i32> %y32op0, %x32 %r = trunc <2 x i32> %b to <2 x i16> ret <2 x i16> %r }
{ "language": "Assembly" }
/* stm32l031x6.ld Modified for stm32l0 from the original nokeep.ld script from the arm-none-eabi examples by olikraus@gmail.com Assuming, that the original nokeep.ld file is available under the GNU General Public License, this file is available under the same license. There are three modifications: 1. Provide symbols for the stm32l0 startup code The following symbols are required for the stm32l0 startup code (e.g. startup_stm32l031xx.s) _sidata start address for the initialization values of the .data section _sdata start address for the .data section. defined in linker script _edata end address for the .data section. defined in linker script _sbss start address for the .bss section. defined in linker script _ebss end address for the .bss section. defined in linker script _estack top address of the stack 2. Stack size estimation / calculation _Stack_Size has been added to allow better stack size calculation 3. KEEP keywords Additionall KEEPs added for .init and .fini. Without this KEEP the generated code will not work, because of the missing _init function. 4. Bugfix: Allign the end of the flash area */ _Stack_Size = 0x400; /* stm32l0: estimated amount of stack */ /* Linker script to configure memory regions. * Need modifying for a specific board. * FLASH.ORIGIN: starting address of flash * FLASH.LENGTH: length of flash * RAM.ORIGIN: starting address of RAM bank 0 * RAM.LENGTH: length of RAM bank 0 */ MEMORY { FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 32K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K } /* Linker script to place sections and symbol values. Should be used together * with other linker script that defines memory regions FLASH and RAM. * It references following symbols, which must be defined in code: * Reset_Handler : Entry of reset handler * * It defines following symbols, which code can use without definition: * __exidx_start * __exidx_end * __copy_table_start__ * __copy_table_end__ * __zero_table_start__ * __zero_table_end__ * __etext * __data_start__ * __preinit_array_start * __preinit_array_end * __init_array_start * __init_array_end * __fini_array_start * __fini_array_end * __data_end__ * __bss_start__ * __bss_end__ * __end__ * end * __HeapLimit * __StackLimit * __StackTop * __stack */ ENTRY(Reset_Handler) SECTIONS { .text : { KEEP(*(.isr_vector)) *(.text*) /* the st32l0 startup code calls __libc_init_array, which calls the _init */ /* ... sooo.... better keep the init and fini sections */ KEEP ( *(.init) ) KEEP ( *(.fini) ) /* .ctors */ *crtbegin.o(.ctors) *crtbegin?.o(.ctors) *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) *(SORT(.ctors.*)) *(.ctors) /* .dtors */ *crtbegin.o(.dtors) *crtbegin?.o(.dtors) *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) *(SORT(.dtors.*)) *(.dtors) *(.rodata*) *(.eh_frame*) /* allign the end of the flash area */ . = ALIGN(4); } > FLASH .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } > FLASH __exidx_start = .; .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } > FLASH __exidx_end = .; /* To copy multiple ROM to RAM sections, * uncomment .copy.table section and, * define __STARTUP_COPY_MULTIPLE in startup_ARMCMx.S */ /* .copy.table : { . = ALIGN(4); __copy_table_start__ = .; LONG (__etext) LONG (__data_start__) LONG (__data_end__ - __data_start__) LONG (__etext2) LONG (__data2_start__) LONG (__data2_end__ - __data2_start__) __copy_table_end__ = .; } > FLASH */ /* To clear multiple BSS sections, * uncomment .zero.table section and, * define __STARTUP_CLEAR_BSS_MULTIPLE in startup_ARMCMx.S */ /* .zero.table : { . = ALIGN(4); __zero_table_start__ = .; LONG (__bss_start__) LONG (__bss_end__ - __bss_start__) LONG (__bss2_start__) LONG (__bss2_end__ - __bss2_start__) __zero_table_end__ = .; } > FLASH */ __etext = .; _sidata = .; /* for stm32l0 startup code */ .data : AT (__etext) { __data_start__ = .; _sdata = .; /* for stm32l0 startup code */ *(vtable) *(.data*) . = ALIGN(4); /* preinit data */ PROVIDE_HIDDEN (__preinit_array_start = .); *(.preinit_array) PROVIDE_HIDDEN (__preinit_array_end = .); . = ALIGN(4); /* init data */ PROVIDE_HIDDEN (__init_array_start = .); *(SORT(.init_array.*)) *(.init_array) PROVIDE_HIDDEN (__init_array_end = .); . = ALIGN(4); /* finit data */ PROVIDE_HIDDEN (__fini_array_start = .); *(SORT(.fini_array.*)) *(.fini_array) PROVIDE_HIDDEN (__fini_array_end = .); *(.jcr) . = ALIGN(4); /* All data end */ __data_end__ = .; _edata = .; /* for stm32l0 startup code */ } > RAM .bss : { . = ALIGN(4); __bss_start__ = .; _sbss = .; /* for stm32l0 startup code */ *(.bss*) *(COMMON) . = ALIGN(4); __bss_end__ = .; _ebss = .; /* for stm32l0 startup code */ } > RAM .heap (COPY): { __end__ = .; PROVIDE(end = .); *(.heap*) __HeapLimit = .; } > RAM /* .stack_dummy section doesn't contains any symbols. It is only * used for linker to calculate size of stack sections, and assign * values to stack symbols later */ .stack_dummy (COPY): { *(.stack*) . = . + _Stack_Size; /* estimated stack size */ } > RAM /* Set stack top to end of RAM, and stack limit move down by * size of stack_dummy section */ __StackTop = ORIGIN(RAM) + LENGTH(RAM); _estack = __StackTop; /* for stm32l0 startup code */ __StackLimit = __StackTop - SIZEOF(.stack_dummy); PROVIDE(__stack = __StackTop); /* Check if data + heap + stack exceeds RAM limit */ ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack") }
{ "language": "Assembly" }
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2011 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. END_LEGAL */ /// @file xed-syntax-enum.h // This file was automatically generated. // Do not edit this file. #if !defined(_XED_SYNTAX_ENUM_H_) # define _XED_SYNTAX_ENUM_H_ #include "xed-common-hdrs.h" typedef enum { XED_SYNTAX_INVALID, XED_SYNTAX_XED, ///< XED disassembly syntax XED_SYNTAX_ATT, ///< ATT SYSV disassembly syntax XED_SYNTAX_INTEL, ///< Intel disassembly syntax XED_SYNTAX_LAST } xed_syntax_enum_t; XED_DLL_EXPORT xed_syntax_enum_t str2xed_syntax_enum_t(const char* s); XED_DLL_EXPORT const char* xed_syntax_enum_t2str(const xed_syntax_enum_t p); XED_DLL_EXPORT xed_syntax_enum_t xed_syntax_enum_t_last(void); #endif
{ "language": "Assembly" }
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -ast-dump %s | FileCheck -strict-whitespace %s struct A; // CHECK: CXXRecordDecl 0x{{[^ ]*}} <{{.*}}:1, col:8> col:8 struct A struct B; // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, col:8> col:8 referenced struct B struct A { // CHECK: CXXRecordDecl 0x{{[^ ]*}} prev 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+29]]:1> line:[[@LINE-1]]:8 struct A definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <col:1, col:8> col:8 implicit struct A int a; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:7> col:7 a 'int' int b, c; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:7> col:7 b 'int' // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <col:3, col:10> col:10 c 'int' int d : 12; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:11> col:7 d 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:11> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:11> 'int' 12 int : 0; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:9> col:7 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:9> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:9> 'int' 0 int e : 10; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:11> col:7 e 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:11> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:11> 'int' 10 B *f; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:6> col:6 f 'B *' }; struct C { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+66]]:1> line:[[@LINE-1]]:8 struct C definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal has_variant_members // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <col:1, col:8> col:8 implicit struct C struct { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+10]]:3> line:[[@LINE-1]]:3 struct definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int a; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 a 'int' } b; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-12]]:3, line:[[@LINE-1]]:5> col:5 b 'struct (anonymous struct at {{.*}}:[[@LINE-12]]:3)':'C::(anonymous struct at {{.*}}:[[@LINE-12]]:3)' union { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+12]]:3> line:[[@LINE-1]]:3 union definition // CHECK-NEXT: DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int c; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 c 'int' float d; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:11> col:11 d 'float' }; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-14]]:3> col:3 implicit 'C::(anonymous union at {{.*}}:[[@LINE-14]]:3)' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-6]]:9> col:9 implicit c 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'C::(anonymous union at {{.*}}:[[@LINE-16]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'c' 'int' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-7]]:11> col:11 implicit d 'float' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'C::(anonymous union at {{.*}}:[[@LINE-19]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'd' 'float' struct { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+11]]:3> line:[[@LINE-1]]:3 struct definition // CHECK-NEXT: DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int e, f; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 e 'int' // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <col:5, col:12> col:12 f 'int' }; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-13]]:3> col:3 implicit 'C::(anonymous struct at {{.*}}:[[@LINE-13]]:3)' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-5]]:9> col:9 implicit e 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'C::(anonymous struct at {{.*}}:[[@LINE-15]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'e' 'int' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <col:12> col:12 implicit f 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'C::(anonymous struct at {{.*}}:[[@LINE-18]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'f' 'int' }; struct D { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+16]]:1> line:[[@LINE-1]]:8 struct D definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <col:1, col:8> col:8 implicit struct D int a; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:7> col:7 a 'int' int b[10]; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:11> col:7 b 'int [10]' int c[]; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:9> col:7 c 'int []' }; union E; // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, col:7> col:7 union E union F; // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, col:7> col:7 union F union E { // CHECK: CXXRecordDecl 0x{{[^ ]*}} prev 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+29]]:1> line:[[@LINE-1]]:7 union E definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <col:1, col:7> col:7 implicit union E int a; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:7> col:7 a 'int' int b, c; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:7> col:7 b 'int' // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <col:3, col:10> col:10 c 'int' int d : 12; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:11> col:7 d 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:11> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:11> 'int' 12 int : 0; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:9> col:7 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:9> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:9> 'int' 0 int e : 10; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:11> col:7 e 'int' // CHECK-NEXT: ConstantExpr 0x{{[^ ]*}} <col:11> 'int' // CHECK-NEXT: IntegerLiteral 0x{{[^ ]*}} <col:11> 'int' 10 B *f; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, col:6> col:6 f 'B *' }; union G { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+71]]:1> line:[[@LINE-1]]:7 union G definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <col:1, col:7> col:7 implicit union G struct { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+11]]:3> line:[[@LINE-1]]:3 struct definition // CHECK-NEXT: DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int a; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 a 'int' } b; // FIXME: note that it talks about 'struct G' below; the same happens in // other cases with union G as well. // CHECK: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-15]]:3, line:[[@LINE-3]]:5> col:5 b 'struct (anonymous struct at {{.*}}:[[@LINE-15]]:3)':'G::(anonymous struct at {{.*}}:[[@LINE-15]]:3)' union { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+13]]:3> line:[[@LINE-1]]:3 union definition // CHECK-NEXT: DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int c; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 c 'int' float d; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:11> col:11 d 'float' }; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-15]]:3> col:3 implicit 'G::(anonymous union at {{.*}}:[[@LINE-15]]:3)' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-6]]:9> col:9 implicit c 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'G::(anonymous union at {{.*}}:[[@LINE-17]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'c' 'int' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-7]]:11> col:11 implicit d 'float' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'G::(anonymous union at {{.*}}:[[@LINE-20]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'd' 'float' struct { // CHECK-NEXT: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:3, line:[[@LINE+12]]:3> line:[[@LINE-1]]:3 struct definition // CHECK-NEXT: DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal // CHECK-NEXT: DefaultConstructor exists trivial needs_implicit // CHECK-NEXT: CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveConstructor exists simple trivial needs_implicit // CHECK-NEXT: CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param // CHECK-NEXT: MoveAssignment exists simple trivial needs_implicit // CHECK-NEXT: Destructor simple irrelevant trivial needs_implicit int e, f; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:5, col:9> col:9 e 'int' // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <col:5, col:12> col:12 f 'int' }; // CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <line:[[@LINE-14]]:3> col:3 implicit 'G::(anonymous struct at {{.*}}:[[@LINE-14]]:3)' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <line:[[@LINE-5]]:9> col:9 implicit e 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'G::(anonymous struct at {{.*}}:[[@LINE-16]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'e' 'int' // CHECK-NEXT: IndirectFieldDecl 0x{{[^ ]*}} <col:12> col:12 implicit f 'int' // CHECK-NEXT: Field 0x{{[^ ]*}} '' 'G::(anonymous struct at {{.*}}:[[@LINE-19]]:3)' // CHECK-NEXT: Field 0x{{[^ ]*}} 'f' 'int' }; struct Base1 {}; struct Base2 {}; struct Base3 {}; struct Derived1 : Base1 { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+2]]:1> line:[[@LINE-1]]:8 struct Derived1 definition // CHECK: public 'Base1' }; struct Derived2 : private Base1 { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+2]]:1> line:[[@LINE-1]]:8 struct Derived2 definition // CHECK: private 'Base1' }; struct Derived3 : virtual Base1 { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+2]]:1> line:[[@LINE-1]]:8 struct Derived3 definition // CHECK: virtual public 'Base1' }; struct Derived4 : Base1, virtual Base2, protected Base3 { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+4]]:1> line:[[@LINE-1]]:8 struct Derived4 definition // CHECK: public 'Base1' // CHECK-NEXT: virtual public 'Base2' // CHECK-NEXT: protected 'Base3' }; struct Derived5 : protected virtual Base1 { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+2]]:1> line:[[@LINE-1]]:8 struct Derived5 definition // CHECK: virtual protected 'Base1' }; template <typename... Bases> struct Derived6 : virtual public Bases... { // CHECK: CXXRecordDecl 0x{{[^ ]*}} <line:[[@LINE-1]]:1, line:[[@LINE+2]]:1> line:[[@LINE-1]]:8 struct Derived6 definition // CHECK: virtual public 'Bases'... };
{ "language": "Assembly" }
// Modified by Princeton University on June 9th, 2015 /* * ========== Copyright Header Begin ========================================== * * OpenSPARC T1 Processor File: hp_dmmu_zctx_ptr_ext.s * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES. * * The above named program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License version 2 as published by the Free Software Foundation. * * The above named program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * * ========== Copyright Header End ============================================ */ /* !!------------------------------------------------------------------------------- !! !! This file has the micro-code to test out the MMU registers !! !! add the support for customized trap handler. The reason is !! we need to setup different TSB size for DMMU. !! !! During the boot code, we still use standard MMU trap handler !! to handle the page fault. After entering the user code, we !! use customized trap handler to check the caculated 8K pointer !! and 64k pointer, after settup the size bits in TSB register. !! !! Diag covers : DMMU && Context = 0 : ============================ TSB register : a. split = 0 1. TSB_Size = 4'b1000 2. TSB_Size = 4'b1001 3. TSB_Size = 4'b1010 ....... 8. TSB_Size = 4'b1111 b. split = 1 1. TSB_Size = 3'b1000 2. TSB_Size = 3'b1001 3. TSB_Size = 3'b1010 4. TSB_Size = 3'b1011 ...... 8. TSB_Size = 4'b1111 !! !! ps0[2:0] can be : 0 -- 8k; 1 -- 64k; 3 -- 4Mb; 5 -- 256Mb. !! !! !! asi_dmmu_tsb_ps0_ptr_reg : !! if(tsb_base.split=0) { !! ps0_ptr = { tsb_base[63:13+tsb_size] , !! va[21+tsb_size+3*config.ps0:13+3*config.ps0] , 4'b0000 }; !! } else { !! ps0_ptr = { tsb_base[63:14+tsb_size] , 1'b0 , !! va[21+tsb_size+3*config.ps0:13+3*config.ps0] | 4'b0000 }; !! } !! !! similarly, diag will test !! !! asi_dmmu_tsb_ps1_ptr_reg : !! if(tsb_base.split=0) { !! ps1_ptr = { tsb_base[63:13+tsb_size] , !! va[21+tsb_size+3*config.ps1:13+3*config.ps1] , 4'b0000 }; !! } else { !! ps1_ptr = { tsb_base[63:14+tsb_size] , 1'b0 , !! va[21+tsb_size+3*config.ps1:13+3*config.ps1] | 4'b0000 }; !! } !! !!------------------------------------------------------------------------------- */ #define H_HT0_fast_data_access_MMU_miss T0_fast_dmmu_miss #define H_T0_Division_By_Zero local_dividezero_handler #define H_HT0_Data_Access_Exception_0x30 local_daccess_excp_handler #define MAIN_PAGE_HV_ALSO #include "boot.s" .text .global main main: mov 0x0, %l0 mov 0x1, %l1 ta T_CHANGE_HPRIV nop wr_itte1: #define TAG_ACCESS1 0x00000000001b0000 #define DATA_IN1 0x80000000001b0003 setx TAG_ACCESS1, %l0, %g4 setx DATA_IN1, %l0, %g5 mov 0x30, %g3 stxa %g4, [ %g3 ] 0x50 stxa %g5, [ %g0 ] 0x54 ta T_CHANGE_NONHPRIV nop tc_0: /* use default PS0 config & PS1 config */ udiv %l1, %l0, %l3 /* this will trap to supervisor mode */ nop tc_1: /* change PS0 = 1, PS1=1 */ ta T_CHANGE_HPRIV nop #define DMMU_CTXZERO_CONFIG_PS1 (1<<8 |1) setx DMMU_CTXZERO_CONFIG_PS1, %l0, %l1 stxa %l1, [%g0] 0x33 ta T_CHANGE_NONHPRIV nop mov 0x0, %l0 mov 0x1, %l1 udiv %l1, %l0, %l3 /* this will trap to supervisor mode */ nop tc_2: /* change PS0 = 3, PS1=3 */ ta T_CHANGE_HPRIV nop #define DMMU_CTXZERO_CONFIG_PS2 (3<<8 |3) setx DMMU_CTXZERO_CONFIG_PS2, %l0, %l1 stxa %l1, [%g0] 0x33 ta T_CHANGE_NONHPRIV nop mov 0x0, %l0 mov 0x1, %l1 udiv %l1, %l0, %l3 /* this will trap to supervisor mode */ nop tc_3: /* change PS0 = 5, PS1=5 */ ta T_CHANGE_HPRIV nop #define DMMU_CTXZERO_CONFIG_PS3 (5<<8 |5) setx DMMU_CTXZERO_CONFIG_PS3, %l0, %l1 stxa %l1, [%g0] 0x33 ta T_CHANGE_NONHPRIV nop mov 0x0, %l0 mov 0x1, %l1 udiv %l1, %l0, %l3 /* this will trap to supervisor mode */ nop diag_pass: ta T_GOOD_TRAP nop /* **************************************************** * local divide by zero handler * used to switch to Context 0 **************************************************** */ #define DIVZERO_PG_ADDR 0x1b0000 SECTION .USER_TRAP_PG TEXT_VA = DIVZERO_PG_ADDR attr_text { NAME = .USER_TRAP_PG, hypervisor } .global local_dividezero_handler local_dividezero_handler: #define DTSB_BASE0 0xffffaaaaaaaa8000 /* VA[48] = 1 */ #define DTSB_BASE1 0xffff8aaaaaaac000 /* VA[48] = 1 */ #define DTSB_BASE2 0x0000455555558000 /* VA[48] = 0 */ #define DTSB_BASE3 0xffffffffffffc000 /* VA[48] = 1 */ #define DTSB_BASE4 0x00007a5a5a5a4000 /* VA[48] = 0 */ #define DTSB_BASE5 0xfffff8fafafa8000 /* VA[48] = 1 */ #define DTSB_BASE6 0x00007fffffffc000 /* VA[48] = 0 */ #define DTSB_BASE7 0xffffa89a5ffa8000 /* VA[48] = 1 */ mov 0x0, %l0 mov 0x0, %l1 dtsb_0: /* *************************************** * split = 0 , dtsb_size = 4'b1000 *************************************** */ mov 0x1, %o0 /* test case 1 */ setx DTSB_BASE0, %l0, %l1 add %l1, 0x8, %l1 /* TSB_size = 4'b1000 */ call dtsb_test nop dtsb_1: /* *************************************** * split = 0 , dtsb_size = 4'b1001 *************************************** */ mov 0x1, %o0 /* test case 1 */ setx DTSB_BASE1, %l0, %l1 add %l1, 0x9, %l1 /* TSB_size = 4'b1001 */ call dtsb_test nop dtsb_2: /* *************************************** * split = 0 , dtsb_size = 3'b010 *************************************** */ mov 0x2, %o0 /* test case 2 */ setx DTSB_BASE2, %l0, %l1 add %l1, 0xa, %l1 /* TSB_size = 3'b1010 */ call dtsb_test nop dtsb_3: /* *************************************** * split = 0 , dtsb_size = 3'b011 *************************************** */ mov 0x3, %o0 /* test case 3 */ setx DTSB_BASE3, %l0, %l1 add %l1, 0xb, %l1 /* TSB_size = 3'b011 */ call dtsb_test nop dtsb_4: /* *************************************** * split = 0 , dtsb_size = 3'b100 *************************************** */ mov 0x4, %o0 /* test case 4 */ setx DTSB_BASE4, %l0, %l1 add %l1, 0xc, %l1 /* TSB_size = 3'b100 */ call dtsb_test nop dtsb_5: /* *************************************** * split = 0 , dtsb_size = 3'b101 *************************************** */ mov 0x5, %o0 /* test case 5 */ setx DTSB_BASE5, %l0, %l1 add %l1, 0xd, %l1 /* TSB_size = 3'b101 */ call dtsb_test nop dtsb_6: /* *************************************** * split = 0 , dtsb_size = 3'b110 *************************************** */ mov 0x6, %o0 /* test case 6 */ setx DTSB_BASE6, %l0, %l1 add %l1, 0xe, %l1 /* TSB_size = 3'b110 */ call dtsb_test nop dtsb_7: /* *************************************** * split = 0 , dtsb_size = 3'b111 *************************************** */ mov 0x7, %o0 /* test case 7 */ setx DTSB_BASE7, %l0, %l1 add %l1, 0xf, %l1 /* TSB_size = 3'b111 */ call dtsb_test nop mov 0x0, %l0 dtsb_8: /* *************************************** * split = 1 , dtsb_size = 4'b1000 *************************************** */ mov 0x8, %o0 /* test case 8 */ setx DTSB_BASE1, %l0, %l1 add %l1, 0x8, %l1 /* TSB_size = 4'b1000 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_9: /* *************************************** * split = 1 , dtsb_size = 4'b1001 *************************************** */ mov 0x8, %o0 /* test case 8 */ setx DTSB_BASE1, %l0, %l1 add %l1, 0x9, %l1 /* TSB_size = 4'b1001 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_10: /* *************************************** * split = 1 , dtsb_size = 4'b1010 *************************************** */ mov 0x9, %o0 /* test case 9 */ setx DTSB_BASE2, %l0, %l1 add %l1, 0xa, %l1 /* TSB_size = 4'b1010 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_11: /* *************************************** * split = 1 , dtsb_size = 4'b1011 *************************************** */ mov 0xa, %o0 /* test case 10 */ setx DTSB_BASE3, %l0, %l1 add %l1, 0xb, %l1 /* TSB_size = 4'b1011 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_12: /* *************************************** * split = 1 , dtsb_size = 3'b100 *************************************** */ mov 0xb, %o0 /* test case 11 */ setx DTSB_BASE4, %l0, %l1 add %l1, 0xc, %l1 /* TSB_size = 4'b1100 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_13: /* *************************************** * split = 1 , dtsb_size = 3'b101 *************************************** */ mov 0xc, %o0 /* test case 12 */ setx DTSB_BASE5, %l0, %l1 add %l1, 0xd, %l1 /* TSB_size = 4'b1101 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_14: /* *************************************** * split = 1 , dtsb_size = 3'b110 *************************************** */ mov 0xd, %o0 /* test case 13 */ setx DTSB_BASE6, %l0, %l1 add %l1, 0xe, %l1 /* TSB_size = 4'b1110 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop dtsb_15: /* *************************************** * split = 1 , dtsb_size = 3'b111 *************************************** */ mov 0xe, %o0 /* test case 14 */ setx DTSB_BASE7, %l0, %l1 add %l1, 0xf, %l1 /* TSB_size = 4'b1111 */ set 0x1000, %l3 or %l3, %l1, %l1 call dtsb_test nop done nop /* ***************************************** * function : * * Input : * %l1 : d-tsb reg value * * test the D-TSB reg config ***************************************** */ dtsb_test: #define VA_MISS_ADDR1 0xffff800000000000 #define VA_MISS_ADDR2 0x00007fffffffffff #define VA_MISS_ADDR3 0xffffffffffffffff #define VA_MISS_ADDR4 0xffffaaaaaaaaaaaa #define VA_MISS_ADDR5 0x0000555555555555 #define VA_MISS_ADDR6 0x00005555aaaa5555 add %o7, 0x0, %l7 mov 0x0, %o0 ta T_CHANGE_HPRIV nop /* ********************************************** * split = 0,1; dtsb_size 4'b1000 ~ 4'b1111 ********************************************** */ mov 0x0, %o6 stxa %l1, [%o6] 0x31 /* change DMMU_CTX_ZERO_TSB_BASE_PS0 reg */ stxa %l1, [%o6] 0x32 /* change DMMU_CTX_ZERO_TSB_BASE_PS1 reg */ ldxa [%o6] 0x31, %l4 /* cross-check with RTL */ ldxa [%o6] 0x32, %l3 /* cross-check with RTL */ ta T_CHANGE_NONHPRIV nop /* generate DMISS trap */ mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ setx VA_MISS_ADDR1, %l0, %l3 ldub [%l3], %l4 /* generate DMISS trap */ mov 0x55, %l4 setx VA_MISS_ADDR2, %l0, %l3 mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ stub %l4, [%l3] /* generate DMISS trap */ setx VA_MISS_ADDR3, %l0, %l3 mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ ldub [%l3], %l4 /* generate DMISS trap */ mov 0xff, %l4 setx VA_MISS_ADDR4, %l0, %l3 mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ stub %l4, [%l3] /* generate DMISS trap */ mov 0xff, %l4 setx VA_MISS_ADDR5, %l0, %l3 mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ stub %l4, [%l3] /* generate DMISS trap */ mov 0xff, %l4 setx VA_MISS_ADDR6, %l0, %l3 mov 0x1, %o0 /* o0 non-zero, go to check ptr in Dmmu_miss */ stub %l4, [%l3] dtsb_rtn: add %l7, 0, %o7 retl nop SECTION .USER_TRAP TEXT_VA=0x1600000 attr_text { Name = .USER_TRAP hypervisor } .seg "text" .align 0x100 .global T0_fast_dmmu_miss /* ********************************************** * Customized fast DMMU page fault handler * * Input : %o0 : if 0, use standard way to handle the DMMU miss; Otherwise, use propritary trap handler ********************************************** */ T0_fast_dmmu_miss: brnz %o0, dmiss_traphdl nop dmmu_standard_trap: #include "dmmu_miss_handler.s" #include "dmmu_miss_handler_ext.s" dmiss_traphdl: ldxa [%g0] 0x59, %g1 /* DMMU_TSB_PS0_PTR reg */ ldxa [%g0] 0x5a, %g2 /* DMMU_TSB_PS1_PTR reg */ ldxa [%g0] 0x58, %g3 ! D-TSB tag target reg done nop .global local_daccess_excp_handler local_daccess_excp_handler: ldxa [%g0] 0x33, %g1 ldxa [%g0] 0x3b, %g2 mov 0x18, %g3 ldxa [%g3] 0x58, %g4 done nop
{ "language": "Assembly" }
# prog2: Pad with 2 nop's irmovl $10,%edx irmovl $3,%eax nop nop addl %edx,%eax halt
{ "language": "Assembly" }
/***************************************************************************** * * tbl65c02.c * 65c02 opcode functions and function pointer table * * Copyright Juergen Buchmueller, all rights reserved. * * - This source code is released as freeware for non-commercial purposes. * - You are free to use and redistribute this code in modified or * unmodified form, provided you list me in the credits. * - If you modify this source code, you must add a notice to each modified * source file that it has been changed. If you're a nice person, you * will clearly mark each change too. :) * - If you wish to use this for commercial purposes, please contact me at * pullmoll@t-online.de * - The author of this copywritten work reserves the right to change the * terms of its usage and license at any time, including retroactively * - This entire notice must remain in the source code. * * Not sure about the timing of all the extra (undocumented) NOP instructions. * Core may need to be split up into two 65c02 core. Not all versions supported * the bit operation RMB/SMB/etc. * *****************************************************************************/ #undef OP #define OP(nn) M6502_INLINE void m65c02_##nn(void) #define RD_IMM_DISCARD RDOPARG() #define RD_ZPG_DISCARD EA_ZPG; RDMEM(EAD) #define RD_ZPX_DISCARD EA_ZPX; RDMEM(EAD) /***************************************************************************** ***************************************************************************** * * Implementations for 65C02 opcodes * * There are a few slight differences between Rockwell and WDC 65C02 CPUs. * The absolute indexed addressing mode RMW instructions take 6 cycles on * WDC 65C02 CPU but 7 cycles on a regular 6502 and a Rockwell 65C02 CPU. * TODO: Implement STP and WAI for wdc65c02. * ***************************************************************************** * op temp cycles rdmem opc wrmem ********************/ OP(00) { BRK_C02; } /* 7 BRK */ OP(20) { JSR; } /* 6 JSR */ OP(40) { RTI; } /* 6 RTI */ OP(60) { RTS; } /* 6 RTS */ OP(80) { int tmp; BRA_C02( 1 ); } /* 3-4 BRA REL */ OP(a0) { int tmp; RD_IMM; LDY; } /* 2 LDY IMM */ OP(c0) { int tmp; RD_IMM; CPY; } /* 2 CPY IMM */ OP(e0) { int tmp; RD_IMM; CPX; } /* 2 CPX IMM */ OP(10) { int tmp; BRA_C02( ! ( P & F_N ) ); } /* 2-4 BPL REL */ OP(30) { int tmp; BRA_C02( ( P & F_N ) ); } /* 2-4 BMI REL */ OP(50) { int tmp; BRA_C02( ! ( P & F_V ) ); } /* 2-4 BVC REL */ OP(70) { int tmp; BRA_C02( ( P & F_V ) ); } /* 2-4 BVS REL */ OP(90) { int tmp; BRA_C02( ! ( P & F_C ) ); } /* 2-4 BCC REL */ OP(b0) { int tmp; BRA_C02( ( P & F_C ) ); } /* 2-4 BCS REL */ OP(d0) { int tmp; BRA_C02( ! ( P & F_Z ) ); } /* 2-4 BNE REL */ OP(f0) { int tmp; BRA_C02( ( P & F_Z ) ); } /* 2-4 BEQ REL */ OP(01) { int tmp; RD_IDX; ORA; } /* 6 ORA IDX */ OP(21) { int tmp; RD_IDX; AND; } /* 6 AND IDX */ OP(41) { int tmp; RD_IDX; EOR; } /* 6 EOR IDX */ OP(61) { int tmp; RD_IDX; ADC_C02; } /* 6/7 ADC IDX */ OP(81) { int tmp; STA; WR_IDX; } /* 6 STA IDX */ OP(a1) { int tmp; RD_IDX; LDA; } /* 6 LDA IDX */ OP(c1) { int tmp; RD_IDX; CMP; } /* 6 CMP IDX */ OP(e1) { int tmp; RD_IDX; SBC_C02; } /* 6/7 SBC IDX */ OP(11) { int tmp; RD_IDY_C02_P; ORA; } /* 5 ORA IDY page penalty */ OP(31) { int tmp; RD_IDY_C02_P; AND; } /* 5 AND IDY page penalty */ OP(51) { int tmp; RD_IDY_C02_P; EOR; } /* 5 EOR IDY page penalty */ OP(71) { int tmp; RD_IDY_C02_P; ADC_C02; } /* 5/6 ADC IDY page penalty */ OP(91) { int tmp; STA; WR_IDY_C02_NP; } /* 6 STA IDY */ OP(b1) { int tmp; RD_IDY_C02_P; LDA; } /* 5 LDA IDY page penalty */ OP(d1) { int tmp; RD_IDY_C02_P; CMP; } /* 5 CMP IDY page penalty */ OP(f1) { int tmp; RD_IDY_C02_P; SBC_C02; } /* 5/6 SBC IDY page penalty */ OP(02) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(22) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(42) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(62) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(82) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(a2) { int tmp; RD_IMM; LDX; } /* 2 LDX IMM */ OP(c2) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(e2) { RD_IMM_DISCARD; NOP; } /* 2 NOP not sure for rockwell */ OP(12) { int tmp; RD_ZPI; ORA; } /* 5 ORA ZPI */ OP(32) { int tmp; RD_ZPI; AND; } /* 5 AND ZPI */ OP(52) { int tmp; RD_ZPI; EOR; } /* 5 EOR ZPI */ OP(72) { int tmp; RD_ZPI; ADC_C02; } /* 5/6 ADC ZPI */ OP(92) { int tmp; STA; WR_ZPI; } /* 5 STA ZPI */ OP(b2) { int tmp; RD_ZPI; LDA; } /* 5 LDA ZPI */ OP(d2) { int tmp; RD_ZPI; CMP; } /* 5 CMP ZPI */ OP(f2) { int tmp; RD_ZPI; SBC_C02; } /* 5/6 SBC ZPI */ OP(03) { NOP; } /* 1 NOP not sure for rockwell */ OP(23) { NOP; } /* 1 NOP not sure for rockwell */ OP(43) { NOP; } /* 1 NOP not sure for rockwell */ OP(63) { NOP; } /* 1 NOP not sure for rockwell */ OP(83) { NOP; } /* 1 NOP not sure for rockwell */ OP(a3) { NOP; } /* 1 NOP not sure for rockwell */ OP(c3) { NOP; } /* 1 NOP not sure for rockwell */ OP(e3) { NOP; } /* 1 NOP not sure for rockwell */ OP(13) { NOP; } /* 1 NOP not sure for rockwell */ OP(33) { NOP; } /* 1 NOP not sure for rockwell */ OP(53) { NOP; } /* 1 NOP not sure for rockwell */ OP(73) { NOP; } /* 1 NOP not sure for rockwell */ OP(93) { NOP; } /* 1 NOP not sure for rockwell */ OP(b3) { NOP; } /* 1 NOP not sure for rockwell */ OP(d3) { NOP; } /* 1 NOP not sure for rockwell */ OP(f3) { NOP; } /* 1 NOP not sure for rockwell */ OP(04) { int tmp; RD_ZPG; RD_EA; TSB; WB_EA; } /* 5 TSB ZPG */ OP(24) { int tmp; RD_ZPG; BIT; } /* 3 BIT ZPG */ OP(44) { RD_ZPG_DISCARD; NOP; } /* 3 NOP not sure for rockwell */ OP(64) { int tmp; STZ; WR_ZPG; } /* 3 STZ ZPG */ OP(84) { int tmp; STY; WR_ZPG; } /* 3 STY ZPG */ OP(a4) { int tmp; RD_ZPG; LDY; } /* 3 LDY ZPG */ OP(c4) { int tmp; RD_ZPG; CPY; } /* 3 CPY ZPG */ OP(e4) { int tmp; RD_ZPG; CPX; } /* 3 CPX ZPG */ OP(14) { int tmp; RD_ZPG; RD_EA; TRB; WB_EA; } /* 5 TRB ZPG */ OP(34) { int tmp; RD_ZPX; BIT; } /* 4 BIT ZPX */ OP(54) { RD_ZPX_DISCARD; NOP; } /* 4 NOP not sure for rockwell */ OP(74) { int tmp; STZ; WR_ZPX; } /* 4 STZ ZPX */ OP(94) { int tmp; STY; WR_ZPX; } /* 4 STY ZPX */ OP(b4) { int tmp; RD_ZPX; LDY; } /* 4 LDY ZPX */ OP(d4) { RD_ZPX_DISCARD; NOP; } /* 4 NOP not sure for rockwell */ OP(f4) { RD_ZPX_DISCARD; NOP; } /* 4 NOP not sure for rockwell */ OP(05) { int tmp; RD_ZPG; ORA; } /* 3 ORA ZPG */ OP(25) { int tmp; RD_ZPG; AND; } /* 3 AND ZPG */ OP(45) { int tmp; RD_ZPG; EOR; } /* 3 EOR ZPG */ OP(65) { int tmp; RD_ZPG; ADC_C02; } /* 3/4 ADC ZPG */ OP(85) { int tmp; STA; WR_ZPG; } /* 3 STA ZPG */ OP(a5) { int tmp; RD_ZPG; LDA; } /* 3 LDA ZPG */ OP(c5) { int tmp; RD_ZPG; CMP; } /* 3 CMP ZPG */ OP(e5) { int tmp; RD_ZPG; SBC_C02; } /* 3/4 SBC ZPG */ OP(15) { int tmp; RD_ZPX; ORA; } /* 4 ORA ZPX */ OP(35) { int tmp; RD_ZPX; AND; } /* 4 AND ZPX */ OP(55) { int tmp; RD_ZPX; EOR; } /* 4 EOR ZPX */ OP(75) { int tmp; RD_ZPX; ADC_C02; } /* 4/5 ADC ZPX */ OP(95) { int tmp; STA; WR_ZPX; } /* 4 STA ZPX */ OP(b5) { int tmp; RD_ZPX; LDA; } /* 4 LDA ZPX */ OP(d5) { int tmp; RD_ZPX; CMP; } /* 4 CMP ZPX */ OP(f5) { int tmp; RD_ZPX; SBC_C02; } /* 4/5 SBC ZPX */ OP(06) { int tmp; RD_ZPG, RD_EA; ASL; WB_EA; } /* 5 ASL ZPG */ OP(26) { int tmp; RD_ZPG; RD_EA; ROL; WB_EA; } /* 5 ROL ZPG */ OP(46) { int tmp; RD_ZPG; RD_EA; LSR; WB_EA; } /* 5 LSR ZPG */ OP(66) { int tmp; RD_ZPG; RD_EA; ROR; WB_EA; } /* 5 ROR ZPG */ OP(86) { int tmp; STX; WR_ZPG; } /* 3 STX ZPG */ OP(a6) { int tmp; RD_ZPG; LDX; } /* 3 LDX ZPG */ OP(c6) { int tmp; RD_ZPG; RD_EA; DEC; WB_EA; } /* 5 DEC ZPG */ OP(e6) { int tmp; RD_ZPG; RD_EA; INC; WB_EA; } /* 5 INC ZPG */ OP(16) { int tmp; RD_ZPX; RD_EA; ASL; WB_EA; } /* 6 ASL ZPX */ OP(36) { int tmp; RD_ZPX; RD_EA; ROL; WB_EA; } /* 6 ROL ZPX */ OP(56) { int tmp; RD_ZPX; RD_EA; LSR; WB_EA; } /* 6 LSR ZPX */ OP(76) { int tmp; RD_ZPX; RD_EA; ROR; WB_EA; } /* 6 ROR ZPX */ OP(96) { int tmp; STX; WR_ZPY; } /* 4 STX ZPY */ OP(b6) { int tmp; RD_ZPY; LDX; } /* 4 LDX ZPY */ OP(d6) { int tmp; RD_ZPX; RD_EA; DEC; WB_EA; } /* 6 DEC ZPX */ OP(f6) { int tmp; RD_ZPX; RD_EA; INC; WB_EA; } /* 6 INC ZPX */ OP(07) { int tmp; RD_ZPG; RD_EA; RMB(0);WB_EA; } /* 5 RMB0 ZPG */ OP(27) { int tmp; RD_ZPG; RD_EA; RMB(2);WB_EA; } /* 5 RMB2 ZPG */ OP(47) { int tmp; RD_ZPG; RD_EA; RMB(4);WB_EA; } /* 5 RMB4 ZPG */ OP(67) { int tmp; RD_ZPG; RD_EA; RMB(6);WB_EA; } /* 5 RMB6 ZPG */ OP(87) { int tmp; RD_ZPG; RD_EA; SMB(0);WB_EA; } /* 5 SMB0 ZPG */ OP(a7) { int tmp; RD_ZPG; RD_EA; SMB(2);WB_EA; } /* 5 SMB2 ZPG */ OP(c7) { int tmp; RD_ZPG; RD_EA; SMB(4);WB_EA; } /* 5 SMB4 ZPG */ OP(e7) { int tmp; RD_ZPG; RD_EA; SMB(6);WB_EA; } /* 5 SMB6 ZPG */ OP(17) { int tmp; RD_ZPG; RD_EA; RMB(1);WB_EA; } /* 5 RMB1 ZPG */ OP(37) { int tmp; RD_ZPG; RD_EA; RMB(3);WB_EA; } /* 5 RMB3 ZPG */ OP(57) { int tmp; RD_ZPG; RD_EA; RMB(5);WB_EA; } /* 5 RMB5 ZPG */ OP(77) { int tmp; RD_ZPG; RD_EA; RMB(7);WB_EA; } /* 5 RMB7 ZPG */ OP(97) { int tmp; RD_ZPG; RD_EA; SMB(1);WB_EA; } /* 5 SMB1 ZPG */ OP(b7) { int tmp; RD_ZPG; RD_EA; SMB(3);WB_EA; } /* 5 SMB3 ZPG */ OP(d7) { int tmp; RD_ZPG; RD_EA; SMB(5);WB_EA; } /* 5 SMB5 ZPG */ OP(f7) { int tmp; RD_ZPG; RD_EA; SMB(7);WB_EA; } /* 5 SMB7 ZPG */ OP(08) { RD_DUM; PHP; } /* 3 PHP */ OP(28) { RD_DUM; PLP; } /* 4 PLP */ OP(48) { RD_DUM; PHA; } /* 3 PHA */ OP(68) { RD_DUM; PLA; } /* 4 PLA */ OP(88) { RD_DUM; DEY; } /* 2 DEY */ OP(a8) { RD_DUM; TAY; } /* 2 TAY */ OP(c8) { RD_DUM; INY; } /* 2 INY */ OP(e8) { RD_DUM; INX; } /* 2 INX */ OP(18) { RD_DUM; CLC; } /* 2 CLC */ OP(38) { RD_DUM; SEC; } /* 2 SEC */ OP(58) { RD_DUM; CLI; } /* 2 CLI */ OP(78) { RD_DUM; SEI; } /* 2 SEI */ OP(98) { RD_DUM; TYA; } /* 2 TYA */ OP(b8) { RD_DUM; CLV; } /* 2 CLV */ OP(d8) { RD_DUM; CLD; } /* 2 CLD */ OP(f8) { RD_DUM; SED; } /* 2 SED */ OP(09) { int tmp; RD_IMM; ORA; } /* 2 ORA IMM */ OP(29) { int tmp; RD_IMM; AND; } /* 2 AND IMM */ OP(49) { int tmp; RD_IMM; EOR; } /* 2 EOR IMM */ OP(69) { int tmp; RD_IMM; ADC_C02; } /* 2/3 ADC IMM */ OP(89) { int tmp; RD_IMM; BIT_IMM_C02; } /* 2 BIT IMM */ OP(a9) { int tmp; RD_IMM; LDA; } /* 2 LDA IMM */ OP(c9) { int tmp; RD_IMM; CMP; } /* 2 CMP IMM */ OP(e9) { int tmp; RD_IMM; SBC_C02; } /* 2/3 SBC IMM */ OP(19) { int tmp; RD_ABY_C02_P; ORA; } /* 4 ORA ABY page penalty */ OP(39) { int tmp; RD_ABY_C02_P; AND; } /* 4 AND ABY page penalty */ OP(59) { int tmp; RD_ABY_C02_P; EOR; } /* 4 EOR ABY page penalty */ OP(79) { int tmp; RD_ABY_C02_P; ADC_C02; } /* 4/5 ADC ABY page penalty */ OP(99) { int tmp; STA; WR_ABY_C02_NP; } /* 5 STA ABY */ OP(b9) { int tmp; RD_ABY_C02_P; LDA; } /* 4 LDA ABY page penalty */ OP(d9) { int tmp; RD_ABY_C02_P; CMP; } /* 4 CMP ABY page penalty */ OP(f9) { int tmp; RD_ABY_C02_P; SBC_C02; } /* 4/5 SBC ABY page penalty */ OP(0a) { int tmp; RD_DUM; RD_ACC; ASL; WB_ACC; } /* 2 ASL A */ OP(2a) { int tmp; RD_DUM; RD_ACC; ROL; WB_ACC; } /* 2 ROL A */ OP(4a) { int tmp; RD_DUM; RD_ACC; LSR; WB_ACC; } /* 2 LSR A */ OP(6a) { int tmp; RD_DUM; RD_ACC; ROR; WB_ACC; } /* 2 ROR A */ OP(8a) { RD_DUM; TXA; } /* 2 TXA */ OP(aa) { RD_DUM; TAX; } /* 2 TAX */ OP(ca) { RD_DUM; DEX; } /* 2 DEX */ OP(ea) { RD_DUM; NOP; } /* 2 NOP */ OP(1a) { RD_DUM;INA; } /* 2 INA */ OP(3a) { RD_DUM;DEA; } /* 2 DEA */ OP(5a) { RD_DUM;PHY; } /* 3 PHY */ OP(7a) { RD_DUM;PLY; } /* 4 PLY */ OP(9a) { RD_DUM; TXS; } /* 2 TXS */ OP(ba) { RD_DUM; TSX; } /* 2 TSX */ OP(da) { RD_DUM;PHX; } /* 3 PHX */ OP(fa) { RD_DUM;PLX; } /* 4 PLX */ OP(0b) { NOP; } /* 1 NOP not sure for rockwell */ OP(2b) { NOP; } /* 1 NOP not sure for rockwell */ OP(4b) { NOP; } /* 1 NOP not sure for rockwell */ OP(6b) { NOP; } /* 1 NOP not sure for rockwell */ OP(8b) { NOP; } /* 1 NOP not sure for rockwell */ OP(ab) { NOP; } /* 1 NOP not sure for rockwell */ OP(cb) { NOP; } /* 1 NOP not sure for rockwell */ OP(eb) { NOP; } /* 1 NOP not sure for rockwell */ OP(1b) { NOP; } /* 1 NOP not sure for rockwell */ OP(3b) { NOP; } /* 1 NOP not sure for rockwell */ OP(5b) { NOP; } /* 1 NOP not sure for rockwell */ OP(7b) { NOP; } /* 1 NOP not sure for rockwell */ OP(9b) { NOP; } /* 1 NOP not sure for rockwell */ OP(bb) { NOP; } /* 1 NOP not sure for rockwell */ OP(db) { NOP; } /* 1 NOP not sure for rockwell */ OP(fb) { NOP; } /* 1 NOP not sure for rockwell */ OP(0c) { int tmp; RD_ABS; RD_EA; TSB; WB_EA; } /* 6 TSB ABS */ OP(2c) { int tmp; RD_ABS; BIT; } /* 4 BIT ABS */ OP(4c) { EA_ABS; JMP; } /* 3 JMP ABS */ OP(6c) { int tmp; EA_IND_C02; JMP; } /* 6 JMP IND */ OP(8c) { int tmp; STY; WR_ABS; } /* 4 STY ABS */ OP(ac) { int tmp; RD_ABS; LDY; } /* 4 LDY ABS */ OP(cc) { int tmp; RD_ABS; CPY; } /* 4 CPY ABS */ OP(ec) { int tmp; RD_ABS; CPX; } /* 4 CPX ABS */ OP(1c) { int tmp; RD_ABS; RD_EA; TRB; WB_EA; } /* 6 TRB ABS */ OP(3c) { int tmp; RD_ABX_C02_P; BIT; } /* 4 BIT ABX page penalty */ OP(5c) { RD_ABX_C02_NP_DISCARD; RD_DUM; RD_DUM; RD_DUM; RD_DUM; } /* 8 NOP ABX not sure for rockwell. Page penalty not sure */ OP(7c) { int tmp; EA_IAX; JMP; } /* 6 JMP IAX page penalty */ OP(9c) { int tmp; STZ; WR_ABS; } /* 4 STZ ABS */ OP(bc) { int tmp; RD_ABX_C02_P; LDY; } /* 4 LDY ABX page penalty */ OP(dc) { RD_ABX_C02_NP_DISCARD; NOP; } /* 4 NOP ABX not sure for rockwell. Page penalty not sure */ OP(fc) { RD_ABX_C02_NP_DISCARD; NOP; } /* 4 NOP ABX not sure for rockwell. Page penalty not sure */ OP(0d) { int tmp; RD_ABS; ORA; } /* 4 ORA ABS */ OP(2d) { int tmp; RD_ABS; AND; } /* 4 AND ABS */ OP(4d) { int tmp; RD_ABS; EOR; } /* 4 EOR ABS */ OP(6d) { int tmp; RD_ABS; ADC_C02; } /* 4/5 ADC ABS */ OP(8d) { int tmp; STA; WR_ABS; } /* 4 STA ABS */ OP(ad) { int tmp; RD_ABS; LDA; } /* 4 LDA ABS */ OP(cd) { int tmp; RD_ABS; CMP; } /* 4 CMP ABS */ OP(ed) { int tmp; RD_ABS; SBC_C02; } /* 4/5 SBC ABS */ OP(1d) { int tmp; RD_ABX_C02_P; ORA; } /* 4 ORA ABX page penalty */ OP(3d) { int tmp; RD_ABX_C02_P; AND; } /* 4 AND ABX page penalty */ OP(5d) { int tmp; RD_ABX_C02_P; EOR; } /* 4 EOR ABX page penalty */ OP(7d) { int tmp; RD_ABX_C02_P; ADC_C02; } /* 4/5 ADC ABX page penalty */ OP(9d) { int tmp; STA; WR_ABX_C02_NP; } /* 5 STA ABX */ OP(bd) { int tmp; RD_ABX_C02_P; LDA; } /* 4 LDA ABX page penalty */ OP(dd) { int tmp; RD_ABX_C02_P; CMP; } /* 4 CMP ABX page penalty */ OP(fd) { int tmp; RD_ABX_C02_P; SBC_C02; } /* 4/5 SBC ABX page penalty */ OP(0e) { int tmp; RD_ABS; RD_EA; ASL; WB_EA; } /* 6 ASL ABS */ OP(2e) { int tmp; RD_ABS; RD_EA; ROL; WB_EA; } /* 6 ROL ABS */ OP(4e) { int tmp; RD_ABS; RD_EA; LSR; WB_EA; } /* 6 LSR ABS */ OP(6e) { int tmp; RD_ABS; RD_EA; ROR; WB_EA; } /* 6 ROR ABS */ OP(8e) { int tmp; STX; WR_ABS; } /* 4 STX ABS */ OP(ae) { int tmp; RD_ABS; LDX; } /* 4 LDX ABS */ OP(ce) { int tmp; RD_ABS; RD_EA; DEC; WB_EA; } /* 6 DEC ABS */ OP(ee) { int tmp; RD_ABS; RD_EA; INC; WB_EA; } /* 6 INC ABS */ OP(1e) { int tmp; RD_ABX_C02_NP; RD_EA; ASL; WB_EA; } /* 7 ASL ABX */ OP(3e) { int tmp; RD_ABX_C02_NP; RD_EA; ROL; WB_EA; } /* 7 ROL ABX */ OP(5e) { int tmp; RD_ABX_C02_NP; RD_EA; LSR; WB_EA; } /* 7 LSR ABX */ OP(7e) { int tmp; RD_ABX_C02_NP; RD_EA; ROR; WB_EA; } /* 7 ROR ABX */ OP(9e) { int tmp; STZ; WR_ABX_C02_NP; } /* 5 STZ ABX */ OP(be) { int tmp; RD_ABY_C02_P; LDX; } /* 4 LDX ABY page penalty */ OP(de) { int tmp; RD_ABX_C02_NP; RD_EA; DEC; WB_EA; } /* 7 DEC ABX */ OP(fe) { int tmp; RD_ABX_C02_NP; RD_EA; INC; WB_EA; } /* 7 INC ABX */ OP(0f) { int tmp; RD_ZPG; BBR(0); } /* 5-7 BBR0 ZPG */ OP(2f) { int tmp; RD_ZPG; BBR(2); } /* 5-7 BBR2 ZPG */ OP(4f) { int tmp; RD_ZPG; BBR(4); } /* 5-7 BBR4 ZPG */ OP(6f) { int tmp; RD_ZPG; BBR(6); } /* 5-7 BBR6 ZPG */ OP(8f) { int tmp; RD_ZPG; BBS(0); } /* 5-7 BBS0 ZPG */ OP(af) { int tmp; RD_ZPG; BBS(2); } /* 5-7 BBS2 ZPG */ OP(cf) { int tmp; RD_ZPG; BBS(4); } /* 5-7 BBS4 ZPG */ OP(ef) { int tmp; RD_ZPG; BBS(6); } /* 5-7 BBS6 ZPG */ OP(1f) { int tmp; RD_ZPG; BBR(1); } /* 5-7 BBR1 ZPG */ OP(3f) { int tmp; RD_ZPG; BBR(3); } /* 5-7 BBR3 ZPG */ OP(5f) { int tmp; RD_ZPG; BBR(5); } /* 5-7 BBR5 ZPG */ OP(7f) { int tmp; RD_ZPG; BBR(7); } /* 5-7 BBR7 ZPG */ OP(9f) { int tmp; RD_ZPG; BBS(1); } /* 5-7 BBS1 ZPG */ OP(bf) { int tmp; RD_ZPG; BBS(3); } /* 5-7 BBS3 ZPG */ OP(df) { int tmp; RD_ZPG; BBS(5); } /* 5-7 BBS5 ZPG */ OP(ff) { int tmp; RD_ZPG; BBS(7); } /* 5-7 BBS7 ZPG */ static void (*const insn65c02[0x100])(void) = { m65c02_00,m65c02_01,m65c02_02,m65c02_03,m65c02_04,m65c02_05,m65c02_06,m65c02_07, m65c02_08,m65c02_09,m65c02_0a,m65c02_0b,m65c02_0c,m65c02_0d,m65c02_0e,m65c02_0f, m65c02_10,m65c02_11,m65c02_12,m65c02_13,m65c02_14,m65c02_15,m65c02_16,m65c02_17, m65c02_18,m65c02_19,m65c02_1a,m65c02_1b,m65c02_1c,m65c02_1d,m65c02_1e,m65c02_1f, m65c02_20,m65c02_21,m65c02_22,m65c02_23,m65c02_24,m65c02_25,m65c02_26,m65c02_27, m65c02_28,m65c02_29,m65c02_2a,m65c02_2b,m65c02_2c,m65c02_2d,m65c02_2e,m65c02_2f, m65c02_30,m65c02_31,m65c02_32,m65c02_33,m65c02_34,m65c02_35,m65c02_36,m65c02_37, m65c02_38,m65c02_39,m65c02_3a,m65c02_3b,m65c02_3c,m65c02_3d,m65c02_3e,m65c02_3f, m65c02_40,m65c02_41,m65c02_42,m65c02_43,m65c02_44,m65c02_45,m65c02_46,m65c02_47, m65c02_48,m65c02_49,m65c02_4a,m65c02_4b,m65c02_4c,m65c02_4d,m65c02_4e,m65c02_4f, m65c02_50,m65c02_51,m65c02_52,m65c02_53,m65c02_54,m65c02_55,m65c02_56,m65c02_57, m65c02_58,m65c02_59,m65c02_5a,m65c02_5b,m65c02_5c,m65c02_5d,m65c02_5e,m65c02_5f, m65c02_60,m65c02_61,m65c02_62,m65c02_63,m65c02_64,m65c02_65,m65c02_66,m65c02_67, m65c02_68,m65c02_69,m65c02_6a,m65c02_6b,m65c02_6c,m65c02_6d,m65c02_6e,m65c02_6f, m65c02_70,m65c02_71,m65c02_72,m65c02_73,m65c02_74,m65c02_75,m65c02_76,m65c02_77, m65c02_78,m65c02_79,m65c02_7a,m65c02_7b,m65c02_7c,m65c02_7d,m65c02_7e,m65c02_7f, m65c02_80,m65c02_81,m65c02_82,m65c02_83,m65c02_84,m65c02_85,m65c02_86,m65c02_87, m65c02_88,m65c02_89,m65c02_8a,m65c02_8b,m65c02_8c,m65c02_8d,m65c02_8e,m65c02_8f, m65c02_90,m65c02_91,m65c02_92,m65c02_93,m65c02_94,m65c02_95,m65c02_96,m65c02_97, m65c02_98,m65c02_99,m65c02_9a,m65c02_9b,m65c02_9c,m65c02_9d,m65c02_9e,m65c02_9f, m65c02_a0,m65c02_a1,m65c02_a2,m65c02_a3,m65c02_a4,m65c02_a5,m65c02_a6,m65c02_a7, m65c02_a8,m65c02_a9,m65c02_aa,m65c02_ab,m65c02_ac,m65c02_ad,m65c02_ae,m65c02_af, m65c02_b0,m65c02_b1,m65c02_b2,m65c02_b3,m65c02_b4,m65c02_b5,m65c02_b6,m65c02_b7, m65c02_b8,m65c02_b9,m65c02_ba,m65c02_bb,m65c02_bc,m65c02_bd,m65c02_be,m65c02_bf, m65c02_c0,m65c02_c1,m65c02_c2,m65c02_c3,m65c02_c4,m65c02_c5,m65c02_c6,m65c02_c7, m65c02_c8,m65c02_c9,m65c02_ca,m65c02_cb,m65c02_cc,m65c02_cd,m65c02_ce,m65c02_cf, m65c02_d0,m65c02_d1,m65c02_d2,m65c02_d3,m65c02_d4,m65c02_d5,m65c02_d6,m65c02_d7, m65c02_d8,m65c02_d9,m65c02_da,m65c02_db,m65c02_dc,m65c02_dd,m65c02_de,m65c02_df, m65c02_e0,m65c02_e1,m65c02_e2,m65c02_e3,m65c02_e4,m65c02_e5,m65c02_e6,m65c02_e7, m65c02_e8,m65c02_e9,m65c02_ea,m65c02_eb,m65c02_ec,m65c02_ed,m65c02_ee,m65c02_ef, m65c02_f0,m65c02_f1,m65c02_f2,m65c02_f3,m65c02_f4,m65c02_f5,m65c02_f6,m65c02_f7, m65c02_f8,m65c02_f9,m65c02_fa,m65c02_fb,m65c02_fc,m65c02_fd,m65c02_fe,m65c02_ff }; #ifdef WDC65C02 OP(cb_wdc) { RD_DUM; RD_DUM; } /* 3 WAI, TODO: Implement HALT mode */ OP(db_wdc) { RD_DUM; RD_DUM; } /* 3 STP, TODO: Implement STP mode */ OP(1e_wdc) { int tmp; RD_ABX_P; RD_EA; ASL; WB_EA; } /* 6 ASL ABX page penalty */ OP(3e_wdc) { int tmp; RD_ABX_P; RD_EA; ROL; WB_EA; } /* 6 ROL ABX page penalty */ OP(5e_wdc) { int tmp; RD_ABX_P; RD_EA; LSR; WB_EA; } /* 6 LSR ABX page penalty */ OP(7e_wdc) { int tmp; RD_ABX_P; RD_EA; ROR; WB_EA; } /* 6 ROR ABX page penalty */ OP(de_wdc) { int tmp; RD_ABX_P; RD_EA; DEC; WB_EA; } /* 6 DEC ABX page penalty */ OP(fe_wdc) { int tmp; RD_ABX_P; RD_EA; INC; WB_EA; } /* 6 INC ABX page penalty */ static void (*const insnwdc65c02[0x100])(m6502_Regs *cpustate) = { m65c02_00,m65c02_01,m65c02_02,m65c02_03,m65c02_04,m65c02_05,m65c02_06,m65c02_07, m65c02_08,m65c02_09,m65c02_0a,m65c02_0b,m65c02_0c,m65c02_0d,m65c02_0e,m65c02_0f, m65c02_10,m65c02_11,m65c02_12,m65c02_13,m65c02_14,m65c02_15,m65c02_16,m65c02_17, m65c02_18,m65c02_19,m65c02_1a,m65c02_1b,m65c02_1c,m65c02_1d,m65c02_1e_wdc,m65c02_1f, m65c02_20,m65c02_21,m65c02_22,m65c02_23,m65c02_24,m65c02_25,m65c02_26,m65c02_27, m65c02_28,m65c02_29,m65c02_2a,m65c02_2b,m65c02_2c,m65c02_2d,m65c02_2e,m65c02_2f, m65c02_30,m65c02_31,m65c02_32,m65c02_33,m65c02_34,m65c02_35,m65c02_36,m65c02_37, m65c02_38,m65c02_39,m65c02_3a,m65c02_3b,m65c02_3c,m65c02_3d,m65c02_3e_wdc,m65c02_3f, m65c02_40,m65c02_41,m65c02_42,m65c02_43,m65c02_44,m65c02_45,m65c02_46,m65c02_47, m65c02_48,m65c02_49,m65c02_4a,m65c02_4b,m65c02_4c,m65c02_4d,m65c02_4e,m65c02_4f, m65c02_50,m65c02_51,m65c02_52,m65c02_53,m65c02_54,m65c02_55,m65c02_56,m65c02_57, m65c02_58,m65c02_59,m65c02_5a,m65c02_5b,m65c02_5c,m65c02_5d,m65c02_5e_wdc,m65c02_5f, m65c02_60,m65c02_61,m65c02_62,m65c02_63,m65c02_64,m65c02_65,m65c02_66,m65c02_67, m65c02_68,m65c02_69,m65c02_6a,m65c02_6b,m65c02_6c,m65c02_6d,m65c02_6e,m65c02_6f, m65c02_70,m65c02_71,m65c02_72,m65c02_73,m65c02_74,m65c02_75,m65c02_76,m65c02_77, m65c02_78,m65c02_79,m65c02_7a,m65c02_7b,m65c02_7c,m65c02_7d,m65c02_7e_wdc,m65c02_7f, m65c02_80,m65c02_81,m65c02_82,m65c02_83,m65c02_84,m65c02_85,m65c02_86,m65c02_87, m65c02_88,m65c02_89,m65c02_8a,m65c02_8b,m65c02_8c,m65c02_8d,m65c02_8e,m65c02_8f, m65c02_90,m65c02_91,m65c02_92,m65c02_93,m65c02_94,m65c02_95,m65c02_96,m65c02_97, m65c02_98,m65c02_99,m65c02_9a,m65c02_9b,m65c02_9c,m65c02_9d,m65c02_9e,m65c02_9f, m65c02_a0,m65c02_a1,m65c02_a2,m65c02_a3,m65c02_a4,m65c02_a5,m65c02_a6,m65c02_a7, m65c02_a8,m65c02_a9,m65c02_aa,m65c02_ab,m65c02_ac,m65c02_ad,m65c02_ae,m65c02_af, m65c02_b0,m65c02_b1,m65c02_b2,m65c02_b3,m65c02_b4,m65c02_b5,m65c02_b6,m65c02_b7, m65c02_b8,m65c02_b9,m65c02_ba,m65c02_bb,m65c02_bc,m65c02_bd,m65c02_be,m65c02_bf, m65c02_c0,m65c02_c1,m65c02_c2,m65c02_c3,m65c02_c4,m65c02_c5,m65c02_c6,m65c02_c7, m65c02_c8,m65c02_c9,m65c02_ca,m65c02_cb_wdc,m65c02_cc,m65c02_cd,m65c02_ce,m65c02_cf, m65c02_d0,m65c02_d1,m65c02_d2,m65c02_d3,m65c02_d4,m65c02_d5,m65c02_d6,m65c02_d7, m65c02_d8,m65c02_d9,m65c02_da,m65c02_db_wdc,m65c02_dc,m65c02_dd,m65c02_de_wdc,m65c02_df, m65c02_e0,m65c02_e1,m65c02_e2,m65c02_e3,m65c02_e4,m65c02_e5,m65c02_e6,m65c02_e7, m65c02_e8,m65c02_e9,m65c02_ea,m65c02_eb,m65c02_ec,m65c02_ed,m65c02_ee,m65c02_ef, m65c02_f0,m65c02_f1,m65c02_f2,m65c02_f3,m65c02_f4,m65c02_f5,m65c02_f6,m65c02_f7, m65c02_f8,m65c02_f9,m65c02_fa,m65c02_fb,m65c02_fc,m65c02_fd,m65c02_fe_wdc,m65c02_ff }; #endif
{ "language": "Assembly" }
/* * Copyright (C) 2008 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see * <http://www.gnu.org/licenses/>. */ #pragma once extern virSecurityDriver virSecurityDriverSELinux;
{ "language": "Assembly" }
--- a/source3/librpc/rpc/rpc_common.c +++ b/source3/librpc/rpc/rpc_common.c @@ -92,9 +92,11 @@ bool smb_register_ndr_interface(const st static bool initialize_interfaces(void) { +#ifdef LSA_SUPPORT if (!smb_register_ndr_interface(&ndr_table_lsarpc)) { return false; } +#endif #ifdef ACTIVE_DIRECTORY if (!smb_register_ndr_interface(&ndr_table_dssetup)) { return false; --- a/source3/smbd/server_exit.c +++ b/source3/smbd/server_exit.c @@ -162,7 +162,9 @@ static void exit_server_common(enum serv #ifdef SAMR_SUPPORT rpc_samr_shutdown(); #endif +#ifdef LSA_SUPPORT rpc_lsarpc_shutdown(); +#endif } /* --- a/source3/rpc_server/rpc_ep_setup.c +++ b/source3/rpc_server/rpc_ep_setup.c @@ -508,6 +508,7 @@ static bool srvsvc_init_cb(void *ptr) return true; } +#ifdef LSA_SUPPORT static bool lsarpc_init_cb(void *ptr) { struct dcesrv_ep_context *ep_ctx = @@ -556,6 +557,7 @@ static bool lsarpc_init_cb(void *ptr) return true; } +#endif #ifdef SAMR_SUPPORT static bool samr_init_cb(void *ptr) @@ -1106,12 +1108,14 @@ bool dcesrv_ep_setup(struct tevent_conte } +#ifdef LSA_SUPPORT lsarpc_cb.init = lsarpc_init_cb; lsarpc_cb.shutdown = NULL; lsarpc_cb.private_data = ep_ctx; if (!NT_STATUS_IS_OK(rpc_lsarpc_init(&lsarpc_cb))) { return false; } +#endif #ifdef SAMR_SUPPORT samr_cb.init = samr_init_cb; --- a/source3/rpc_server/rpc_handles.c +++ b/source3/rpc_server/rpc_handles.c @@ -63,7 +63,10 @@ static bool is_samr_lsa_pipe(const struc #ifdef SAMR_SUPPORT ndr_syntax_id_equal(syntax, &ndr_table_samr.syntax_id) || #endif - ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id); +#ifdef LSA_SUPPORT + ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id) || +#endif + false; } size_t num_pipe_handles(struct pipes_struct *p) --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -419,10 +419,12 @@ static bool check_bind_req(struct pipes_ context_fns->allow_connect = false; } #endif +#ifdef LSA_SUPPORT ok = ndr_syntax_id_equal(abstract, &ndr_table_lsarpc.syntax_id); if (ok) { context_fns->allow_connect = false; } +#endif #ifdef NETLOGON_SUPPORT ok = ndr_syntax_id_equal(abstract, &ndr_table_netlogon.syntax_id); if (ok) {
{ "language": "Assembly" }
//------------------------------------------------------------------------------ // GB_sel: hard-coded functions for selection operators //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved. // http://suitesparse.com See GraphBLAS/Doc/License.txt for license. //------------------------------------------------------------------------------ // If this file is in the Generated/ folder, do not edit it (auto-generated). #include "GB_select.h" #include "GB_ek_slice.h" #include "GB_sel__include.h" // The selection is defined by the following types and operators: // phase1: GB_sel_phase1__gt_thunk_int32 // phase2: GB_sel_phase2__gt_thunk_int32 // A type: int32_t // selectop: (Ax [p] > thunk) // kind #define GB_ENTRY_SELECTOR #define GB_ATYPE \ int32_t // test Ax [p] #define GB_SELECT(p) \ (Ax [p] > thunk) // get the vector index (user select operators only) #define GB_GET_J \ ; // W [k] = s, no typecast #define GB_COPY_SCALAR_TO_ARRAY(W,k,s) \ W [k] = s // W [k] = S [i], no typecast #define GB_COPY_ARRAY_TO_ARRAY(W,k,S,i) \ W [k] = S [i] // W [k] += S [i], no typecast #define GB_ADD_ARRAY_TO_ARRAY(W,k,S,i) \ W [k] += S [i] // no terminal value #define GB_BREAK_IF_TERMINAL(t) ; // ztype s = (ztype) Ax [p], with typecast #define GB_CAST_ARRAY_TO_SCALAR(s,Ax,p) \ s = GB_SELECT (p) // s += (ztype) Ax [p], with typecast #define GB_ADD_CAST_ARRAY_TO_SCALAR(s,Ax,p) \ s += GB_SELECT (p) // Cx [pC] = Ax [pA], no typecast #define GB_SELECT_ENTRY(Cx,pC,Ax,pA) \ Cx [pC] = Ax [pA] // declare scalar for GB_reduce_each_vector #define GB_SCALAR(s) \ int64_t s //------------------------------------------------------------------------------ // GB_sel_phase1__gt_thunk_int32 //------------------------------------------------------------------------------ void GB_sel_phase1__gt_thunk_int32 ( int64_t *GB_RESTRICT Zp, int64_t *GB_RESTRICT Cp, GB_void *GB_RESTRICT Wfirst_space, GB_void *GB_RESTRICT Wlast_space, const GrB_Matrix A, const int64_t *GB_RESTRICT kfirst_slice, const int64_t *GB_RESTRICT klast_slice, const int64_t *GB_RESTRICT pstart_slice, const bool flipij, const int64_t ithunk, const int32_t *GB_RESTRICT xthunk, const GxB_select_function user_select, const int ntasks, const int nthreads ) { int64_t *GB_RESTRICT Tx = Cp ; int32_t thunk = (*xthunk) ; #include "GB_select_phase1.c" } //------------------------------------------------------------------------------ // GB_sel_phase2__gt_thunk_int32 //------------------------------------------------------------------------------ void GB_sel_phase2__gt_thunk_int32 ( int64_t *GB_RESTRICT Ci, int32_t *GB_RESTRICT Cx, const int64_t *GB_RESTRICT Zp, const int64_t *GB_RESTRICT Cp, const int64_t *GB_RESTRICT C_pstart_slice, const GrB_Matrix A, const int64_t *GB_RESTRICT kfirst_slice, const int64_t *GB_RESTRICT klast_slice, const int64_t *GB_RESTRICT pstart_slice, const bool flipij, const int64_t ithunk, const int32_t *GB_RESTRICT xthunk, const GxB_select_function user_select, const int ntasks, const int nthreads ) { int32_t thunk = (*xthunk) ; #include "GB_select_phase2.c" }
{ "language": "Assembly" }
; Make sure that we realign the stack. Mingw32 uses 4 byte stack alignment, we ; need 16 bytes for SSE and 32 bytes for AVX. ; RUN: llc < %s -mtriple=i386-pc-mingw32 -mcpu=pentium2 | FileCheck %s -check-prefix=NOSSE ; RUN: llc < %s -mtriple=i386-pc-mingw32 -mcpu=pentium3 | FileCheck %s -check-prefix=SSE1 ; RUN: llc < %s -mtriple=i386-pc-mingw32 -mcpu=yonah | FileCheck %s -check-prefix=SSE2 ; RUN: llc < %s -mtriple=i386-pc-mingw32 -mcpu=corei7-avx | FileCheck %s -check-prefix=AVX1 ; RUN: llc < %s -mtriple=i386-pc-mingw32 -mcpu=core-avx2 | FileCheck %s -check-prefix=AVX2 define void @test1(i32 %t) nounwind { %tmp1210 = alloca i8, i32 32, align 4 call void @llvm.memset.p0i8.i64(i8* %tmp1210, i8 0, i64 32, i32 4, i1 false) %x = alloca i8, i32 %t call void @dummy(i8* %x) ret void ; NOSSE-LABEL: test1: ; NOSSE-NOT: and ; NOSSE: movl $0 ; SSE1-LABEL: test1: ; SSE1: andl $-16 ; SSE1: movl %esp, %esi ; SSE1: movaps ; SSE2-LABEL: test1: ; SSE2: andl $-16 ; SSE2: movl %esp, %esi ; SSE2: movaps ; AVX1-LABEL: test1: ; AVX1: andl $-32 ; AVX1: movl %esp, %esi ; AVX1: vmovaps %ymm ; AVX2-LABEL: test1: ; AVX2: andl $-32 ; AVX2: movl %esp, %esi ; AVX2: vmovaps %ymm } define void @test2(i32 %t) nounwind { %tmp1210 = alloca i8, i32 16, align 4 call void @llvm.memset.p0i8.i64(i8* %tmp1210, i8 0, i64 16, i32 4, i1 false) %x = alloca i8, i32 %t call void @dummy(i8* %x) ret void ; NOSSE-LABEL: test2: ; NOSSE-NOT: and ; NOSSE: movl $0 ; SSE1-LABEL: test2: ; SSE1: andl $-16 ; SSE1: movl %esp, %esi ; SSE1: movaps ; SSE2-LABEL: test2: ; SSE2: andl $-16 ; SSE2: movl %esp, %esi ; SSE2: movaps ; AVX1-LABEL: test2: ; AVX1: andl $-16 ; AVX1: movl %esp, %esi ; AVX1: vmovaps %xmm ; AVX2-LABEL: test2: ; AVX2: andl $-16 ; AVX2: movl %esp, %esi ; AVX2: vmovaps %xmm } declare void @dummy(i8*) declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind
{ "language": "Assembly" }
; uint in_KeyPressed(uint scancode) SECTION code_clib PUBLIC in_KeyPressed PUBLIC _in_KeyPressed EXTERN CLIB_KEYBOARD_ADDRESS ; Determines if a key is pressed using the scan code ; returned by in_LookupKey. ; enter : l = scan row ; h = key mask ; exit : carry = key is pressed & HL = 1 ; no carry = key not pressed & HL = 0 ; used : AF,BC,HL ; write to ppi0 porta with key row (port 0xf4) ; Read from ppi0 portb with value (including shift/ctrl keys) (port 0xf5) ; Bit 5 = shift, Bit 6 = ctrl .in_KeyPressed ._in_KeyPressed ld a,l and 15 ld b,a inc b ld a,@11111110 row_find: dec b jr z,rotate_done rlca jr row_find rotate_done: out ($07),a ;Select row in a,($06) ;So we have the key cpl and $7f ld c,a ;Save it for a minute and h jr z,fail ld b,0 ld a,l ;7 = shift, 6 = control rlca ;Rotate to match the hardware rlca rlca and @00000110 ld b,a ; Now we need to read the shift row in a,($05) cpl and @00000110 cp b ;Is it what we want? jr nz,fail ld hl,1 scf ret fail: ld hl,0 and a ret
{ "language": "Assembly" }
; Uninitialized values are not handled correctly. ; ; RUN: opt < %s -mem2reg -disable-output ; define i32 @test() { ; To be promoted %X = alloca i32 ; <i32*> [#uses=1] %Y = load i32, i32* %X ; <i32> [#uses=1] ret i32 %Y }
{ "language": "Assembly" }
/* libFLAC - Free Lossless Audio Codec library * Copyright (C) 2012-2016 Xiph.org Foundation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* It is assumed that this header will be included after "config.h". */ #if HAVE_BSWAP32 /* GCC and Clang */ /* GCC prior to 4.8 didn't provide bswap16 on x86_64 */ #if ! HAVE_BSWAP16 static inline unsigned short __builtin_bswap16(unsigned short a) { return (a<<8)|(a>>8); } #endif #define ENDSWAP_16(x) (__builtin_bswap16 (x)) #define ENDSWAP_32(x) (__builtin_bswap32 (x)) #define ENDSWAP_64(x) (__builtin_bswap64 (x)) #elif defined _MSC_VER /* Windows */ #include <stdlib.h> #define ENDSWAP_16(x) (_byteswap_ushort (x)) #define ENDSWAP_32(x) (_byteswap_ulong (x)) #define ENDSWAP_64(x) (_byteswap_uint64 (x)) #elif defined HAVE_BYTESWAP_H /* Linux */ #include <byteswap.h> #define ENDSWAP_16(x) (bswap_16 (x)) #define ENDSWAP_32(x) (bswap_32 (x)) #define ENDSWAP_64(x) (bswap_64 (x)) #else #define ENDSWAP_16(x) ((((x) >> 8) & 0xFF) | (((x) & 0xFF) << 8)) #define ENDSWAP_32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) & 0xFF00) << 8) | (((x) & 0xFF) << 24)) #define ENDSWAP_64(x) ((ENDSWAP_32(((x) >> 32) & 0xFFFFFFFF)) | (ENDSWAP_32((x) & 0xFFFFFFFF) << 32)) #endif /* Host to little-endian byte swapping (for MD5 calculation) */ #if CPU_IS_BIG_ENDIAN #define H2LE_16(x) ENDSWAP_16 (x) #define H2LE_32(x) ENDSWAP_32 (x) #else #define H2LE_16(x) (x) #define H2LE_32(x) (x) #endif
{ "language": "Assembly" }
--- a/lib/libfec.c +++ b/lib/libfec.c @@ -45,6 +45,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/types.h> /* * stuff used for testing purposes only --- a/serve_image.c +++ b/serve_image.c @@ -3,7 +3,6 @@ #include <time.h> #include <errno.h> -#include <error.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> --- a/recv_image.c +++ b/recv_image.c @@ -4,7 +4,6 @@ #define _BSD_SOURCE /* struct ip_mreq */ #include <errno.h> -#include <error.h> #include <stdio.h> #include <netdb.h> #include <stdlib.h>
{ "language": "Assembly" }
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !gccgo #include "textflag.h" // // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go // TEXT ·sysvicall6(SB),NOSPLIT,$0-88 JMP syscall·sysvicall6(SB) TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 JMP syscall·rawSysvicall6(SB)
{ "language": "Assembly" }
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // Various constants DATA sincosxnan<>+0(SB)/8, $0x7ff8000000000000 GLOBL sincosxnan<>+0(SB), RODATA, $8 DATA sincosxlim<>+0(SB)/8, $0x432921fb54442d19 GLOBL sincosxlim<>+0(SB), RODATA, $8 DATA sincosxadd<>+0(SB)/8, $0xc338000000000000 GLOBL sincosxadd<>+0(SB), RODATA, $8 DATA sincosxpi2l<>+0(SB)/8, $0.108285667392191389e-31 GLOBL sincosxpi2l<>+0(SB), RODATA, $8 DATA sincosxpi2m<>+0(SB)/8, $0.612323399573676480e-16 GLOBL sincosxpi2m<>+0(SB), RODATA, $8 DATA sincosxpi2h<>+0(SB)/8, $0.157079632679489656e+01 GLOBL sincosxpi2h<>+0(SB), RODATA, $8 DATA sincosrpi2<>+0(SB)/8, $0.636619772367581341e+00 GLOBL sincosrpi2<>+0(SB), RODATA, $8 // Minimax polynomial approximations DATA sincosc0<>+0(SB)/8, $0.100000000000000000E+01 GLOBL sincosc0<>+0(SB), RODATA, $8 DATA sincosc1<>+0(SB)/8, $-.499999999999999833E+00 GLOBL sincosc1<>+0(SB), RODATA, $8 DATA sincosc2<>+0(SB)/8, $0.416666666666625843E-01 GLOBL sincosc2<>+0(SB), RODATA, $8 DATA sincosc3<>+0(SB)/8, $-.138888888885498984E-02 GLOBL sincosc3<>+0(SB), RODATA, $8 DATA sincosc4<>+0(SB)/8, $0.248015871681607202E-04 GLOBL sincosc4<>+0(SB), RODATA, $8 DATA sincosc5<>+0(SB)/8, $-.275572911309937875E-06 GLOBL sincosc5<>+0(SB), RODATA, $8 DATA sincosc6<>+0(SB)/8, $0.208735047247632818E-08 GLOBL sincosc6<>+0(SB), RODATA, $8 DATA sincosc7<>+0(SB)/8, $-.112753632738365317E-10 GLOBL sincosc7<>+0(SB), RODATA, $8 DATA sincoss0<>+0(SB)/8, $0.100000000000000000E+01 GLOBL sincoss0<>+0(SB), RODATA, $8 DATA sincoss1<>+0(SB)/8, $-.166666666666666657E+00 GLOBL sincoss1<>+0(SB), RODATA, $8 DATA sincoss2<>+0(SB)/8, $0.833333333333309209E-02 GLOBL sincoss2<>+0(SB), RODATA, $8 DATA sincoss3<>+0(SB)/8, $-.198412698410701448E-03 GLOBL sincoss3<>+0(SB), RODATA, $8 DATA sincoss4<>+0(SB)/8, $0.275573191453906794E-05 GLOBL sincoss4<>+0(SB), RODATA, $8 DATA sincoss5<>+0(SB)/8, $-.250520918387633290E-07 GLOBL sincoss5<>+0(SB), RODATA, $8 DATA sincoss6<>+0(SB)/8, $0.160571285514715856E-09 GLOBL sincoss6<>+0(SB), RODATA, $8 DATA sincoss7<>+0(SB)/8, $-.753213484933210972E-12 GLOBL sincoss7<>+0(SB), RODATA, $8 // Sin returns the sine of the radian argument x. // // Special cases are: // Sin(±0) = ±0 // Sin(±Inf) = NaN // Sin(NaN) = NaN // The algorithm used is minimax polynomial approximation. // with coefficients determined with a Remez exchange algorithm. TEXT ·sinAsm(SB),NOSPLIT,$0-16 FMOVD x+0(FP), F0 //special case Sin(±0) = ±0 FMOVD $(0.0), F1 FCMPU F0, F1 BEQ sinIsZero WORD $0xB3120000 //ltdbr %f0,%f0 BLTU L17 FMOVD F0, F5 L2: MOVD $sincoss7<>+0(SB), R1 FMOVD 0(R1), F4 MOVD $sincoss6<>+0(SB), R1 FMOVD 0(R1), F1 MOVD $sincoss5<>+0(SB), R1 VLEG $0, 0(R1), V18 MOVD $sincoss4<>+0(SB), R1 FMOVD 0(R1), F6 MOVD $sincoss2<>+0(SB), R1 VLEG $0, 0(R1), V16 MOVD $sincoss3<>+0(SB), R1 FMOVD 0(R1), F7 MOVD $sincoss1<>+0(SB), R1 FMOVD 0(R1), F3 MOVD $sincoss0<>+0(SB), R1 FMOVD 0(R1), F2 WFCHDBS V2, V5, V2 BEQ L18 MOVD $sincosrpi2<>+0(SB), R1 FMOVD 0(R1), F3 MOVD $sincosxadd<>+0(SB), R1 FMOVD 0(R1), F2 WFMSDB V0, V3, V2, V3 FMOVD 0(R1), F6 FADD F3, F6 MOVD $sincosxpi2h<>+0(SB), R1 FMOVD 0(R1), F2 FMSUB F2, F6, F0 MOVD $sincosxpi2m<>+0(SB), R1 FMOVD 0(R1), F4 FMADD F4, F6, F0 MOVD $sincosxpi2l<>+0(SB), R1 WFMDB V0, V0, V1 FMOVD 0(R1), F7 WFMDB V1, V1, V2 LGDR F3, R1 MOVD $sincosxlim<>+0(SB), R2 TMLL R1, $1 BEQ L6 FMOVD 0(R2), F0 WFCHDBS V0, V5, V0 BNE L14 MOVD $sincosc7<>+0(SB), R2 FMOVD 0(R2), F0 MOVD $sincosc6<>+0(SB), R2 FMOVD 0(R2), F4 MOVD $sincosc5<>+0(SB), R2 WFMADB V1, V0, V4, V0 FMOVD 0(R2), F6 MOVD $sincosc4<>+0(SB), R2 WFMADB V1, V0, V6, V0 FMOVD 0(R2), F4 MOVD $sincosc2<>+0(SB), R2 FMOVD 0(R2), F6 WFMADB V2, V4, V6, V4 MOVD $sincosc3<>+0(SB), R2 FMOVD 0(R2), F3 MOVD $sincosc1<>+0(SB), R2 WFMADB V2, V0, V3, V0 FMOVD 0(R2), F6 WFMADB V1, V4, V6, V4 TMLL R1, $2 WFMADB V2, V0, V4, V0 MOVD $sincosc0<>+0(SB), R1 FMOVD 0(R1), F2 WFMADB V1, V0, V2, V0 BNE L15 FMOVD F0, ret+8(FP) RET L6: FMOVD 0(R2), F4 WFCHDBS V4, V5, V4 BNE L14 MOVD $sincoss7<>+0(SB), R2 FMOVD 0(R2), F4 MOVD $sincoss6<>+0(SB), R2 FMOVD 0(R2), F3 MOVD $sincoss5<>+0(SB), R2 WFMADB V1, V4, V3, V4 WFMADB V6, V7, V0, V6 FMOVD 0(R2), F0 MOVD $sincoss4<>+0(SB), R2 FMADD F4, F1, F0 FMOVD 0(R2), F3 MOVD $sincoss2<>+0(SB), R2 FMOVD 0(R2), F4 MOVD $sincoss3<>+0(SB), R2 WFMADB V2, V3, V4, V3 FMOVD 0(R2), F4 MOVD $sincoss1<>+0(SB), R2 WFMADB V2, V0, V4, V0 FMOVD 0(R2), F4 WFMADB V1, V3, V4, V3 FNEG F6, F4 WFMADB V2, V0, V3, V2 WFMDB V4, V1, V0 TMLL R1, $2 WFMSDB V0, V2, V6, V0 BNE L15 FMOVD F0, ret+8(FP) RET L14: MOVD $sincosxnan<>+0(SB), R1 FMOVD 0(R1), F0 FMOVD F0, ret+8(FP) RET L18: WFMDB V0, V0, V2 WFMADB V2, V4, V1, V4 WFMDB V2, V2, V1 WFMADB V2, V4, V18, V4 WFMADB V1, V6, V16, V6 WFMADB V1, V4, V7, V4 WFMADB V2, V6, V3, V6 FMUL F0, F2 WFMADB V1, V4, V6, V4 FMADD F4, F2, F0 FMOVD F0, ret+8(FP) RET L17: FNEG F0, F5 BR L2 L15: FNEG F0, F0 FMOVD F0, ret+8(FP) RET sinIsZero: FMOVD F0, ret+8(FP) RET // Cos returns the cosine of the radian argument. // // Special cases are: // Cos(±Inf) = NaN // Cos(NaN) = NaN // The algorithm used is minimax polynomial approximation. // with coefficients determined with a Remez exchange algorithm. TEXT ·cosAsm(SB),NOSPLIT,$0-16 FMOVD x+0(FP), F0 WORD $0xB3120000 //ltdbr %f0,%f0 BLTU L35 FMOVD F0, F1 L21: MOVD $sincosc7<>+0(SB), R1 FMOVD 0(R1), F4 MOVD $sincosc6<>+0(SB), R1 VLEG $0, 0(R1), V20 MOVD $sincosc5<>+0(SB), R1 VLEG $0, 0(R1), V18 MOVD $sincosc4<>+0(SB), R1 FMOVD 0(R1), F6 MOVD $sincosc2<>+0(SB), R1 VLEG $0, 0(R1), V16 MOVD $sincosc3<>+0(SB), R1 FMOVD 0(R1), F7 MOVD $sincosc1<>+0(SB), R1 FMOVD 0(R1), F5 MOVD $sincosrpi2<>+0(SB), R1 FMOVD 0(R1), F2 MOVD $sincosxadd<>+0(SB), R1 FMOVD 0(R1), F3 MOVD $sincoss0<>+0(SB), R1 WFMSDB V0, V2, V3, V2 FMOVD 0(R1), F3 WFCHDBS V3, V1, V3 LGDR F2, R1 BEQ L36 MOVD $sincosxadd<>+0(SB), R2 FMOVD 0(R2), F4 FADD F2, F4 MOVD $sincosxpi2h<>+0(SB), R2 FMOVD 0(R2), F2 WFMSDB V4, V2, V0, V2 MOVD $sincosxpi2m<>+0(SB), R2 FMOVD 0(R2), F0 WFMADB V4, V0, V2, V0 MOVD $sincosxpi2l<>+0(SB), R2 WFMDB V0, V0, V2 FMOVD 0(R2), F5 WFMDB V2, V2, V6 MOVD $sincosxlim<>+0(SB), R2 TMLL R1, $1 BNE L25 FMOVD 0(R2), F0 WFCHDBS V0, V1, V0 BNE L33 MOVD $sincosc7<>+0(SB), R2 FMOVD 0(R2), F0 MOVD $sincosc6<>+0(SB), R2 FMOVD 0(R2), F4 MOVD $sincosc5<>+0(SB), R2 WFMADB V2, V0, V4, V0 FMOVD 0(R2), F1 MOVD $sincosc4<>+0(SB), R2 WFMADB V2, V0, V1, V0 FMOVD 0(R2), F4 MOVD $sincosc2<>+0(SB), R2 FMOVD 0(R2), F1 WFMADB V6, V4, V1, V4 MOVD $sincosc3<>+0(SB), R2 FMOVD 0(R2), F3 MOVD $sincosc1<>+0(SB), R2 WFMADB V6, V0, V3, V0 FMOVD 0(R2), F1 WFMADB V2, V4, V1, V4 TMLL R1, $2 WFMADB V6, V0, V4, V0 MOVD $sincosc0<>+0(SB), R1 FMOVD 0(R1), F4 WFMADB V2, V0, V4, V0 BNE L34 FMOVD F0, ret+8(FP) RET L25: FMOVD 0(R2), F3 WFCHDBS V3, V1, V1 BNE L33 MOVD $sincoss7<>+0(SB), R2 FMOVD 0(R2), F1 MOVD $sincoss6<>+0(SB), R2 FMOVD 0(R2), F3 MOVD $sincoss5<>+0(SB), R2 WFMADB V2, V1, V3, V1 FMOVD 0(R2), F3 MOVD $sincoss4<>+0(SB), R2 WFMADB V2, V1, V3, V1 FMOVD 0(R2), F3 MOVD $sincoss2<>+0(SB), R2 FMOVD 0(R2), F7 WFMADB V6, V3, V7, V3 MOVD $sincoss3<>+0(SB), R2 FMADD F5, F4, F0 FMOVD 0(R2), F4 MOVD $sincoss1<>+0(SB), R2 FMADD F1, F6, F4 FMOVD 0(R2), F1 FMADD F3, F2, F1 FMUL F0, F2 WFMADB V6, V4, V1, V6 TMLL R1, $2 FMADD F6, F2, F0 BNE L34 FMOVD F0, ret+8(FP) RET L33: MOVD $sincosxnan<>+0(SB), R1 FMOVD 0(R1), F0 FMOVD F0, ret+8(FP) RET L36: FMUL F0, F0 MOVD $sincosc0<>+0(SB), R1 WFMDB V0, V0, V1 WFMADB V0, V4, V20, V4 WFMADB V1, V6, V16, V6 WFMADB V0, V4, V18, V4 WFMADB V0, V6, V5, V6 WFMADB V1, V4, V7, V4 FMOVD 0(R1), F2 WFMADB V1, V4, V6, V4 WFMADB V0, V4, V2, V0 FMOVD F0, ret+8(FP) RET L35: FNEG F0, F1 BR L21 L34: FNEG F0, F0 FMOVD F0, ret+8(FP) RET
{ "language": "Assembly" }
/* def.dfn - define format of libpng.def * * Last changed in libpng version 1.5.7 [December 15, 2011] * Copyright (c) 2010-2011 Glenn Randers-Pehrson * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer * and license in png.h */ /* These macros exist to make the header and trailer shorter below: */ #define S PNG_DEFN_MAGIC #define E PNG_DEFN_END /* Write the export file header: */ S-;---------------------------------------------------------------E S-; LIBPNG module definition file for OS/2-E S-;---------------------------------------------------------------E S--E S-; If you give the library an explicit name one or other files-E S-; may need modifying to support the new name on one or more-E S-; systems.-E S-LIBRARY-E S-OS2 DESCRIPTION "PNG image compression library"-E S-OS2 CODE PRELOAD MOVEABLE DISCARDABLE-E S--E S-EXPORTS-E S-;Version 1.5.0beta58-E /* NOTE: PNG_JOIN is interpreted by the calling script as a signal to * join the two things on either side, so we can do symbol * substitution within the name, regular C ## joins the pp-tokens, * not their final values. */ #define PNG_EXPORTA(ordinal, type, name, args, attributes)\ PNG_DEFN_MAGIC- SYMBOL_PREFIX PNG_JOIN name-PNG_DEFN_END #include "../png.h"
{ "language": "Assembly" }
/* arch_prctl call for Linux/x32. Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ #include <errno.h> #include <sys/prctl.h> #include <sys/syscall.h> #include <sysdep.h> #include <stdint.h> /* Since x32 arch_prctl stores 32-bit base address of segment registers %fs and %gs as unsigned 64-bit value via ARCH_GET_FS and ARCH_GET_GS, we use an unsigned 64-bit variable to hold the base address and copy it to ADDR after the system call returns. */ int __arch_prctl (int code, uintptr_t *addr) { int res; uint64_t addr64; void *prctl_arg = addr; switch (code) { case ARCH_GET_FS: case ARCH_GET_GS: prctl_arg = &addr64; break; } res = INLINE_SYSCALL (arch_prctl, 2, code, prctl_arg); if (res == 0) switch (code) { case ARCH_GET_FS: case ARCH_GET_GS: /* Check for a large value that overflows. */ if ((uintptr_t) addr64 != addr64) { __set_errno (EOVERFLOW); return -1; } *addr = (uintptr_t) addr64; break; } return res; } weak_alias (__arch_prctl, arch_prctl)
{ "language": "Assembly" }
; RUN: llvm-as %s -o %t.bc ; RUN: llvm-spirv %t.bc -spirv-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv %t.bc -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.bc ; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM ; CHECK-SPIRV-NOT: 6 Store {{[0-9]+}} {{[0-9]+}} 1 2 8 ; CHECK-SPIRV: 5 Store {{[0-9]+}} {{[0-9]+}} 3 8 ; CHECK-SPIRV-NOT: 7 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 1 2 8 ; CHECK-SPIRV: 6 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 3 8 ; CHECK-SPIRV: 6 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 2 4 ; CHECK-SPIRV-NOT: 7 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 1 2 8 ; CHECK-SPIRV: 6 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 3 8 ; CHECK-SPIRV-NOT: 7 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 1 2 0 ; CHECK-SPIRV: 5 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 1 ; CHECK-SPIRV-NOT: 7 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 1 2 8 ; CHECK-SPIRV: 6 Load {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} 7 8 ; CHECK-SPIRV-NOT: 5 Store {{[0-9]+}} {{[0-9]+}} 2 4 ; CHECK-SPIRV: 5 Store {{[0-9]+}} {{[0-9]+}} 6 4 ; CHECK-SPIRV-NOT: 5 Store {{[0-9]+}} {{[0-9]+}} 2 0 ; CHECK-SPIRV: 3 Store {{[0-9]+}} {{[0-9]+}} ; CHECK-LLVM: store volatile i32 addrspace(4)* %0, i32 addrspace(4)** %ptr, align 8 ; CHECK-LLVM: load volatile i32 addrspace(4)** %ptr, align 8 ; CHECK-LLVM: load i32 addrspace(4)* %1, align 4 ; CHECK-LLVM: load volatile i32 addrspace(4)** %ptr, align 8 ; CHECK-LLVM: load volatile i32 addrspace(4)** %ptr ; CHECK-LLVM: load volatile i32 addrspace(4)** %ptr, align 8, !nontemporal ![[NTMetadata:[0-9]+]] ; CHECK-LLVM: store i32 %call.old, i32 addrspace(4)* %arrayidx, align 4, !nontemporal ![[NTMetadata:[0-9]+]] ; CHECK-LLVM: store i32 addrspace(4)* %5, i32 addrspace(4)** %ptr ; CHECK-LLVM: ![[NTMetadata:[0-9]+]] = !{i32 1} ; ModuleID = 'test.bc' target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64" target triple = "spir64-unknown-unknown" ; Function Attrs: nounwind define spir_kernel void @test_load_store(i32 addrspace(1)* %destMemory, i32 addrspace(1)* %oldValues, i32 %newValue) #0 { entry: %ptr = alloca i32 addrspace(4)*, align 8 %0 = addrspacecast i32 addrspace(1)* %oldValues to i32 addrspace(4)* store volatile i32 addrspace(4)* %0, i32 addrspace(4)** %ptr, align 8 %1 = load volatile i32 addrspace(4)** %ptr, align 8 %2 = load i32 addrspace(4)* %1, align 4 %call = call spir_func i32 @_Z14atomic_cmpxchgPVU3AS1iii(i32 addrspace(1)* %destMemory, i32 %2, i32 %newValue) %3 = load volatile i32 addrspace(4)** %ptr, align 8 %4 = load volatile i32 addrspace(4)** %ptr %5 = load volatile i32 addrspace(4)** %ptr, align 8, !nontemporal !9 %arrayidx = getelementptr inbounds i32 addrspace(4)* %3, i64 0 store i32 %call, i32 addrspace(4)* %arrayidx, align 4, !nontemporal !9 store i32 addrspace(4)* %5, i32 addrspace(4)** %ptr ret void } declare spir_func i32 @_Z14atomic_cmpxchgPVU3AS1iii(i32 addrspace(1)*, i32, i32) #1 attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } !opencl.kernels = !{!0} !opencl.enable.FP_CONTRACT = !{} !opencl.spir.version = !{!6} !opencl.ocl.version = !{!7} !opencl.used.extensions = !{!8} !opencl.used.optional.core.features = !{!8} !opencl.compiler.options = !{!8} !llvm.ident = !{!10} !0 = !{void (i32 addrspace(1)*, i32 addrspace(1)*, i32)* @test_load_store, !1, !2, !3, !4, !5} !1 = !{!"kernel_arg_addr_space", i32 1, i32 1, i32 0} !2 = !{!"kernel_arg_access_qual", !"none", !"none", !"none"} !3 = !{!"kernel_arg_type", !"int*", !"int*", !"int"} !4 = !{!"kernel_arg_base_type", !"int*", !"int*", !"int"} !5 = !{!"kernel_arg_type_qual", !"volatile", !"", !""} !6 = !{i32 1, i32 2} !7 = !{i32 2, i32 0} !8 = !{} !9 = !{i32 1} !10 = !{!"clang version 3.6.1"}
{ "language": "Assembly" }
/** Linux system call interface for the ARM processor. * Written by Shaun Jackman <sjackman@gmail.com>. * Copyright 2006 Pathway Connectivity * * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. */ .syntax unified #include "linux-syscall.h" #if __thumb__ # define FUNC(name) .type name, %function; .thumb_func; name: # define SET .thumb_set #else # define FUNC(name) .type name, %function; name: # define SET .set #endif #define GLOBAL(name) .global name; FUNC(name) #define SIZE(name) .size name, .-name # define SYSCALL4(name) \ GLOBAL(_ ## name); \ swi #SYS_ ## name; \ b _set_errno; \ SIZE(_ ## name) # define SYSCALL6(name) \ GLOBAL(_ ## name); \ push { r4 - r5 }; \ ldr r4, [sp, #8]; \ ldr r5, [sp, #12]; \ swi #SYS_ ## name; \ pop { r4 - r5 }; \ b _set_errno; \ SIZE(_ ## name) #define SYSCALL0(name) SYSCALL3(name) #define SYSCALL3(name) SYSCALL4(name) #define SYSCALL1(name) SYSCALL3(name) #define SYSCALL2(name) SYSCALL3(name) #define SYSCALL5(name) SYSCALL6(name) SYSCALL1(alarm) SYSCALL1(brk) SYSCALL1(chdir) SYSCALL2(chmod) SYSCALL3(chown) SYSCALL1(close) SYSCALL1(dup) SYSCALL2(dup2) SYSCALL3(execve) SYSCALL1(exit) SYSCALL3(fcntl) SYSCALL2(fstat) SYSCALL2(ftruncate) SYSCALL3(getdents) SYSCALL0(getegid) SYSCALL0(geteuid) SYSCALL0(getgid) SYSCALL2(getgroups) SYSCALL1(getpgid) SYSCALL0(getpgrp) SYSCALL0(getpid) SYSCALL0(getuid) SYSCALL2(gettimeofday) SYSCALL3(ioctl) SYSCALL2(kill) SYSCALL3(lchown) SYSCALL2(link) SYSCALL3(lseek) SYSCALL2(lstat) SYSCALL2(mkdir) SYSCALL3(mknod) SYSCALL2(nanosleep) SYSCALL3(open) SYSCALL0(pause) SYSCALL1(pipe) SYSCALL3(read) SYSCALL3(readlink) SYSCALL4(reboot) SYSCALL1(rmdir) SYSCALL5(select) SYSCALL2(setpgid) SYSCALL1(setgid) SYSCALL0(setsid) SYSCALL1(setuid) SYSCALL3(sigprocmask) SYSCALL2(socketcall) SYSCALL2(stat) SYSCALL1(stime) SYSCALL2(symlink) SYSCALL1(sync) SYSCALL1(sysinfo) SYSCALL1(times) SYSCALL2(truncate) SYSCALL1(umask) SYSCALL1(uname) SYSCALL1(unlink) SYSCALL2(utime) SYSCALL0(vfork) SYSCALL4(wait4) SYSCALL3(write) #define ALIAS(name) .GLOBAL name; SET name, _ ## name ALIAS(alarm) ALIAS(chdir) ALIAS(chmod) ALIAS(chown) ALIAS(dup) ALIAS(dup2) ALIAS(ftruncate) ALIAS(getdents) ALIAS(getegid) ALIAS(geteuid) ALIAS(getgid) ALIAS(getgroups) ALIAS(getpgid) ALIAS(getpgrp) ALIAS(getuid) ALIAS(ioctl) ALIAS(lchown) ALIAS(lstat) ALIAS(mkdir) ALIAS(mknod) ALIAS(nanosleep) ALIAS(pause) ALIAS(pipe) ALIAS(readlink) ALIAS(rmdir) ALIAS(select) ALIAS(setgid) ALIAS(setpgid) ALIAS(setsid) ALIAS(setuid) ALIAS(sigprocmask) ALIAS(stime) ALIAS(symlink) ALIAS(sync) ALIAS(sysinfo) ALIAS(truncate) ALIAS(umask) ALIAS(uname) ALIAS(utime) ALIAS(vfork) ALIAS(wait4) #if defined (__thumb__) && !defined (__thumb2__) # define SOCKETCALL(name, NAME) \ GLOBAL(name); \ push { r0 - r3 }; \ movs r0, #SYS_ ## NAME; \ b _socketcall_tail; \ SIZE(name) #else # define SOCKETCALL(name, NAME) \ GLOBAL(name); \ push { r0 - r3 }; \ mov r0, #SYS_ ## NAME; \ b _socketcall_tail; \ SIZE(name) #endif FUNC(_socketcall_tail) mov r1, sp push { lr } bl _socketcall pop { r3 } add sp, #16 #if defined(__ARM_ARCH_2__) || defined(__ARM_ARCH_3__) \ || defined(__ARM_ARCH_3M__) || defined(__ARM_ARCH_4__) mov pc, r3 #else bx r3 #endif SIZE(_socketcall_tail) #define SOCKETCALL2(name, NAME) SOCKETCALL(name, NAME) #define SOCKETCALL3(name, NAME) SOCKETCALL(name, NAME) #define SOCKETCALL4(name, NAME) SOCKETCALL(name, NAME) #define SOCKETCALL5(name, NAME) SOCKETCALL(name, NAME) #define SOCKETCALL6(name, NAME) SOCKETCALL(name, NAME) SOCKETCALL3(accept, ACCEPT) SOCKETCALL3(bind, BIND) SOCKETCALL3(connect, CONNECT) SOCKETCALL3(getpeername, GETPEERNAME) SOCKETCALL3(getsockname, GETSOCKNAME) SOCKETCALL5(getsockopt, GETSOCKOPT) SOCKETCALL2(listen, LISTEN) SOCKETCALL4(recv, RECV) SOCKETCALL6(recvfrom, RECVFROM) SOCKETCALL3(recvmsg, RECVMSG) SOCKETCALL4(send, SEND) SOCKETCALL3(sendmsg, SENDMSG) SOCKETCALL6(sendto, SENDTO) SOCKETCALL5(setsockopt, SETSOCKOPT) SOCKETCALL2(shutdown, SHUTDOWN) SOCKETCALL3(socket, SOCKET) SOCKETCALL4(socketpair, SOCKETPAIR)
{ "language": "Assembly" }
chunk DialogOpenPMIMMoniker = data { Bitmap <64,40,0,BMF_MONO> db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x0f, 0xff, 0xfc, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x1c, 0x00, 0x04, 0x02, 0x00 db 0x00, 0x00, 0x00, 0x2c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x00, 0x00, 0x4c, 0x00, 0x04, 0x0f, 0x80 db 0x00, 0x00, 0x00, 0x8c, 0x00, 0x04, 0x1f, 0xc0 db 0x00, 0x00, 0x01, 0x0c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x00, 0x02, 0x0c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x07, 0xe4, 0x0c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x08, 0x18, 0x0c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x10, 0x10, 0x0c, 0x00, 0x04, 0x07, 0x00 db 0x00, 0x10, 0x20, 0x0c, 0x00, 0x07, 0x07, 0x00 db 0x00, 0x3f, 0xff, 0xfc, 0x00, 0x04, 0x87, 0x00 db 0x00, 0x40, 0x3f, 0xfc, 0x00, 0x04, 0x87, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc7, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc7, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc7, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc7, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc0, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc0, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc0, 0x00 db 0x00, 0x40, 0x20, 0x00, 0x00, 0x04, 0xc0, 0x00 db 0x00, 0x40, 0x23, 0xff, 0xff, 0xff, 0xff, 0xf0 db 0x00, 0x40, 0x26, 0xaa, 0xaa, 0xaa, 0xaa, 0xb8 db 0x00, 0x40, 0x3d, 0x55, 0x55, 0x55, 0x55, 0x70 db 0x00, 0x40, 0x1a, 0xaa, 0xaa, 0xaa, 0xaa, 0xe0 db 0x00, 0x40, 0x35, 0x55, 0x55, 0x55, 0x55, 0xc0 db 0x00, 0x40, 0x6a, 0xaa, 0xaa, 0xaa, 0xab, 0x80 db 0x00, 0x40, 0xd5, 0x55, 0x55, 0x55, 0x57, 0x00 db 0x00, 0x41, 0xaa, 0xaa, 0xaa, 0xaa, 0xae, 0x00 db 0x00, 0x43, 0x55, 0x55, 0x55, 0x55, 0x5c, 0x00 db 0x00, 0x46, 0xaa, 0xaa, 0xaa, 0xaa, 0xb8, 0x00 db 0x00, 0x4d, 0x55, 0x55, 0x55, 0x55, 0x70, 0x00 db 0x00, 0x5a, 0xaa, 0xaa, 0xaa, 0xaa, 0xe0, 0x00 db 0x00, 0x75, 0x55, 0x55, 0x55, 0x55, 0xc0, 0x00 db 0x00, 0x6a, 0xaa, 0xaa, 0xaa, 0xab, 0x80, 0x00 db 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 db 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
{ "language": "Assembly" }
/*********************************************************************/ /* */ /* Optimized BLAS libraries */ /* By Kazushige Goto <kgoto@tacc.utexas.edu> */ /* */ /* Copyright (c) The University of Texas, 2009. All rights reserved. */ /* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING */ /* THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, */ /* NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY */ /* THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF */ /* TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO */ /* THE USE OF THE SOFTWARE OR DOCUMENTATION. */ /* Under no circumstances shall University be liable for incidental, */ /* special, indirect, direct or consequential damages or loss of */ /* profits, interruption of business, or related expenses which may */ /* arise from use of Software or Documentation, including but not */ /* limited to those resulting from defects in Software and/or */ /* Documentation, or loss or inaccuracy of data of any kind. */ /*********************************************************************/ #define ASSEMBLER #include "common.h" #define N ARG1 /* rdi */ #define X ARG2 /* rsi */ #define INCX ARG3 /* rdx */ #define Y ARG4 /* rcx */ #ifndef WINDOWS_ABI #define INCY ARG5 /* r8 */ #else #define INCY %r10 #endif #define C %xmm14 #define S %xmm15 #include "l1param.h" PROLOGUE PROFCODE #ifdef WINDOWS_ABI movq 40(%rsp), INCY movsd 48(%rsp), %xmm0 movsd 56(%rsp), %xmm1 #endif SAVEREGISTERS salq $ZBASE_SHIFT, INCX salq $ZBASE_SHIFT, INCY pshufd $0x44, %xmm0, C pshufd $0x44, %xmm1, S cmpq $0, N jle .L999 cmpq $2 * SIZE, INCX jne .L50 cmpq $2 * SIZE, INCY jne .L50 .L10: testq $SIZE, X jne .L30 testq $SIZE, Y jne .L20 movq N, %rax sarq $3, %rax jle .L14 movapd 0 * SIZE(Y), %xmm1 movapd 2 * SIZE(Y), %xmm3 movapd 4 * SIZE(Y), %xmm9 movapd 6 * SIZE(Y), %xmm11 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(X), %xmm2 movapd 4 * SIZE(X), %xmm8 movapd 6 * SIZE(X), %xmm10 decq %rax jle .L12 ALIGN_3 .L11: #ifdef PREFETCHW PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(X) #endif movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 8 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 10 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 #ifdef PREFETCHW PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(Y) #endif movapd %xmm0, 0 * SIZE(X) movapd 8 * SIZE(X), %xmm0 movapd %xmm2, 2 * SIZE(X) movapd 10 * SIZE(X), %xmm2 movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 12 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 14 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 4 * SIZE(X) movapd 12 * SIZE(X), %xmm8 movapd %xmm10,6 * SIZE(X) movapd 14 * SIZE(X), %xmm10 movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(X) #endif movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 16 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 18 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 8 * SIZE(X) movapd 16 * SIZE(X), %xmm0 movapd %xmm2, 10 * SIZE(X) movapd 18 * SIZE(X), %xmm2 movapd %xmm4, 8 * SIZE(Y) movapd %xmm6, 10 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(Y) #endif movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 20 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 22 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 12 * SIZE(X) movapd 20 * SIZE(X), %xmm8 movapd %xmm10, 14 * SIZE(X) movapd 22 * SIZE(X), %xmm10 movapd %xmm4, 12 * SIZE(Y) movapd %xmm6, 14 * SIZE(Y) addq $16 * SIZE, X addq $16 * SIZE, Y decq %rax jg .L11 ALIGN_3 .L12: movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 8 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 10 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd 8 * SIZE(X), %xmm0 movapd %xmm2, 2 * SIZE(X) movapd 10 * SIZE(X), %xmm2 movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 12 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 14 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 4 * SIZE(X) movapd 12 * SIZE(X), %xmm8 movapd %xmm10,6 * SIZE(X) movapd 14 * SIZE(X), %xmm10 movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 8 * SIZE(X) movapd %xmm2, 10 * SIZE(X) movapd %xmm4, 8 * SIZE(Y) movapd %xmm6, 10 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 addpd %xmm11, %xmm10 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 12 * SIZE(X) movapd %xmm10, 14 * SIZE(X) movapd %xmm4, 12 * SIZE(Y) movapd %xmm6, 14 * SIZE(Y) addq $16 * SIZE, X addq $16 * SIZE, Y ALIGN_3 .L14: testq $7, N jle .L999 testq $4, N jle .L15 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(Y), %xmm3 movapd 2 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd 4 * SIZE(Y), %xmm1 movapd 4 * SIZE(X), %xmm0 movapd 6 * SIZE(Y), %xmm3 movapd 6 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 4 * SIZE(X) movapd %xmm2, 6 * SIZE(X) movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) addq $8 * SIZE, X addq $8 * SIZE, Y ALIGN_3 .L15: testq $2, N jle .L16 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(Y), %xmm3 movapd 2 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) addq $4 * SIZE, X addq $4 * SIZE, Y ALIGN_3 .L16: testq $1, N jle .L999 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 0 * SIZE(Y) jmp .L999 ALIGN_3 .L20: movapd -1 * SIZE(Y), %xmm1 movq N, %rax sarq $3, %rax jle .L24 ALIGN_3 .L21: #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(X) #endif movapd 1 * SIZE(Y), %xmm3 movapd 3 * SIZE(Y), %xmm8 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(X), %xmm2 SHUFPD_1 %xmm3, %xmm1 SHUFPD_1 %xmm8, %xmm3 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movlps %xmm4, 0 * SIZE(Y) movhps %xmm4, 1 * SIZE(Y) movlps %xmm6, 2 * SIZE(Y) movhps %xmm6, 3 * SIZE(Y) #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(Y) #endif movapd 5 * SIZE(Y), %xmm9 movapd 7 * SIZE(Y), %xmm1 movapd 4 * SIZE(X), %xmm0 movapd 6 * SIZE(X), %xmm2 SHUFPD_1 %xmm9, %xmm8 SHUFPD_1 %xmm1, %xmm9 movapd %xmm8, %xmm4 movapd %xmm0, %xmm5 movapd %xmm9, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm8 mulpd C, %xmm2 mulpd S, %xmm9 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm8, %xmm0 addpd %xmm9, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 4 * SIZE(X) movapd %xmm2, 6 * SIZE(X) movlps %xmm4, 4 * SIZE(Y) movhps %xmm4, 5 * SIZE(Y) movlps %xmm6, 6 * SIZE(Y) movhps %xmm6, 7 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(X) #endif movapd 9 * SIZE(Y), %xmm3 movapd 11 * SIZE(Y), %xmm8 movapd 8 * SIZE(X), %xmm0 movapd 10 * SIZE(X), %xmm2 SHUFPD_1 %xmm3, %xmm1 SHUFPD_1 %xmm8, %xmm3 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 8 * SIZE(X) movapd %xmm2, 10 * SIZE(X) movlps %xmm4, 8 * SIZE(Y) movhps %xmm4, 9 * SIZE(Y) movlps %xmm6, 10 * SIZE(Y) movhps %xmm6, 11 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(Y) #endif movapd 13 * SIZE(Y), %xmm9 movapd 15 * SIZE(Y), %xmm1 movapd 12 * SIZE(X), %xmm0 movapd 14 * SIZE(X), %xmm2 SHUFPD_1 %xmm9, %xmm8 SHUFPD_1 %xmm1, %xmm9 movapd %xmm8, %xmm4 movapd %xmm0, %xmm5 movapd %xmm9, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm8 mulpd C, %xmm2 mulpd S, %xmm9 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm8, %xmm0 addpd %xmm9, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 12 * SIZE(X) movapd %xmm2, 14 * SIZE(X) movlps %xmm4, 12 * SIZE(Y) movhps %xmm4, 13 * SIZE(Y) movlps %xmm6, 14 * SIZE(Y) movhps %xmm6, 15 * SIZE(Y) addq $16 * SIZE, X addq $16 * SIZE, Y decq %rax jg .L21 ALIGN_3 .L24: testq $7, N jle .L999 testq $4, N jle .L25 movapd 1 * SIZE(Y), %xmm3 movapd 3 * SIZE(Y), %xmm8 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(X), %xmm2 SHUFPD_1 %xmm3, %xmm1 SHUFPD_1 %xmm8, %xmm3 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movlps %xmm4, 0 * SIZE(Y) movhps %xmm4, 1 * SIZE(Y) movlps %xmm6, 2 * SIZE(Y) movhps %xmm6, 3 * SIZE(Y) movapd 5 * SIZE(Y), %xmm9 movapd 7 * SIZE(Y), %xmm1 movapd 4 * SIZE(X), %xmm0 movapd 6 * SIZE(X), %xmm2 SHUFPD_1 %xmm9, %xmm8 SHUFPD_1 %xmm1, %xmm9 movapd %xmm8, %xmm4 movapd %xmm0, %xmm5 movapd %xmm9, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm8 mulpd C, %xmm2 mulpd S, %xmm9 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm8, %xmm0 addpd %xmm9, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 4 * SIZE(X) movapd %xmm2, 6 * SIZE(X) movlps %xmm4, 4 * SIZE(Y) movhps %xmm4, 5 * SIZE(Y) movlps %xmm6, 6 * SIZE(Y) movhps %xmm6, 7 * SIZE(Y) addq $8 * SIZE, X addq $8 * SIZE, Y ALIGN_3 .L25: testq $2, N jle .L26 movapd 1 * SIZE(Y), %xmm3 movapd 3 * SIZE(Y), %xmm8 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(X), %xmm2 SHUFPD_1 %xmm3, %xmm1 SHUFPD_1 %xmm8, %xmm3 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movlps %xmm4, 0 * SIZE(Y) movhps %xmm4, 1 * SIZE(Y) movlps %xmm6, 2 * SIZE(Y) movhps %xmm6, 3 * SIZE(Y) movapd %xmm8, %xmm1 addq $4 * SIZE, X addq $4 * SIZE, Y ALIGN_3 .L26: testq $1, N jle .L999 movapd 1 * SIZE(Y), %xmm4 movapd 0 * SIZE(X), %xmm0 SHUFPD_1 %xmm4, %xmm1 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movapd %xmm0, 0 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) jmp .L999 ALIGN_3 .L30: testq $SIZE, Y jne .L40 movapd -1 * SIZE(X), %xmm0 movq N, %rax sarq $3, %rax jle .L34 ALIGN_3 .L31: #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(X) #endif movapd 1 * SIZE(X), %xmm2 movapd 3 * SIZE(X), %xmm8 movapd 0 * SIZE(Y), %xmm1 movapd 2 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm0 SHUFPD_1 %xmm8, %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 2 * SIZE(X) movhps %xmm2, 3 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(Y) #endif movapd 5 * SIZE(X), %xmm2 movapd 7 * SIZE(X), %xmm0 movapd 4 * SIZE(Y), %xmm1 movapd 6 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm8 SHUFPD_1 %xmm0, %xmm2 movapd %xmm1, %xmm4 movapd %xmm8, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm8 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm8 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm8, 4 * SIZE(X) movhps %xmm8, 5 * SIZE(X) movlps %xmm2, 6 * SIZE(X) movhps %xmm2, 7 * SIZE(X) movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(X) #endif movapd 9 * SIZE(X), %xmm2 movapd 11 * SIZE(X), %xmm8 movapd 8 * SIZE(Y), %xmm1 movapd 10 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm0 SHUFPD_1 %xmm8, %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm0, 8 * SIZE(X) movhps %xmm0, 9 * SIZE(X) movlps %xmm2, 10 * SIZE(X) movhps %xmm2, 11 * SIZE(X) movapd %xmm4, 8 * SIZE(Y) movapd %xmm6, 10 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(Y) #endif movapd 13 * SIZE(X), %xmm2 movapd 15 * SIZE(X), %xmm0 movapd 12 * SIZE(Y), %xmm1 movapd 14 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm8 SHUFPD_1 %xmm0, %xmm2 movapd %xmm1, %xmm4 movapd %xmm8, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm8 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm8 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm8, 12 * SIZE(X) movhps %xmm8, 13 * SIZE(X) movlps %xmm2, 14 * SIZE(X) movhps %xmm2, 15 * SIZE(X) movapd %xmm4, 12 * SIZE(Y) movapd %xmm6, 14 * SIZE(Y) addq $16 * SIZE, Y addq $16 * SIZE, X decq %rax jg .L31 ALIGN_3 .L34: testq $7, N jle .L999 testq $4, N jle .L35 movapd 1 * SIZE(X), %xmm2 movapd 3 * SIZE(X), %xmm8 movapd 0 * SIZE(Y), %xmm1 movapd 2 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm0 SHUFPD_1 %xmm8, %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 2 * SIZE(X) movhps %xmm2, 3 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd 5 * SIZE(X), %xmm2 movapd 7 * SIZE(X), %xmm0 movapd 4 * SIZE(Y), %xmm1 movapd 6 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm8 SHUFPD_1 %xmm0, %xmm2 movapd %xmm1, %xmm4 movapd %xmm8, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm8 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm8 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm8, 4 * SIZE(X) movhps %xmm8, 5 * SIZE(X) movlps %xmm2, 6 * SIZE(X) movhps %xmm2, 7 * SIZE(X) movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) addq $8 * SIZE, Y addq $8 * SIZE, X ALIGN_3 .L35: testq $2, N jle .L36 movapd 1 * SIZE(X), %xmm2 movapd 3 * SIZE(X), %xmm8 movapd 0 * SIZE(Y), %xmm1 movapd 2 * SIZE(Y), %xmm3 SHUFPD_1 %xmm2, %xmm0 SHUFPD_1 %xmm8, %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 2 * SIZE(X) movhps %xmm2, 3 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd %xmm8, %xmm0 addq $4 * SIZE, Y addq $4 * SIZE, X ALIGN_3 .L36: testq $1, N jle .L999 movapd 1 * SIZE(X), %xmm4 movapd 0 * SIZE(Y), %xmm1 SHUFPD_1 %xmm4, %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movapd %xmm2, 0 * SIZE(Y) jmp .L999 ALIGN_3 .L40: movsd 0 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulsd C, %xmm0 mulsd S, %xmm1 mulsd C, %xmm2 mulsd S, %xmm3 addsd %xmm1, %xmm0 subsd %xmm3, %xmm2 movsd %xmm0, 0 * SIZE(X) movsd %xmm2, 0 * SIZE(Y) addq $1 * SIZE, Y addq $1 * SIZE, X decq N jle .L47 movq N, %rax sarq $3, %rax jle .L44 movapd 0 * SIZE(Y), %xmm1 movapd 2 * SIZE(Y), %xmm3 movapd 4 * SIZE(Y), %xmm9 movapd 6 * SIZE(Y), %xmm11 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(X), %xmm2 movapd 4 * SIZE(X), %xmm8 movapd 6 * SIZE(X), %xmm10 decq %rax jle .L42 ALIGN_3 .L41: #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(X) #endif movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 8 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 10 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 #if defined(PREFETCHW) PREFETCHW (PREFETCHSIZE + 0) - PREOFFSET(Y) #endif movapd %xmm0, 0 * SIZE(X) movapd 8 * SIZE(X), %xmm0 movapd %xmm2, 2 * SIZE(X) movapd 10 * SIZE(X), %xmm2 movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 12 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 14 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 4 * SIZE(X) movapd 12 * SIZE(X), %xmm8 movapd %xmm10,6 * SIZE(X) movapd 14 * SIZE(X), %xmm10 movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(X) #endif movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 16 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 18 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 8 * SIZE(X) movapd 16 * SIZE(X), %xmm0 movapd %xmm2, 10 * SIZE(X) movapd 18 * SIZE(X), %xmm2 movapd %xmm4, 8 * SIZE(Y) movapd %xmm6, 10 * SIZE(Y) #if defined(PREFETCHW) && !defined(FETCH128) PREFETCHW (PREFETCHSIZE + 64) - PREOFFSET(Y) #endif movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 20 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 22 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 12 * SIZE(X) movapd 20 * SIZE(X), %xmm8 movapd %xmm10, 14 * SIZE(X) movapd 22 * SIZE(X), %xmm10 movapd %xmm4, 12 * SIZE(Y) movapd %xmm6, 14 * SIZE(Y) addq $16 * SIZE, X addq $16 * SIZE, Y decq %rax jg .L41 ALIGN_3 .L42: movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 movapd 8 * SIZE(Y), %xmm1 addpd %xmm3, %xmm2 movapd 10 * SIZE(Y), %xmm3 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd 8 * SIZE(X), %xmm0 movapd %xmm2, 2 * SIZE(X) movapd 10 * SIZE(X), %xmm2 movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 movapd 12 * SIZE(Y), %xmm9 addpd %xmm11, %xmm10 movapd 14 * SIZE(Y), %xmm11 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 4 * SIZE(X) movapd 12 * SIZE(X), %xmm8 movapd %xmm10,6 * SIZE(X) movapd 14 * SIZE(X), %xmm10 movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) movapd %xmm1, %xmm4 mulpd S, %xmm1 movapd %xmm3, %xmm6 mulpd S, %xmm3 movapd %xmm0, %xmm5 mulpd C, %xmm0 movapd %xmm2, %xmm7 mulpd C, %xmm2 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 8 * SIZE(X) movapd %xmm2, 10 * SIZE(X) movapd %xmm4, 8 * SIZE(Y) movapd %xmm6, 10 * SIZE(Y) movapd %xmm9, %xmm4 mulpd S, %xmm9 movapd %xmm8, %xmm5 mulpd C, %xmm8 movapd %xmm11, %xmm6 mulpd S, %xmm11 movapd %xmm10, %xmm7 mulpd C, %xmm10 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm9, %xmm8 addpd %xmm11, %xmm10 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm8, 12 * SIZE(X) movapd %xmm10, 14 * SIZE(X) movapd %xmm4, 12 * SIZE(Y) movapd %xmm6, 14 * SIZE(Y) addq $16 * SIZE, X addq $16 * SIZE, Y ALIGN_3 .L44: testq $4, N jle .L45 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(Y), %xmm3 movapd 2 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) movapd 4 * SIZE(Y), %xmm1 movapd 4 * SIZE(X), %xmm0 movapd 6 * SIZE(Y), %xmm3 movapd 6 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 4 * SIZE(X) movapd %xmm2, 6 * SIZE(X) movapd %xmm4, 4 * SIZE(Y) movapd %xmm6, 6 * SIZE(Y) addq $8 * SIZE, X addq $8 * SIZE, Y ALIGN_3 .L45: testq $2, N jle .L46 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd 2 * SIZE(Y), %xmm3 movapd 2 * SIZE(X), %xmm2 movapd %xmm1, %xmm4 movapd %xmm0, %xmm5 movapd %xmm3, %xmm6 movapd %xmm2, %xmm7 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 mulpd C, %xmm4 mulpd S, %xmm5 mulpd C, %xmm6 mulpd S, %xmm7 addpd %xmm1, %xmm0 addpd %xmm3, %xmm2 subpd %xmm5, %xmm4 subpd %xmm7, %xmm6 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 2 * SIZE(X) movapd %xmm4, 0 * SIZE(Y) movapd %xmm6, 2 * SIZE(Y) addq $4 * SIZE, X addq $4 * SIZE, Y ALIGN_3 .L46: testq $1, N jle .L47 movapd 0 * SIZE(Y), %xmm1 movapd 0 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movapd %xmm0, 0 * SIZE(X) movapd %xmm2, 0 * SIZE(Y) addq $2 * SIZE, Y addq $2 * SIZE, X ALIGN_3 .L47: movsd 0 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulsd C, %xmm0 mulsd S, %xmm1 mulsd C, %xmm2 mulsd S, %xmm3 addsd %xmm1, %xmm0 subsd %xmm3, %xmm2 movsd %xmm0, 0 * SIZE(X) movsd %xmm2, 0 * SIZE(Y) jmp .L999 ALIGN_3 .L50: movq N, %rax sarq $2, %rax jle .L55 ALIGN_3 .L53: movsd 0 * SIZE(Y), %xmm1 movhps 1 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movhps 1 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) addq INCX, X addq INCY, Y movsd 0 * SIZE(Y), %xmm1 movhps 1 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movhps 1 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) addq INCX, X addq INCY, Y movsd 0 * SIZE(Y), %xmm1 movhps 1 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movhps 1 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) addq INCX, X addq INCY, Y movsd 0 * SIZE(Y), %xmm1 movhps 1 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movhps 1 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) addq INCX, X addq INCY, Y decq %rax jg .L53 ALIGN_3 .L55: movq N, %rax andq $3, %rax jle .L999 ALIGN_3 .L56: movsd 0 * SIZE(Y), %xmm1 movhps 1 * SIZE(Y), %xmm1 movsd 0 * SIZE(X), %xmm0 movhps 1 * SIZE(X), %xmm0 movapd %xmm1, %xmm2 movapd %xmm0, %xmm3 mulpd C, %xmm0 mulpd S, %xmm1 mulpd C, %xmm2 mulpd S, %xmm3 addpd %xmm1, %xmm0 subpd %xmm3, %xmm2 movlps %xmm0, 0 * SIZE(X) movhps %xmm0, 1 * SIZE(X) movlps %xmm2, 0 * SIZE(Y) movhps %xmm2, 1 * SIZE(Y) addq INCX, X addq INCY, Y decq %rax jg .L56 ALIGN_3 .L999: RESTOREREGISTERS ret EPILOGUE
{ "language": "Assembly" }
/* ********************************************************************************************************* * * 模块名称 : 汉字点阵字库。有效显示区 高16x宽15, 最右一列留白 * 文件名称 : hz16.c * 版 本 : V1.0 * 说 明 : 只包含本程序用到汉字字库 * 修改记录 : * 版本号 日期 作者 说明 * v1.0 2011-09-08 armfly ST固件库V3.5.0版本。 * * Copyright (C), 2010-2011, 安富莱电子 www.armfly.com * ********************************************************************************************************* */ #include "fonts.h" /* FLASH中内嵌小字库,只包括本程序用到的汉字点阵 每行点阵数据,头2字节是汉子的内码,后面是16点阵汉子的字模数据。 */ #ifdef USE_SMALL_FONT unsigned char const g_Hz16[] = { 0xA1,0xA2, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 、 // 0x00,0x00,0x00,0x00,0x30,0x00,0x1E,0x00,0x0F,0x00,0x07,0x00,0x00,0x00,0x00,0x00, 0xA1,0xA3, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 。 // 0x00,0x00,0x00,0x00,0x3C,0x00,0x66,0x00,0x66,0x00,0x66,0x00,0x3C,0x00,0x00,0x00, 0xA1,0xC0, 0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x0F,0xF8,0x00,0x80,// ± // 0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x00,0x0F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00, 0xA1,0xCC, 0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x10,0x00,0x10,0x00,0x20,0x00,0x20,0x00,0x40,// √ // 0x00,0x40,0x00,0x80,0x10,0x80,0x3B,0x00,0x2E,0x00,0x0C,0x00,0x04,0x00,0x00,0x00, 0xA1,0xE3, 0x00,0x00,0x01,0xC0,0x02,0x20,0x02,0x20,0x02,0x20,0x01,0xC0,0x00,0x00,0x00,0x00,// ° // 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xA1,0xE4, 0x00,0x00,0x00,0x20,0x00,0x20,0x00,0x60,0x00,0x40,0x00,0xC0,0x00,0x80,0x01,0x80,// ′ // 0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xA1,0xE6, 0x30,0x00,0x48,0x00,0x48,0x00,0x33,0xE8,0x06,0x38,0x0C,0x18,0x0C,0x08,0x0C,0x00,// ℃ // 0x0C,0x00,0x0C,0x00,0x0C,0x00,0x06,0x08,0x03,0x10,0x01,0xE0,0x00,0x00,0x00,0x00, 0xA1,0xFB, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x06,0x00,0x1E,0x00,0x3F,0xFE,// ← // 0x1E,0x00,0x06,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xA3,0xA1, 0x00,0x00,0x01,0x80,0x03,0xC0,0x03,0xC0,0x03,0xC0,0x03,0xC0,0x03,0xC0,0x01,0x80,// ! // 0x01,0x80,0x01,0x80,0x00,0x00,0x01,0x80,0x03,0xC0,0x01,0x80,0x00,0x00,0x00,0x00, 0xA3,0xA8, 0x00,0x00,0x00,0x08,0x00,0x10,0x00,0x60,0x00,0x40,0x00,0xC0,0x00,0x80,0x01,0x80,// ( // 0x01,0x80,0x00,0x80,0x00,0xC0,0x00,0x40,0x00,0x60,0x00,0x10,0x00,0x08,0x00,0x00, 0xA3,0xA9, 0x00,0x00,0x10,0x00,0x08,0x00,0x06,0x00,0x02,0x00,0x03,0x00,0x01,0x00,0x01,0x80,// ) // 0x01,0x80,0x01,0x00,0x03,0x00,0x02,0x00,0x06,0x00,0x08,0x00,0x10,0x00,0x00,0x00, 0xA3,0xAC, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// , // 0x0C,0x00,0x1E,0x00,0x1E,0x00,0x0C,0x00,0x04,0x00,0x08,0x00,0x10,0x00,0x00,0x00, 0xB0,0xB2, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x82,0x04,0x02,0x00,0x02,0x04,0xFF,0xFE,// 安 // 0x04,0x20,0x08,0x20,0x18,0x20,0x06,0x40,0x01,0x80,0x02,0x40,0x0C,0x30,0x30,0x10, 0xB0,0xB4, 0x10,0x40,0x10,0x20,0x10,0x00,0x13,0xFE,0xFA,0x02,0x14,0x44,0x10,0x40,0x3F,0xFE,// 按 // 0xD0,0x88,0x10,0x88,0x11,0x08,0x10,0x90,0x10,0x60,0x10,0x50,0x50,0x8C,0x23,0x04, 0xB0,0xCE, 0x10,0xA0,0x10,0x90,0x10,0x90,0xFC,0x84,0x13,0xFE,0x10,0x80,0x14,0x80,0x19,0xF8,// 拔 // 0x31,0x08,0xD1,0x08,0x12,0x90,0x12,0x60,0x14,0x20,0x14,0x50,0x58,0x8E,0x23,0x04, 0xB0,0xDC, 0x04,0x40,0x7E,0x40,0x44,0x44,0x54,0x7E,0x54,0x88,0x55,0x08,0x54,0x48,0x54,0x48,// 败 // 0x54,0x48,0x54,0x50,0x54,0x50,0x10,0x20,0x28,0x50,0x24,0x8E,0x45,0x04,0x82,0x00, 0xB0,0xE5, 0x10,0x08,0x10,0x1C,0x11,0xE0,0x11,0x00,0xFD,0x00,0x11,0xFC,0x31,0x04,0x39,0x48,// 板 // 0x55,0x48,0x51,0x50,0x91,0x30,0x12,0x20,0x12,0x50,0x14,0x8E,0x19,0x04,0x10,0x00, 0xB0,0xE6, 0x08,0x08,0x48,0x1C,0x49,0xE0,0x49,0x00,0x49,0x00,0x7D,0xFC,0x41,0x04,0x41,0x48,// 版 // 0x79,0x48,0x49,0x50,0x49,0x30,0x4A,0x20,0x4A,0x50,0x4C,0x8E,0x89,0x04,0x08,0x00, 0xB1,0xA3, 0x08,0x08,0x0B,0xFC,0x0A,0x08,0x12,0x08,0x12,0x08,0x33,0xF8,0x32,0x40,0x50,0x44,// 保 // 0x9F,0xFE,0x10,0x40,0x10,0xE0,0x11,0x50,0x12,0x48,0x14,0x4E,0x18,0x44,0x10,0x40, 0xB1,0xB1, 0x04,0x80,0x04,0x80,0x04,0x88,0x04,0x98,0x04,0xA0,0x7C,0xC0,0x04,0x80,0x04,0x80,// 北 // 0x04,0x80,0x04,0x80,0x04,0x80,0x04,0x80,0x1C,0x82,0xE4,0x82,0x44,0x7E,0x00,0x00, 0xB1,0xB3, 0x04,0x40,0x04,0x44,0x7C,0x78,0x04,0x42,0x1C,0x42,0xE4,0x3E,0x40,0x10,0x1F,0xF8,// 背 // 0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x50,0x10,0x20, 0xB1,0xB6, 0x08,0x80,0x08,0x48,0x0F,0xFC,0x10,0x00,0x12,0x18,0x31,0x10,0x51,0x24,0x9F,0xFE,// 倍 // 0x10,0x08,0x13,0xFC,0x12,0x08,0x12,0x08,0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08, 0xB1,0xB8, 0x04,0x00,0x07,0xF0,0x08,0x20,0x14,0x40,0x23,0x80,0x02,0x80,0x0C,0x60,0x30,0x1E,// 备 // 0xDF,0xF4,0x11,0x10,0x11,0x10,0x1F,0xF0,0x11,0x10,0x11,0x10,0x1F,0xF0,0x10,0x10, 0xB1,0xBB, 0x20,0x20,0x10,0x20,0x10,0x20,0x05,0xFE,0xFD,0x22,0x09,0x24,0x11,0x20,0x35,0x20,// 被 // 0x59,0xFC,0x95,0x04,0x11,0x88,0x12,0x50,0x12,0x20,0x14,0x50,0x18,0x8E,0x13,0x04, 0xB1,0xBE, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x05,0x40,0x05,0x40,0x05,0x40,// 本 // 0x09,0x20,0x09,0x20,0x11,0x10,0x2F,0xEE,0xC1,0x04,0x01,0x00,0x01,0x00,0x01,0x00, 0xB1,0xC8, 0x00,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x88,0x24,0x98,0x3E,0xA0,0x20,0xC0,// 比 // 0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x82,0x26,0x82,0x38,0x82,0x60,0x7E,0x00,0x00, 0xB1,0xCC, 0x04,0x40,0xFE,0x88,0x11,0xFC,0x7D,0x08,0x11,0xF8,0x1F,0x08,0xF1,0xF8,0x00,0x08,// 碧 // 0x7F,0xFC,0x04,0x00,0x08,0x10,0x1F,0xF8,0x28,0x10,0xC8,0x10,0x0F,0xF0,0x08,0x10, 0xB1,0xD5, 0x20,0x04,0x1B,0xFE,0x08,0x04,0x40,0x84,0x40,0xA4,0x5F,0xF4,0x40,0x84,0x41,0x84,// 闭 // 0x42,0x84,0x44,0x84,0x48,0x84,0x50,0x84,0x40,0x84,0x42,0x84,0x41,0x14,0x40,0x08, 0xB1,0xEA, 0x10,0x00,0x10,0x10,0x13,0xF8,0x10,0x00,0xFC,0x00,0x10,0x04,0x37,0xFE,0x38,0x40,// 标 // 0x54,0x40,0x51,0x50,0x91,0x48,0x12,0x4C,0x14,0x44,0x10,0x40,0x11,0x40,0x10,0x80, 0xB1,0xED, 0x01,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x04,0xFF,0xFE,// 表 // 0x02,0x00,0x05,0x10,0x0C,0xA0,0x34,0x40,0xC4,0x30,0x05,0x0E,0x06,0x04,0x04,0x00, 0xB2,0xA5, 0x10,0x38,0x13,0xC0,0x10,0x44,0x12,0x4C,0xFD,0x50,0x17,0xFE,0x11,0x50,0x1A,0x4E,// 播 // 0x34,0x44,0xD3,0xF8,0x12,0x48,0x12,0x48,0x13,0xF8,0x12,0x48,0x52,0x48,0x23,0xF8, 0xB2,0xA6, 0x10,0x40,0x10,0x50,0x12,0x48,0x12,0x40,0xFF,0xFE,0x10,0x80,0x14,0x80,0x18,0xF8,// 拨 // 0x11,0x08,0x31,0x90,0xD2,0x50,0x12,0x20,0x14,0x50,0x18,0x88,0x51,0x0E,0x22,0x04, 0xB2,0xA8, 0x00,0x40,0x40,0x40,0x30,0x40,0x17,0xFC,0x04,0x44,0x84,0x48,0x44,0x40,0x0F,0xF8,// 波 // 0x14,0x08,0x25,0x10,0xE4,0xA0,0x24,0x40,0x28,0xA0,0x29,0x10,0x32,0x0E,0x24,0x04, 0xB2,0xBB, 0x00,0x04,0xFF,0xFE,0x00,0x80,0x00,0x80,0x01,0x00,0x01,0x00,0x03,0x40,0x05,0x20,// 不 // 0x09,0x18,0x11,0x0C,0x21,0x04,0x41,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xB2,0xBD, 0x01,0x00,0x09,0x00,0x09,0x10,0x09,0xF8,0x09,0x00,0x09,0x04,0xFF,0xFE,0x01,0x00,// 步 // 0x09,0x10,0x0D,0x18,0x11,0x20,0x21,0x20,0x00,0xC0,0x03,0x00,0x0C,0x00,0x70,0x00, 0xB2,0xC1, 0x20,0x80,0x20,0x40,0x2F,0xFE,0x2A,0x02,0xFB,0xBC,0x26,0xA4,0x25,0x28,0x2B,0x18,// 擦 // 0x32,0x08,0xE5,0xF6,0x28,0x00,0x27,0xFC,0x22,0x48,0x22,0x44,0xA5,0x44,0x40,0x80, 0xB2,0xC9, 0x00,0x08,0x00,0x7C,0x7F,0x80,0x00,0x08,0x11,0x18,0x08,0xA0,0x01,0x00,0x01,0x04,// 采 // 0xFF,0xFE,0x03,0x80,0x05,0x40,0x09,0x30,0x11,0x0E,0x61,0x04,0x01,0x00,0x01,0x00, 0xB2,0xCE, 0x02,0x00,0x02,0x40,0x04,0x20,0x1F,0xF0,0x02,0x04,0xFF,0xFE,0x04,0x40,0x08,0xA0,// 参 // 0x13,0x10,0x2C,0x4E,0xC1,0x84,0x0E,0x10,0x00,0x60,0x01,0x80,0x0E,0x00,0x70,0x00, 0xB2,0xD9, 0x10,0x10,0x11,0xF8,0x11,0x10,0x11,0xF0,0xFC,0x04,0x17,0xBE,0x14,0xA4,0x1F,0xBC,// 操 // 0x30,0x40,0xD0,0x44,0x1F,0xFE,0x10,0xE0,0x11,0x50,0x12,0x4E,0x54,0x44,0x20,0x40, 0xB2,0xE1, 0x02,0x08,0x1F,0x7C,0x12,0x48,0x12,0x48,0x12,0x48,0x12,0x48,0x12,0x48,0xFF,0xFE,// 册 // 0x12,0x48,0x12,0x48,0x12,0x48,0x12,0x48,0x12,0x48,0x12,0x48,0x26,0xA8,0x41,0x10, 0xB2,0xE2, 0x00,0x00,0x40,0x44,0x27,0xE4,0x24,0x54,0x85,0x54,0x65,0x54,0x25,0x54,0x0D,0x54,// 测 // 0x15,0x54,0x25,0x54,0xE5,0x54,0x21,0x04,0x22,0x84,0x24,0x44,0x28,0x54,0x20,0x08, 0xB2,0xE5, 0x10,0x10,0x10,0x38,0x17,0xC0,0x10,0x40,0xF8,0x44,0x17,0xFE,0x10,0x40,0x19,0x44,// 插 // 0x36,0x5E,0xD4,0x44,0x14,0x44,0x17,0x5C,0x14,0x44,0x14,0x44,0x57,0xFC,0x24,0x04, 0xB2,0xEE, 0x08,0x20,0x04,0x48,0x7F,0xFC,0x01,0x00,0x01,0x10,0x3F,0xF8,0x01,0x00,0x02,0x04,// 差 // 0xFF,0xFE,0x04,0x00,0x08,0x20,0x17,0xF0,0x20,0x80,0x40,0x80,0x80,0x88,0x1F,0xFC, 0xB3,0xA4, 0x08,0x00,0x08,0x10,0x08,0x30,0x08,0x40,0x08,0x80,0x09,0x00,0x08,0x04,0xFF,0xFE,// 长 // 0x09,0x00,0x09,0x00,0x08,0x80,0x08,0x40,0x08,0x20,0x09,0x1C,0x0E,0x08,0x08,0x00, 0xB3,0xA7, 0x00,0x00,0x00,0x08,0x1F,0xFC,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,// 厂 // 0x10,0x00,0x10,0x00,0x10,0x00,0x20,0x00,0x20,0x00,0x40,0x00,0x80,0x00,0x00,0x00, 0xB3,0xC9, 0x00,0x80,0x00,0xA0,0x00,0x90,0x3F,0xFC,0x20,0x80,0x20,0x80,0x20,0x84,0x3E,0x44,// 成 // 0x22,0x48,0x22,0x48,0x22,0x30,0x2A,0x20,0x24,0x62,0x40,0x92,0x81,0x0A,0x00,0x06, 0xB3,0xCC, 0x08,0x04,0x1D,0xFE,0xF1,0x04,0x11,0x04,0x11,0x04,0xFF,0x04,0x11,0xFC,0x38,0x00,// 程 // 0x37,0xFE,0x54,0x20,0x50,0x28,0x91,0xFC,0x10,0x20,0x10,0x24,0x17,0xFE,0x10,0x00, 0xB3,0xD6, 0x10,0x40,0x10,0x40,0x10,0x50,0x13,0xF8,0xFC,0x40,0x10,0x48,0x17,0xFC,0x18,0x10,// 持 // 0x30,0x14,0xD7,0xFE,0x12,0x10,0x11,0x10,0x11,0x10,0x10,0x10,0x50,0x50,0x20,0x20, 0xB3,0xF6, 0x01,0x00,0x01,0x00,0x21,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,// 出 // 0x01,0x00,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,0x7F,0xFC,0x40,0x04, 0xB3,0xFD, 0x00,0x40,0x78,0x40,0x48,0xA0,0x50,0xA0,0x51,0x10,0x62,0x0E,0x55,0xF4,0x48,0x40,// 除 // 0x48,0x50,0x4F,0xFC,0x68,0x40,0x51,0x50,0x42,0x4C,0x44,0x44,0x41,0x40,0x40,0x80, 0xB4,0xA5, 0x20,0x20,0x20,0x20,0x3C,0x20,0x48,0x24,0x51,0xFE,0xFD,0x24,0x55,0x24,0x55,0x24,// 触 // 0x7D,0x24,0x55,0x24,0x55,0xFC,0x7D,0x20,0x54,0x28,0x54,0x3C,0x55,0xE2,0x8C,0x82, 0xB4,0xAB, 0x08,0x40,0x08,0x40,0x08,0x48,0x17,0xFC,0x10,0x40,0x30,0x44,0x5F,0xFE,0x90,0x80,// 传 // 0x11,0x00,0x13,0xFC,0x10,0x08,0x11,0x10,0x10,0xA0,0x10,0x40,0x10,0x60,0x10,0x20, 0xB4,0xAE, 0x01,0x00,0x01,0x08,0x3F,0xFC,0x21,0x08,0x21,0x08,0x3F,0xF8,0x01,0x00,0x01,0x04,// 串 // 0x7F,0xFE,0x41,0x04,0x41,0x04,0x7F,0xFC,0x41,0x04,0x01,0x00,0x01,0x00,0x01,0x00, 0xB4,0xC5, 0x02,0x08,0x11,0x98,0xF8,0xA0,0x27,0xFE,0x21,0x08,0x41,0x08,0x42,0x52,0x77,0xBC,// 磁 // 0xD0,0x84,0x51,0x08,0x51,0x08,0x52,0x10,0x54,0xA4,0x77,0xFE,0x50,0x42,0x00,0x00, 0xB4,0xC7, 0x08,0x40,0x1C,0x20,0xF0,0x28,0x11,0xFC,0x10,0x00,0x14,0x88,0xFE,0x50,0x10,0x04,// 辞 // 0x15,0xFE,0x7E,0x20,0x44,0x28,0x45,0xFC,0x44,0x20,0x44,0x20,0x7C,0x20,0x44,0x20, 0xB4,0xE6, 0x02,0x00,0x02,0x04,0xFF,0xFE,0x04,0x00,0x08,0x00,0x0B,0xF8,0x10,0x10,0x10,0x20,// 存 // 0x30,0x44,0x5F,0xFE,0x90,0x40,0x10,0x40,0x10,0x40,0x10,0x40,0x11,0x40,0x10,0x80, 0xB4,0xF0, 0x10,0x40,0x12,0x48,0x1F,0x7C,0x28,0xA0,0x45,0x10,0x02,0x80,0x04,0x40,0x08,0x20,// 答 // 0x1F,0xF8,0x20,0x0E,0xCF,0xE4,0x08,0x20,0x08,0x20,0x08,0x20,0x0F,0xE0,0x08,0x20, 0xB4,0xF2, 0x10,0x00,0x10,0x00,0x10,0x04,0x13,0xFE,0xFC,0x20,0x10,0x20,0x14,0x20,0x18,0x20,// 打 // 0x30,0x20,0xD0,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x50,0xA0,0x20,0x40, 0xB4,0xF3, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x02,0x80,// 大 // 0x02,0x80,0x02,0x40,0x04,0x40,0x04,0x20,0x08,0x10,0x10,0x0E,0x60,0x04,0x00,0x00, 0xB5,0xB1, 0x01,0x00,0x21,0x08,0x19,0x18,0x09,0x20,0x01,0x00,0x01,0x08,0x7F,0xFC,0x00,0x08,// 当 // 0x00,0x08,0x00,0x08,0x3F,0xF8,0x00,0x08,0x00,0x08,0x00,0x08,0x7F,0xF8,0x00,0x08, 0xB5,0xBD, 0x01,0x04,0x7F,0x84,0x08,0x04,0x10,0x24,0x22,0x24,0x41,0x24,0x7F,0xA4,0x08,0xA4,// 到 // 0x0A,0x24,0x7F,0x24,0x08,0x24,0x08,0x24,0x08,0x04,0x0F,0x84,0xF8,0x14,0x00,0x08, 0xB5,0xC0, 0x02,0x08,0x41,0x10,0x37,0xFC,0x10,0x80,0x01,0x08,0x03,0xFC,0xF2,0x08,0x13,0xF8,// 道 // 0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08,0x12,0x08,0x2B,0xF8,0x44,0x06,0x03,0xFC, 0xB5,0xC4, 0x10,0x40,0x10,0x40,0x22,0x44,0x7F,0x7E,0x42,0x84,0x43,0x04,0x42,0x04,0x42,0x84,// 的 // 0x7E,0x64,0x42,0x24,0x42,0x04,0x42,0x04,0x42,0x04,0x7E,0x04,0x42,0x28,0x00,0x10, 0xB5,0xC6, 0x10,0x00,0x10,0x04,0x17,0xFE,0x10,0x20,0x54,0x20,0x58,0x20,0x50,0x20,0x90,0x20,// 灯 // 0x10,0x20,0x10,0x20,0x10,0x20,0x28,0x20,0x24,0x20,0x44,0x20,0x80,0xA0,0x00,0x40, 0xB5,0xCD, 0x10,0x08,0x10,0x3C,0x17,0xC0,0x24,0x40,0x24,0x40,0x64,0x40,0xA4,0x44,0x27,0xFE,// 低 // 0x24,0x20,0x24,0x20,0x24,0x20,0x24,0x90,0x25,0x12,0x26,0x4A,0x24,0x2A,0x20,0x04, 0xB5,0xD8, 0x00,0x40,0x20,0x40,0x22,0x40,0x22,0x40,0x22,0x48,0x22,0x7C,0xFB,0xC8,0x26,0x48,// 地 // 0x22,0x48,0x22,0x48,0x22,0x68,0x22,0x50,0x3A,0x42,0xE2,0x02,0x41,0xFE,0x00,0x00, 0xB5,0xDA, 0x10,0x80,0x14,0x88,0x3E,0xFC,0x49,0x20,0xBF,0xF8,0x01,0x08,0x01,0x08,0x3F,0xF8,// 第 // 0x21,0x00,0x21,0x04,0x3F,0xFE,0x03,0x04,0x05,0x04,0x19,0x24,0x61,0x18,0x01,0x00, 0xB5,0xE3, 0x02,0x00,0x02,0x00,0x02,0x08,0x03,0xFC,0x02,0x00,0x02,0x10,0x3F,0xF8,0x20,0x10,// 点 // 0x20,0x10,0x20,0x10,0x3F,0xF0,0x00,0x00,0x29,0x10,0x24,0xC8,0x44,0x44,0x80,0x04, 0xB5,0xE7, 0x02,0x00,0x02,0x00,0x02,0x10,0x7F,0xF8,0x42,0x10,0x42,0x10,0x7F,0xF0,0x42,0x10,// 电 // 0x42,0x10,0x7F,0xF0,0x42,0x10,0x02,0x00,0x02,0x04,0x02,0x04,0x01,0xFC,0x00,0x00, 0xB5,0xF7, 0x40,0x04,0x27,0xFE,0x24,0x44,0x04,0x44,0x05,0xF4,0xE4,0x44,0x24,0x54,0x27,0xFC,// 调 // 0x24,0x04,0x25,0xF4,0x25,0x14,0x2D,0x14,0x35,0xF4,0x25,0x04,0x08,0x14,0x10,0x08, 0xB6,0xA8, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x80,0x24,0x1F,0xF0,0x01,0x00,0x01,0x00,// 定 // 0x11,0x20,0x11,0xF0,0x11,0x00,0x11,0x00,0x11,0x00,0x29,0x06,0x47,0xFC,0x80,0x00, 0xB6,0xAB, 0x02,0x00,0x02,0x00,0x02,0x04,0xFF,0xFE,0x04,0x00,0x09,0x00,0x09,0x00,0x11,0x10,// 东 // 0x3F,0xF8,0x01,0x00,0x09,0x40,0x09,0x20,0x11,0x10,0x21,0x18,0x45,0x08,0x02,0x00, 0xB6,0xAF, 0x00,0x40,0x08,0x40,0x7C,0x40,0x00,0x44,0x05,0xFE,0xFE,0x44,0x10,0x44,0x10,0x44,// 动 // 0x20,0x44,0x24,0x44,0x42,0x84,0xFE,0x84,0x41,0x04,0x01,0x04,0x02,0x28,0x04,0x10, 0xB6,0xC1, 0x00,0x20,0x20,0x28,0x13,0xFC,0x10,0x20,0x00,0x20,0x07,0xFE,0xF0,0x92,0x10,0x54,// 读 // 0x11,0x10,0x10,0x94,0x17,0xFE,0x10,0x20,0x14,0x20,0x18,0x50,0x10,0x8C,0x03,0x04, 0xB6,0xC8, 0x01,0x00,0x00,0x84,0x3F,0xFE,0x22,0x20,0x22,0x28,0x3F,0xFC,0x22,0x20,0x23,0xE0,// 度 // 0x20,0x00,0x2F,0xF0,0x22,0x20,0x21,0x40,0x20,0x80,0x43,0x60,0x8C,0x1E,0x30,0x04, 0xB6,0xD4, 0x00,0x10,0x00,0x10,0x00,0x10,0xFC,0x14,0x07,0xFE,0x04,0x10,0x48,0x10,0x29,0x10,// 对 // 0x10,0x90,0x10,0x90,0x28,0x10,0x24,0x10,0x44,0x10,0x80,0x10,0x00,0x50,0x00,0x20, 0xB6,0xFA, 0x00,0x08,0x7F,0xFC,0x08,0x20,0x08,0x20,0x0F,0xE0,0x08,0x20,0x08,0x20,0x0F,0xE0,// 耳 // 0x08,0x20,0x08,0x24,0x08,0x3E,0xFF,0xE0,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20, 0xB7,0xA2, 0x01,0x00,0x11,0x20,0x11,0x10,0x21,0x04,0x7F,0xFE,0x02,0x00,0x02,0x00,0x07,0xF0,// 发 // 0x06,0x10,0x0A,0x20,0x09,0x40,0x10,0x80,0x21,0x40,0x42,0x30,0x8C,0x0E,0x30,0x04, 0xB7,0xAB, 0x10,0x08,0x10,0xFC,0x14,0x88,0x7E,0x88,0x54,0x88,0x54,0xC8,0x54,0xA8,0x54,0xA8,// 帆 // 0x54,0x88,0x54,0x88,0x5C,0x88,0x54,0x88,0x11,0x0A,0x11,0x0A,0x12,0x06,0x14,0x00, 0xB7,0xB5, 0x00,0x08,0x40,0x1C,0x33,0xE0,0x12,0x00,0x02,0x00,0x02,0xF8,0xF2,0x08,0x12,0x90,// 返 // 0x12,0x50,0x12,0x20,0x12,0x50,0x14,0x8C,0x15,0x04,0x28,0x00,0x44,0x06,0x03,0xFC, 0xB7,0xB6, 0x08,0x20,0x08,0x24,0xFF,0xFE,0x08,0x20,0x20,0x10,0x1B,0xF8,0x4A,0x10,0x22,0x10,// 范 // 0x22,0x10,0x0A,0x50,0xF2,0x20,0x22,0x00,0x22,0x02,0x22,0x02,0x21,0xFE,0x20,0x00, 0xB7,0xBD, 0x04,0x00,0x03,0x00,0x01,0x00,0x00,0x04,0xFF,0xFE,0x04,0x00,0x04,0x10,0x07,0xF8,// 方 // 0x04,0x10,0x04,0x10,0x04,0x10,0x08,0x10,0x08,0x10,0x10,0x10,0x20,0xA0,0x40,0x40, 0xB7,0xC5, 0x20,0x40,0x10,0x40,0x10,0x40,0x00,0x84,0xFF,0xFE,0x20,0x08,0x24,0x88,0x3E,0x88,// 放 // 0x24,0x50,0x24,0x50,0x24,0x20,0x24,0x50,0x44,0x50,0x54,0x88,0x89,0x0E,0x02,0x04, 0xB7,0xE4, 0x10,0x80,0x10,0x80,0x10,0xFC,0x15,0x88,0x7E,0x50,0x54,0x20,0x54,0xDE,0x57,0x24,// 蜂 // 0x54,0xF8,0x7C,0x20,0x51,0xFC,0x14,0x20,0x1D,0xFC,0xE4,0x20,0x40,0x20,0x00,0x20, 0xB7,0xE7, 0x00,0x10,0x3F,0xF8,0x20,0x10,0x28,0x50,0x24,0x50,0x22,0x90,0x22,0x90,0x21,0x10,// 风 // 0x21,0x10,0x22,0x90,0x22,0x90,0x24,0x50,0x28,0x50,0x30,0x12,0x40,0x0A,0x80,0x06, 0xB7,0xFE, 0x02,0x08,0x3F,0xFC,0x22,0x88,0x22,0x88,0x22,0x88,0x3E,0x98,0x22,0x80,0x22,0xFC,// 服 // 0x22,0xA4,0x3E,0xA4,0x22,0xA8,0x22,0x90,0x22,0xA8,0x22,0xA8,0x4A,0xC6,0x84,0x84, 0xB8,0xBB, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x22,0x9F,0xF4,0x00,0x00,0x1F,0xF0,0x10,0x10,// 富 // 0x1F,0xF0,0x00,0x08,0x3F,0xFC,0x21,0x08,0x3F,0xF8,0x21,0x08,0x3F,0xF8,0x20,0x08, 0xB8,0xC4, 0x00,0x80,0x04,0x80,0xFE,0x80,0x04,0x84,0x04,0xFE,0x05,0x08,0x7E,0x88,0x44,0x88,// 改 // 0x40,0x88,0x40,0x50,0x40,0x50,0x40,0x20,0x4C,0x50,0x70,0x88,0x41,0x0E,0x06,0x04, 0xB8,0xCB, 0x10,0x00,0x10,0x08,0x11,0xFC,0x10,0x20,0xFC,0x20,0x10,0x20,0x30,0x24,0x3B,0xFE,// 杆 // 0x54,0x20,0x50,0x20,0x90,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20, 0xB8,0xD0, 0x00,0x50,0x00,0x48,0x7F,0xFC,0x40,0x40,0x7F,0xC0,0x40,0x48,0x5F,0x48,0x51,0x50,// 感 // 0x51,0x22,0x5F,0x52,0x90,0x8E,0x02,0x00,0x29,0x90,0x28,0xAC,0x48,0x24,0x07,0xE0, 0xB8,0xF1, 0x11,0x00,0x11,0x00,0x11,0xF8,0x12,0x08,0xFF,0x10,0x14,0xA0,0x38,0x40,0x34,0xA0,// 格 // 0x51,0x10,0x52,0x0E,0x97,0xFC,0x1A,0x08,0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08, 0xB8,0xF6, 0x01,0x00,0x01,0x00,0x02,0x80,0x04,0x40,0x08,0x20,0x11,0x10,0x21,0x0E,0xC1,0x04,// 个 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xB8,0xF9, 0x10,0x08,0x11,0xFC,0x11,0x08,0x11,0x08,0xFD,0xF8,0x11,0x08,0x39,0x08,0x35,0xF8,// 根 // 0x55,0x44,0x51,0x48,0x91,0x30,0x11,0x20,0x11,0x10,0x11,0x4E,0x11,0x84,0x11,0x00, 0xB9,0xA6, 0x00,0x80,0x00,0x80,0x08,0x80,0xFC,0x80,0x10,0x84,0x17,0xFE,0x10,0x84,0x10,0x84,// 功 // 0x10,0x84,0x10,0x84,0x1D,0x04,0xF1,0x04,0x41,0x04,0x02,0x44,0x04,0x28,0x08,0x10, 0xB9,0xC2, 0x00,0x08,0x7C,0x3C,0x07,0xC0,0x0A,0x10,0x12,0x90,0x12,0x90,0x16,0x90,0x1A,0x90,// 孤 // 0x32,0x90,0xD2,0x90,0x12,0x90,0x12,0x90,0x14,0xA8,0x15,0xEE,0x58,0x24,0x20,0x00, 0xB9,0xCA, 0x10,0x40,0x10,0x40,0x10,0x40,0x14,0x44,0xFE,0xFE,0x11,0x08,0x12,0x88,0x10,0x88,// 故 // 0x7C,0x88,0x44,0x88,0x44,0x50,0x44,0x20,0x44,0x20,0x7C,0x50,0x44,0x8E,0x03,0x04, 0xB9,0xCC, 0x00,0x04,0x7F,0xFE,0x41,0x04,0x41,0x24,0x5F,0xF4,0x41,0x04,0x41,0x24,0x4F,0xF4,// 固 // 0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x40,0x04,0x7F,0xFC,0x40,0x04, 0xB9,0xD2, 0x10,0x40,0x10,0x40,0x10,0x48,0x17,0xFC,0xFC,0x40,0x10,0x40,0x14,0x44,0x1F,0xFE,// 挂 // 0x30,0x40,0xD0,0x48,0x17,0xFC,0x10,0x40,0x10,0x40,0x10,0x44,0x5F,0xFE,0x20,0x00, 0xB9,0xD8, 0x10,0x10,0x08,0x18,0x04,0x20,0x04,0x48,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x04,// 关 // 0xFF,0xFE,0x01,0x00,0x02,0x80,0x02,0x80,0x04,0x40,0x08,0x30,0x30,0x0E,0xC0,0x04, 0xB9,0xE2, 0x01,0x00,0x21,0x08,0x11,0x0C,0x09,0x10,0x09,0x20,0x01,0x04,0xFF,0xFE,0x04,0x40,// 光 // 0x04,0x40,0x04,0x40,0x04,0x40,0x08,0x40,0x08,0x42,0x10,0x42,0x20,0x3E,0x40,0x00, 0xB9,0xFA, 0x00,0x04,0x7F,0xFE,0x40,0x24,0x5F,0xF4,0x41,0x04,0x41,0x04,0x41,0x44,0x4F,0xE4,// 国 // 0x41,0x04,0x41,0x44,0x41,0x24,0x41,0x04,0x5F,0xF4,0x40,0x04,0x7F,0xFC,0x40,0x04, 0xB9,0xFD, 0x00,0x10,0x40,0x10,0x20,0x10,0x17,0xFC,0x00,0x10,0x00,0x10,0xF1,0x10,0x10,0x90,// 过 // 0x10,0x90,0x10,0x10,0x10,0x10,0x10,0x50,0x10,0x20,0x28,0x06,0x47,0xFC,0x00,0x00, 0xBA,0xA3, 0x02,0x00,0x42,0x08,0x33,0xFC,0x14,0x00,0x8B,0xF8,0x62,0x88,0x22,0x48,0x0A,0x08,// 海 // 0x1F,0xFE,0x24,0x88,0xE4,0x48,0x24,0x08,0x27,0xFC,0x20,0x08,0x20,0x28,0x20,0x10, 0xBA,0xC4, 0x10,0x08,0x10,0x3C,0x15,0xC0,0xFE,0x40,0x10,0x50,0x7C,0x78,0x11,0xC0,0xFE,0x40,// 耗 // 0x10,0x48,0x38,0x7C,0x35,0xC0,0x54,0x40,0x50,0x42,0x90,0x42,0x10,0x3E,0x10,0x00, 0xBA,0xC5, 0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x04,0xFF,0xFE,// 号 // 0x04,0x00,0x08,0x10,0x1F,0xF8,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0xA0,0x00,0x40, 0xBA,0xCD, 0x02,0x00,0x07,0x00,0x78,0x00,0x08,0x04,0x0A,0xFE,0xFF,0x84,0x08,0x84,0x18,0x84,// 和 // 0x1C,0x84,0x2A,0x84,0x2A,0x84,0x48,0x84,0x88,0xFC,0x08,0x84,0x08,0x00,0x08,0x00, 0xBA,0xD7, 0x08,0x20,0x08,0x48,0x7F,0xFC,0x52,0x88,0x90,0xA8,0x28,0x88,0x7E,0xA8,0xA8,0x90,// 鹤 // 0x3E,0x84,0x28,0xFE,0x3E,0x04,0x28,0x24,0x29,0xF4,0x3E,0x04,0x20,0x14,0x20,0x08, 0xBA,0xEC, 0x10,0x00,0x10,0x08,0x23,0xFC,0x20,0x20,0x44,0x20,0xF8,0x20,0x10,0x20,0x20,0x20,// 红 // 0x40,0x20,0xFC,0x20,0x40,0x20,0x00,0x20,0x1C,0x20,0xE0,0x24,0x47,0xFE,0x00,0x00, 0xBB,0xA5, 0x00,0x08,0x7F,0xFC,0x08,0x00,0x08,0x20,0x0F,0xF0,0x08,0x20,0x08,0x20,0x08,0x20,// 互 // 0x08,0x20,0x10,0x20,0x1F,0xE0,0x00,0x20,0x00,0x20,0x00,0x24,0xFF,0xFE,0x00,0x00, 0xBB,0xA8, 0x08,0x20,0x08,0x24,0xFF,0xFE,0x08,0x20,0x08,0x20,0x08,0x80,0x10,0x88,0x10,0x98,// 花 // 0x30,0xA0,0x50,0xC0,0x90,0x80,0x11,0x80,0x12,0x82,0x14,0x82,0x10,0x7E,0x10,0x00, 0xBB,0xAA, 0x04,0x40,0x04,0x48,0x08,0x58,0x08,0x60,0x18,0xC0,0x29,0x40,0x4A,0x44,0x08,0x44,// 华 // 0x09,0x3C,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xBB,0xAF, 0x08,0x80,0x08,0x80,0x08,0x80,0x10,0x88,0x10,0x98,0x30,0xA0,0x50,0xC0,0x90,0x80,// 化 // 0x11,0x80,0x12,0x80,0x14,0x80,0x10,0x80,0x10,0x82,0x10,0x82,0x10,0x7E,0x10,0x00, 0xBB,0xB0, 0x00,0x10,0x40,0x38,0x33,0xC0,0x10,0x40,0x00,0x40,0x00,0x44,0xF7,0xFE,0x10,0x40,// 话 // 0x10,0x48,0x13,0xFC,0x12,0x08,0x12,0x08,0x16,0x08,0x1A,0x08,0x13,0xF8,0x02,0x08, 0xBB,0xB5, 0x20,0x00,0x20,0x04,0x2F,0xFE,0x20,0x20,0xF8,0x20,0x20,0x40,0x20,0x40,0x20,0xD0,// 坏 // 0x21,0x4C,0x2A,0x46,0x34,0x42,0xE8,0x40,0x40,0x40,0x00,0x40,0x00,0x40,0x00,0x40, 0xBB,0xB7, 0x10,0x00,0xF8,0x04,0x27,0xFE,0x20,0x20,0x20,0x20,0x20,0x40,0xF8,0x40,0x20,0xD0,// 环 // 0x21,0x4C,0x22,0x46,0x24,0x42,0x20,0x40,0x38,0x40,0xE0,0x40,0x40,0x40,0x00,0x40, 0xBB,0xBB, 0x10,0x80,0x10,0x80,0x11,0xF0,0x12,0x20,0xFC,0x48,0x13,0xFC,0x12,0x48,0x1E,0x48,// 换 // 0x32,0x48,0xD2,0x48,0x1F,0xFE,0x10,0x40,0x10,0xA0,0x11,0x10,0x52,0x0E,0x2C,0x04, 0xBB,0xC6, 0x04,0x40,0x04,0x50,0x3F,0xF8,0x04,0x40,0x04,0x44,0xFF,0xFE,0x01,0x10,0x1F,0xF8,// 黄 // 0x11,0x10,0x1F,0xF0,0x11,0x10,0x1F,0xF0,0x10,0x00,0x04,0x60,0x18,0x18,0x60,0x04, 0xBB,0xD8, 0x00,0x00,0x00,0x04,0x7F,0xFE,0x40,0x04,0x40,0x44,0x47,0xE4,0x44,0x44,0x44,0x44,// 回 // 0x44,0x44,0x44,0x44,0x47,0xC4,0x44,0x44,0x40,0x04,0x7F,0xFC,0x40,0x04,0x00,0x00, 0xBB,0xFA, 0x10,0x00,0x10,0x10,0x11,0xF8,0x11,0x10,0xFD,0x10,0x11,0x10,0x31,0x10,0x39,0x10,// 机 // 0x55,0x10,0x51,0x10,0x91,0x10,0x11,0x10,0x11,0x12,0x12,0x12,0x14,0x0E,0x18,0x00, 0xBC,0xAF, 0x09,0x00,0x08,0x90,0x1F,0xF8,0x31,0x00,0x5F,0xF0,0x91,0x00,0x1F,0xF0,0x11,0x00,// 集 // 0x1F,0xF8,0x11,0x00,0xFF,0xFE,0x05,0x40,0x09,0x20,0x11,0x1C,0x61,0x08,0x01,0x00, 0xBC,0xB6, 0x10,0x08,0x17,0xFC,0x21,0x08,0x21,0x08,0x49,0x10,0xF9,0x10,0x11,0x3C,0x21,0x84,// 级 // 0x41,0x88,0xF9,0x48,0x02,0x50,0x02,0x20,0x1A,0x50,0xE4,0x88,0x49,0x0E,0x02,0x04, 0xBC,0xC6, 0x00,0x40,0x20,0x40,0x10,0x40,0x10,0x40,0x00,0x40,0x00,0x44,0xF7,0xFE,0x10,0x40,// 计 // 0x10,0x40,0x10,0x40,0x10,0x40,0x12,0x40,0x14,0x40,0x18,0x40,0x10,0x40,0x00,0x40, 0xBC,0xCA, 0x00,0x08,0x7D,0xFC,0x44,0x00,0x48,0x00,0x48,0x00,0x50,0x04,0x4B,0xFE,0x48,0x20,// 际 // 0x44,0x20,0x44,0xA8,0x44,0xA4,0x69,0x22,0x52,0x22,0x40,0x20,0x40,0xA0,0x40,0x40, 0xBC,0xD3, 0x10,0x00,0x10,0x00,0x10,0x04,0x12,0x7E,0xFF,0x44,0x12,0x44,0x12,0x44,0x12,0x44,// 加 // 0x12,0x44,0x22,0x44,0x22,0x44,0x22,0x44,0x22,0x44,0x4A,0x7C,0x84,0x44,0x00,0x00, 0xBC,0xEC, 0x10,0x40,0x10,0x40,0x10,0xA0,0x10,0xA0,0xFD,0x10,0x12,0x0E,0x35,0xF4,0x30,0x00,// 检 // 0x58,0x40,0x56,0x48,0x91,0x4C,0x11,0x48,0x11,0x50,0x10,0x04,0x1F,0xFE,0x10,0x00, 0xBC,0xFB, 0x00,0x10,0x1F,0xF8,0x10,0x10,0x11,0x10,0x11,0x10,0x11,0x10,0x11,0x10,0x11,0x10,// 见 // 0x11,0x10,0x12,0x10,0x12,0x90,0x04,0x80,0x04,0x82,0x08,0x82,0x30,0x7E,0xC0,0x00, 0xBC,0xFC, 0x20,0x10,0x27,0x10,0x39,0x7C,0x41,0x14,0x82,0xFE,0x7A,0x14,0x24,0x7C,0x27,0x10,// 键 // 0xF9,0x7C,0x21,0x10,0x25,0x14,0x22,0xFE,0x2A,0x10,0x35,0x10,0x28,0x96,0x00,0x7C, 0xBC,0xFE, 0x10,0x40,0x10,0x40,0x12,0x40,0x22,0x48,0x23,0xFC,0x64,0x40,0xA4,0x40,0x28,0x40,// 件 // 0x20,0x44,0x3F,0xFE,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40, 0xBD,0xAB, 0x10,0x80,0x10,0x80,0x11,0xF8,0x91,0x08,0x73,0x10,0x34,0xA0,0x10,0x40,0x10,0x94,// 将 // 0x1F,0xFE,0x30,0x10,0x52,0x10,0xD1,0x90,0x10,0x90,0x10,0x10,0x10,0x50,0x10,0x20, 0xBD,0xAD, 0x40,0x00,0x30,0x08,0x17,0xFC,0x00,0x40,0x80,0x40,0x60,0x40,0x20,0x40,0x08,0x40,// 江 // 0x10,0x40,0x20,0x40,0xE0,0x40,0x20,0x40,0x20,0x44,0x2F,0xFE,0x20,0x00,0x20,0x00, 0xBD,0xD0, 0x00,0x04,0x04,0x04,0x7E,0x84,0x44,0x84,0x44,0x84,0x44,0x84,0x44,0x84,0x44,0x84,// 叫 // 0x44,0x84,0x44,0x84,0x44,0x9C,0x7C,0xE4,0x44,0x84,0x00,0x04,0x00,0x04,0x00,0x04, 0xBD,0xD3, 0x10,0x80,0x10,0x48,0x17,0xFC,0x10,0x00,0xFD,0x10,0x10,0xA0,0x17,0xFC,0x18,0x80,// 接 // 0x30,0x84,0xDF,0xFE,0x10,0x90,0x11,0x10,0x10,0xA0,0x10,0x60,0x50,0x98,0x23,0x08, 0xBD,0xDA, 0x04,0x40,0x04,0x44,0xFF,0xFE,0x04,0x40,0x04,0x48,0x7F,0xFC,0x02,0x08,0x02,0x08,// 节 // 0x02,0x08,0x02,0x08,0x02,0x48,0x02,0x28,0x02,0x10,0x02,0x00,0x02,0x00,0x02,0x00, 0xBD,0xE7, 0x00,0x10,0x1F,0xF8,0x11,0x10,0x11,0x10,0x1F,0xF0,0x11,0x10,0x11,0x10,0x1F,0xF0,// 界 // 0x02,0x80,0x04,0x60,0x0C,0x50,0x34,0x4E,0xC4,0x44,0x04,0x40,0x08,0x40,0x10,0x40, 0xBD,0xF8, 0x02,0x20,0x42,0x20,0x22,0x28,0x2F,0xFC,0x02,0x20,0x02,0x20,0xE2,0x20,0x22,0x28,// 进 // 0x2F,0xFC,0x22,0x20,0x22,0x20,0x22,0x20,0x24,0x20,0x50,0x26,0x8F,0xFC,0x00,0x00, 0xBE,0xA1, 0x00,0x08,0x1F,0xFC,0x10,0x08,0x10,0x08,0x1F,0xF8,0x11,0x08,0x10,0x80,0x10,0x80,// 尽 // 0x10,0x40,0x16,0x20,0x21,0x90,0x40,0x0E,0x86,0x04,0x01,0x80,0x00,0xC0,0x00,0x40, 0xBE,0xAD, 0x10,0x00,0x13,0xFC,0x20,0x08,0x20,0x10,0x44,0x30,0xFC,0x48,0x08,0x86,0x13,0x02,// 经 // 0x20,0x00,0x41,0xFC,0xFC,0x20,0x00,0x20,0x1C,0x20,0xE0,0x24,0x47,0xFE,0x00,0x00, 0xBE,0xB0, 0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x01,0x04,0xFF,0xFE,0x00,0x10,// 景 // 0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x09,0x20,0x11,0x18,0x65,0x08,0x02,0x00, 0xBE,0xB3, 0x20,0x80,0x20,0x48,0x27,0xFC,0x21,0x10,0x20,0xA4,0xFF,0xFE,0x20,0x08,0x23,0xFC,// 境 // 0x22,0x08,0x23,0xF8,0x22,0x08,0x3B,0xF8,0xE1,0x20,0x41,0x22,0x02,0x22,0x0C,0x1E, 0xBE,0xC9, 0x00,0x00,0x20,0x04,0x23,0xFE,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,// 旧 // 0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,0x22,0x04,0x20,0x00, 0xBE,0xDC, 0x10,0x08,0x13,0xFC,0x12,0x00,0x12,0x00,0xFE,0x08,0x13,0xFC,0x16,0x08,0x1A,0x08,// 拒 // 0x32,0x08,0xD2,0x08,0x13,0xF8,0x12,0x08,0x12,0x00,0x12,0x04,0x53,0xFE,0x20,0x00, 0xBE,0xDD, 0x10,0x04,0x13,0xFE,0x12,0x04,0x12,0x04,0xFF,0xFC,0x12,0x20,0x16,0x24,0x1B,0xFE,// 据 // 0x32,0x20,0xD2,0x24,0x13,0xFE,0x15,0x04,0x15,0x04,0x15,0x04,0x59,0xFC,0x21,0x04, 0xBE,0xF8, 0x10,0x40,0x10,0x40,0x10,0x78,0x20,0x90,0x45,0x24,0xFF,0xFE,0x09,0x24,0x11,0x24,// 绝 // 0x21,0x24,0xFD,0xFC,0x41,0x04,0x01,0x00,0x1D,0x00,0xE1,0x02,0x41,0x02,0x00,0xFE, 0xBF,0xA8, 0x02,0x00,0x02,0x20,0x03,0xF0,0x02,0x00,0x02,0x00,0x02,0x04,0xFF,0xFE,0x02,0x00,// 卡 // 0x02,0x00,0x02,0x80,0x02,0x60,0x02,0x30,0x02,0x10,0x02,0x00,0x02,0x00,0x02,0x00, 0xBF,0xAA, 0x00,0x08,0x7F,0xFC,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x24,0xFF,0xFE,// 开 // 0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x10,0x20,0x10,0x20,0x20,0x20,0x40,0x20, 0xBF,0xC9, 0x00,0x04,0xFF,0xFE,0x00,0x10,0x00,0x90,0x1F,0xD0,0x10,0x90,0x10,0x90,0x10,0x90,// 可 // 0x10,0x90,0x10,0x90,0x1F,0x90,0x10,0x90,0x00,0x10,0x00,0x10,0x00,0x50,0x00,0x20, 0xBF,0xCB, 0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,// 克 // 0x10,0x10,0x1F,0xF0,0x14,0x50,0x04,0x40,0x04,0x40,0x08,0x42,0x10,0x42,0x60,0x3E, 0xBF,0xD5, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x84,0x44,0x0C,0x30,0x10,0x18,0x20,0x08,// 空 // 0x00,0x00,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xBF,0xD8, 0x10,0x40,0x10,0x20,0x13,0xFE,0x12,0x02,0xFC,0x54,0x10,0x88,0x15,0x04,0x18,0x00,// 控 // 0x30,0x08,0xD3,0xFC,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x24,0x57,0xFE,0x20,0x00, 0xBF,0xDA, 0x00,0x00,0x00,0x08,0x3F,0xFC,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,// 口 // 0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x3F,0xF8,0x20,0x08,0x00,0x00,0x00,0x00, 0xBF,0xE2, 0x01,0x00,0x00,0x88,0x3F,0xFC,0x21,0x00,0x21,0x08,0x3F,0xFC,0x22,0x00,0x24,0x80,// 库 // 0x28,0x90,0x2F,0xF8,0x20,0x80,0x20,0x84,0x3F,0xFE,0x40,0x80,0x40,0x80,0x80,0x80, 0xBF,0xE9, 0x10,0x80,0x10,0x80,0x10,0x80,0x10,0x88,0x13,0xFC,0xFC,0x88,0x10,0x88,0x10,0x88,// 块 // 0x10,0x88,0x17,0xFE,0x1C,0x80,0xF1,0x40,0x41,0x20,0x02,0x10,0x04,0x0E,0x08,0x04, 0xC0,0xB3, 0x08,0x20,0x08,0x24,0xFF,0xFE,0x09,0x20,0x01,0x08,0x7F,0xFC,0x01,0x00,0x09,0x20,// 莱 // 0x05,0x44,0xFF,0xFE,0x03,0x80,0x05,0x40,0x09,0x30,0x31,0x0E,0xC1,0x04,0x01,0x00, 0xC0,0xB4, 0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x21,0x10,0x19,0x30,0x09,0x44,// 来 // 0xFF,0xFE,0x03,0x80,0x05,0x40,0x09,0x30,0x31,0x1E,0xC1,0x04,0x01,0x00,0x01,0x00, 0xC0,0xFD, 0x10,0x04,0x10,0x44,0x1F,0xE4,0x22,0x04,0x22,0x14,0x67,0xD4,0xA4,0x54,0x28,0x54,// 例 // 0x34,0x94,0x22,0x94,0x21,0x14,0x22,0x04,0x24,0x04,0x28,0x04,0x20,0x14,0x20,0x08, 0xC1,0xA6, 0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x08,0x7F,0xFC,0x02,0x08,0x02,0x08,0x02,0x08,// 力 // 0x02,0x08,0x02,0x08,0x02,0x08,0x04,0x08,0x04,0x08,0x08,0x88,0x08,0x50,0x70,0x20, 0xC1,0xAA, 0x01,0x04,0xFE,0xCC,0x24,0x50,0x24,0x00,0x3D,0xFC,0x24,0x20,0x24,0x20,0x24,0x24,// 联 // 0x3F,0xFE,0x24,0x20,0x24,0x20,0x24,0x50,0x3E,0x50,0xE4,0x88,0x05,0x0E,0x06,0x04, 0xC1,0xAC, 0x00,0x80,0x40,0x88,0x2F,0xFC,0x21,0x00,0x01,0x40,0x02,0x50,0xE7,0xF8,0x20,0x40,// 连 // 0x20,0x40,0x20,0x48,0x2F,0xFC,0x20,0x40,0x20,0x40,0x50,0x46,0x8F,0xFC,0x00,0x00, 0xC1,0xBD, 0x00,0x04,0xFF,0xFE,0x04,0x40,0x04,0x44,0x7F,0xFE,0x44,0x44,0x44,0x44,0x44,0x44,// 两 // 0x44,0x44,0x44,0x44,0x4A,0xA4,0x51,0x1C,0x62,0x0C,0x40,0x04,0x40,0x14,0x40,0x08, 0xC1,0xBF, 0x00,0x10,0x1F,0xF8,0x10,0x10,0x1F,0xF0,0x10,0x14,0xFF,0xFE,0x00,0x00,0x1F,0xF0,// 量 // 0x11,0x10,0x1F,0xF0,0x11,0x10,0x1F,0xF0,0x01,0x00,0x1F,0xF0,0x01,0x00,0x7F,0xFC, 0xC1,0xC1, 0x01,0x08,0x7F,0xFC,0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x00,// 亮 // 0x7F,0xFE,0x40,0x22,0x8F,0xF4,0x08,0x20,0x08,0x20,0x08,0x22,0x10,0x22,0x60,0x1E, 0xC1,0xCB, 0x00,0x00,0x7F,0xF8,0x00,0x10,0x00,0x20,0x00,0x40,0x01,0x80,0x01,0x00,0x01,0x00,// 了 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xC1,0xD0, 0x01,0x04,0x7F,0x84,0x10,0x24,0x10,0x24,0x1F,0x24,0x21,0x24,0x21,0x24,0x52,0x24,// 列 // 0x8A,0x24,0x04,0x24,0x04,0x24,0x08,0x24,0x10,0x04,0x20,0x04,0x40,0x14,0x00,0x08, 0xC1,0xD9, 0x10,0x80,0x10,0x80,0x51,0x04,0x51,0xFE,0x52,0x00,0x54,0x80,0x58,0x60,0x50,0x24,// 临 // 0x57,0xFE,0x54,0x44,0x54,0x44,0x54,0x44,0x54,0x44,0x14,0x44,0x17,0xFC,0x14,0x04, 0xC1,0xF4, 0x02,0x04,0x7C,0xFE,0x40,0x44,0x48,0x44,0x46,0x44,0x4A,0x44,0xF0,0x94,0x01,0x08,// 留 // 0x3F,0xFC,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,0x3F,0xF8,0x20,0x08, 0xC1,0xF7, 0x00,0x80,0x40,0x48,0x37,0xFC,0x10,0x40,0x80,0x90,0x61,0x08,0x27,0xFC,0x08,0x04,// 流 // 0x11,0x50,0x21,0x50,0xE1,0x50,0x21,0x50,0x21,0x52,0x21,0x52,0x22,0x4E,0x24,0x40, 0xC2,0xA5, 0x10,0x40,0x12,0x48,0x11,0x50,0x10,0x44,0xFF,0xFE,0x11,0x50,0x3A,0x4C,0x34,0x44,// 楼 // 0x50,0x80,0x5F,0xFE,0x91,0x08,0x12,0x08,0x11,0xB0,0x10,0x40,0x11,0xB0,0x16,0x08, 0xC2,0xB7, 0x04,0x40,0x7E,0x40,0x44,0xFC,0x45,0x88,0x46,0x50,0x44,0x20,0x7C,0x50,0x50,0x8E,// 路 // 0x13,0x04,0x5D,0xFE,0x51,0x04,0x51,0x04,0x51,0x04,0x5D,0x04,0xE1,0xFC,0x01,0x04, 0xC2,0xBC, 0x00,0x10,0x3F,0xF8,0x00,0x10,0x00,0x10,0x1F,0xF0,0x00,0x10,0x00,0x14,0xFF,0xFE,// 录 // 0x01,0x08,0x11,0x10,0x09,0xA0,0x05,0x40,0x09,0x20,0x11,0x1E,0x65,0x04,0x02,0x00, 0xC2,0xCA, 0x02,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x42,0x44,0x27,0x88,0x11,0x10,0x22,0x48,// 率 // 0x4F,0xE4,0x01,0x20,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xC2,0xCB, 0x00,0x90,0x40,0xF8,0x20,0x80,0x2F,0xFE,0x08,0x82,0x88,0xF4,0x5F,0x80,0x48,0x88,// 滤 // 0x18,0x78,0x28,0x00,0xC9,0x40,0x4B,0x24,0x4D,0x2A,0x51,0x0A,0x50,0xF8,0x60,0x00, 0xC2,0xCC, 0x10,0x08,0x13,0xFC,0x20,0x08,0x21,0xF8,0x44,0x08,0xFF,0xFE,0x10,0x40,0x22,0x44,// 绿 // 0x41,0x4C,0xF9,0x50,0x00,0xE0,0x01,0x50,0x1A,0x48,0xE4,0x4E,0x41,0x44,0x00,0x80, 0xC2,0xDD, 0x10,0x04,0x11,0xFE,0x11,0x24,0x15,0xFC,0x7F,0x24,0x55,0xFC,0x54,0x20,0x54,0x48,// 螺 // 0x55,0xF0,0x7C,0x24,0x51,0xFC,0x14,0x20,0x1C,0xA8,0xE5,0x26,0x42,0xA2,0x00,0x40, 0xC2,0xE7, 0x10,0x80,0x10,0x80,0x20,0xFC,0x21,0x04,0x4A,0x88,0xF8,0x50,0x10,0x20,0x20,0x50,// 络 // 0x41,0x8E,0xFB,0xFC,0x05,0x04,0x01,0x04,0x19,0x04,0xE1,0x04,0x41,0xFC,0x01,0x04, 0xC2,0xEB, 0x08,0x10,0xFF,0xF8,0x10,0x10,0x11,0x10,0x21,0x10,0x25,0x10,0x3F,0x10,0x65,0x14,// 码 // 0xA5,0xFE,0x24,0x04,0x24,0x24,0x27,0xF4,0x24,0x04,0x3C,0x04,0x24,0x14,0x00,0x08, 0xC2,0xF3, 0x01,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x04,0xFF,0xFE,// 麦 // 0x04,0x00,0x0F,0xF0,0x0A,0x20,0x11,0x40,0x20,0x80,0x43,0x40,0x0C,0x30,0x30,0x0E, 0xC2,0xFE, 0x47,0xF8,0x34,0x08,0x17,0xF8,0x04,0x08,0x87,0xF8,0x60,0x04,0x2F,0xFE,0x09,0x24,// 漫 // 0x19,0x24,0x2F,0xFC,0xE0,0x00,0x27,0xF0,0x22,0x20,0x21,0xC0,0x26,0x30,0x38,0x0E, 0xC3,0xBB, 0x40,0x10,0x31,0xF8,0x11,0x10,0x01,0x10,0x81,0x10,0x62,0x0E,0x24,0x00,0x03,0xF8,// 没 // 0x12,0x08,0x21,0x10,0xE1,0x10,0x20,0xA0,0x20,0x40,0x20,0xA0,0x23,0x1E,0x2C,0x08, 0xC3,0xDF, 0x00,0x08,0x7B,0xFC,0x4A,0x08,0x4A,0x08,0x4A,0x08,0x7B,0xF8,0x4A,0x40,0x4A,0x44,// 眠 // 0x4B,0xFE,0x7A,0x40,0x4A,0x20,0x4A,0x20,0x4A,0x10,0x7A,0x92,0x4B,0x0A,0x02,0x06, 0xC3,0xE6, 0x00,0x04,0xFF,0xFE,0x02,0x00,0x04,0x04,0x7F,0xFE,0x44,0x44,0x44,0x44,0x47,0xC4,// 面 // 0x44,0x44,0x44,0x44,0x44,0x44,0x47,0xC4,0x44,0x44,0x44,0x44,0x7F,0xFC,0x40,0x04, 0xC3,0xE8, 0x21,0x10,0x21,0x10,0x21,0x14,0x2F,0xFE,0xF9,0x10,0x21,0x14,0x27,0xFE,0x2C,0x44,// 描 // 0x34,0x44,0xE4,0x44,0x27,0xFC,0x24,0x44,0x24,0x44,0x24,0x44,0xA7,0xFC,0x44,0x04, 0xC3,0xEB, 0x04,0x20,0x0E,0x20,0x78,0x20,0x08,0x20,0x08,0xA8,0xFE,0xA6,0x08,0xA2,0x1D,0x20,// 秒 // 0x1A,0x24,0x28,0x24,0x28,0x28,0x48,0x10,0x88,0x20,0x08,0x40,0x08,0x80,0x0B,0x00, 0xC3,0xF9, 0x00,0x40,0x08,0x88,0x7D,0xFC,0x49,0x08,0x49,0x48,0x49,0x08,0x49,0x28,0x49,0x10,// 鸣 // 0x49,0x04,0x49,0xFE,0x78,0x04,0x48,0x24,0x07,0xF4,0x00,0x04,0x00,0x14,0x00,0x08, 0xC3,0xFB, 0x02,0x00,0x02,0x00,0x07,0xF0,0x04,0x10,0x0C,0x20,0x12,0x40,0x01,0x80,0x06,0x00,// 名 // 0x18,0x08,0xEF,0xFC,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x0F,0xF8,0x08,0x08, 0xC3,0xFE, 0x11,0x10,0x11,0x14,0x1F,0xFE,0x11,0x10,0xFD,0x18,0x13,0xFC,0x16,0x08,0x1B,0xF8,// 摸 // 0x32,0x08,0xD3,0xF8,0x10,0x40,0x1F,0xFE,0x10,0x40,0x10,0xA0,0x51,0x1C,0x26,0x08, 0xC4,0xA3, 0x11,0x10,0x11,0x14,0x1F,0xFE,0x11,0x10,0xFD,0x18,0x13,0xFC,0x32,0x08,0x3B,0xF8,// 模 // 0x56,0x08,0x53,0xF8,0x90,0x40,0x1F,0xFE,0x10,0x40,0x10,0xB0,0x11,0x0E,0x16,0x04, 0xC4,0xAC, 0x01,0x20,0x7F,0xB0,0x49,0x28,0x6B,0x20,0x5D,0x24,0x7F,0xFE,0x08,0x20,0x7F,0x20,// 默 // 0x08,0x20,0x0F,0x20,0x78,0x20,0x05,0x50,0x55,0x50,0x54,0x88,0x91,0x0E,0x02,0x04, 0xC4,0xBF, 0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,// 目 // 0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x00,0x00, 0xC4,0xCF, 0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x04,0x7F,0xFE,0x48,0x24,0x44,0x44,// 南 // 0x5F,0xF4,0x41,0x04,0x41,0x04,0x5F,0xF4,0x41,0x04,0x41,0x04,0x41,0x14,0x40,0x08, 0xC4,0xDC, 0x10,0x80,0x10,0x88,0x24,0x98,0x44,0xA0,0xFE,0xC0,0x02,0x84,0x7C,0x84,0x44,0x7C,// 能 // 0x7C,0x00,0x44,0x88,0x44,0x98,0x7C,0xA0,0x44,0xC0,0x44,0x82,0x54,0x82,0x48,0x7E, 0xC4,0xE2, 0x10,0x00,0x10,0x08,0x10,0x88,0x12,0x48,0xFE,0x68,0x12,0x28,0x16,0x08,0x1A,0x08,// 拟 // 0x32,0x08,0xD2,0x08,0x12,0x48,0x12,0x88,0x13,0x14,0x12,0x22,0x50,0x42,0x20,0x80, 0xC5,0xCC, 0x02,0x10,0x1F,0xF8,0x10,0x10,0x12,0x10,0x11,0x14,0xFF,0xFE,0x10,0x10,0x12,0x10,// 盘 // 0x21,0x50,0x40,0x20,0x3F,0xF8,0x24,0x48,0x24,0x48,0x24,0x48,0xFF,0xFE,0x00,0x00, 0xC6,0xAC, 0x00,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x84,0x3F,0xFE,0x20,0x00,0x20,0x00,// 片 // 0x3F,0xC0,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x40,0x40,0x80,0x40, 0xC6,0xB5, 0x10,0x04,0x13,0xFE,0x54,0x20,0x5E,0x44,0x51,0xFE,0x55,0x04,0xFF,0x24,0x11,0x24,// 频 // 0x55,0x24,0x55,0x24,0x55,0x24,0x95,0x24,0x08,0x20,0x10,0x50,0x20,0x8C,0x43,0x04, 0xC6,0xC1, 0x00,0x08,0x3F,0xFC,0x20,0x08,0x20,0x08,0x3F,0xF8,0x22,0x20,0x21,0x48,0x2F,0xFC,// 屏 // 0x22,0x20,0x22,0x24,0x3F,0xFE,0x22,0x20,0x22,0x20,0x42,0x20,0x84,0x20,0x08,0x20, 0xC6,0xF0, 0x08,0x00,0x08,0x08,0x08,0xFC,0x7E,0x08,0x08,0x08,0x08,0x08,0xFE,0xF8,0x08,0x88,// 起 // 0x28,0x80,0x2E,0x84,0x28,0x84,0x28,0x7C,0x28,0x00,0x58,0x06,0x8F,0xFC,0x00,0x00, 0xC6,0xF4, 0x01,0x00,0x00,0x84,0x1F,0xFE,0x10,0x04,0x10,0x04,0x10,0x04,0x1F,0xFC,0x10,0x00,// 启 // 0x10,0x04,0x1F,0xFE,0x18,0x04,0x28,0x04,0x28,0x04,0x48,0x04,0x8F,0xFC,0x08,0x04, 0xC6,0xF7, 0x3E,0xF8,0x22,0x88,0x22,0x88,0x22,0x88,0x3E,0xF8,0x01,0x20,0x01,0x14,0xFF,0xFE,// 器 // 0x02,0x80,0x0C,0x60,0x30,0x18,0xFE,0xFE,0x22,0x88,0x22,0x88,0x22,0x88,0x3E,0xF8, 0xC6,0xF8, 0x10,0x00,0x10,0x08,0x1F,0xFC,0x20,0x00,0x2F,0xF0,0x40,0x00,0xBF,0xE0,0x00,0x20,// 气 // 0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x22,0x00,0x12,0x00,0x0A,0x00,0x04, 0xC7,0xB0, 0x10,0x10,0x0C,0x30,0x04,0x44,0xFF,0xFE,0x00,0x00,0x3E,0x08,0x22,0x48,0x22,0x48,// 前 // 0x3E,0x48,0x22,0x48,0x22,0x48,0x3E,0x48,0x22,0x08,0x22,0x08,0x2A,0x28,0x24,0x10, 0xC7,0xD0, 0x10,0x00,0x10,0x04,0x11,0xFE,0x10,0x44,0x14,0x44,0x1E,0x44,0xF0,0x44,0x10,0x44,// 切 // 0x10,0x44,0x12,0x44,0x14,0x44,0x18,0x84,0x10,0x84,0x01,0x04,0x02,0x28,0x0C,0x10, 0xC7,0xEB, 0x00,0x48,0x47,0xFC,0x20,0x40,0x23,0xF8,0x00,0x40,0xEF,0xFE,0x20,0x08,0x23,0xFC,// 请 // 0x22,0x08,0x23,0xF8,0x22,0x08,0x23,0xF8,0x2A,0x08,0x32,0x08,0x22,0x28,0x02,0x10, 0xC8,0xAB, 0x01,0x00,0x01,0x00,0x02,0x80,0x04,0x40,0x08,0x20,0x10,0x50,0x2F,0xEE,0xC1,0x04,// 全 // 0x01,0x00,0x01,0x40,0x0F,0xE0,0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x00,0x00, 0xC8,0xCB, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x80,// 人 // 0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x0E,0x40,0x04, 0xC8,0xCF, 0x00,0x40,0x40,0x40,0x30,0x40,0x10,0x40,0x00,0x40,0x00,0x40,0xF0,0xA0,0x10,0xA0,// 认 // 0x10,0xA0,0x11,0x10,0x11,0x10,0x15,0x10,0x1A,0x08,0x12,0x08,0x04,0x06,0x08,0x04, 0xC8,0xEB, 0x04,0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x80,0x02,0x80,0x02,0x80,// 入 // 0x04,0x40,0x04,0x40,0x08,0x20,0x08,0x20,0x10,0x10,0x20,0x10,0x40,0x0E,0x80,0x04, 0xC8,0xFD, 0x00,0x00,0x00,0x08,0x7F,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x3F,0xF8,// 三 // 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x00,0x00,0x00,0x00, 0xC9,0xA8, 0x10,0x00,0x10,0x04,0x13,0xFE,0x10,0x04,0xFC,0x04,0x10,0x04,0x14,0x04,0x19,0xFC,// 扫 // 0x30,0x04,0xD0,0x04,0x10,0x04,0x10,0x04,0x10,0x04,0x13,0xFC,0x50,0x04,0x20,0x00, 0xC9,0xAB, 0x04,0x00,0x04,0x00,0x07,0xF0,0x08,0x20,0x08,0x48,0x1F,0xFC,0x28,0x88,0x48,0x88,// 色 // 0x08,0x88,0x0F,0xF8,0x08,0x08,0x08,0x00,0x08,0x02,0x08,0x02,0x07,0xFE,0x00,0x00, 0xC9,0xCC, 0x02,0x00,0x01,0x04,0xFF,0xFE,0x08,0x20,0x04,0x48,0x3F,0xFC,0x20,0x08,0x24,0x48,// 商 // 0x28,0x28,0x37,0xD8,0x24,0x48,0x24,0x48,0x24,0x48,0x27,0xC8,0x20,0x28,0x20,0x10, 0xC9,0xCF, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x10,0x01,0xF8,0x01,0x00,0x01,0x00,// 上 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xC9,0xE3, 0x10,0x08,0x13,0xFC,0x11,0x08,0x11,0xF8,0xFD,0x08,0x11,0xF8,0x15,0x08,0x1B,0xFE,// 摄 // 0x30,0x08,0xD7,0xBC,0x14,0xA4,0x12,0xA8,0x11,0x10,0x12,0xA8,0x54,0x46,0x28,0x04, 0xC9,0xE8, 0x01,0xF0,0x21,0x10,0x11,0x10,0x11,0x10,0x01,0x10,0x02,0x0E,0xF4,0x00,0x13,0xF8,// 设 // 0x11,0x08,0x11,0x10,0x10,0x90,0x10,0xA0,0x14,0x40,0x18,0xB0,0x13,0x0E,0x0C,0x04, 0xC9,0xF9, 0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x7F,0xFC,0x00,0x08,0x3F,0xFC,0x21,0x08,// 声 // 0x21,0x08,0x3F,0xF8,0x20,0x08,0x20,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x80,0x00, 0xCA,0xA7, 0x01,0x00,0x11,0x00,0x11,0x00,0x11,0x10,0x1F,0xF8,0x21,0x00,0x41,0x00,0x01,0x04,// 失 // 0xFF,0xFE,0x01,0x00,0x02,0x80,0x02,0x80,0x04,0x40,0x08,0x30,0x10,0x0E,0x60,0x04, 0xCA,0xB1, 0x00,0x08,0x04,0x08,0x7E,0x08,0x44,0x08,0x47,0xFE,0x44,0x08,0x44,0x08,0x7C,0x88,// 时 // 0x44,0x48,0x44,0x48,0x44,0x08,0x44,0x08,0x7C,0x08,0x44,0x48,0x00,0x28,0x00,0x10, 0xCA,0xBC, 0x10,0x40,0x10,0x40,0x10,0x40,0x10,0x80,0xFC,0x88,0x25,0x04,0x27,0xFE,0x24,0x02,// 始 // 0x24,0x04,0x49,0xFE,0x29,0x04,0x11,0x04,0x29,0x04,0x45,0x04,0x85,0xFC,0x01,0x04, 0xCA,0xBD, 0x00,0x80,0x00,0xA0,0x00,0x90,0x00,0x84,0xFF,0xFE,0x00,0x80,0x00,0x80,0x3E,0x80,// 式 // 0x08,0x80,0x08,0x40,0x08,0x40,0x09,0x20,0x0E,0x22,0x70,0x12,0x20,0x0A,0x00,0x04, 0xCA,0xBE, 0x00,0x10,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xFF,0xFE,0x01,0x00,// 示 // 0x01,0x00,0x09,0x20,0x19,0x18,0x21,0x0C,0x41,0x04,0x01,0x00,0x05,0x00,0x02,0x00, 0xCA,0xD4, 0x00,0x20,0x40,0x28,0x20,0x24,0x20,0x20,0x0F,0xFE,0x00,0x20,0xE0,0x20,0x27,0xE0,// 试 // 0x21,0x20,0x21,0x10,0x21,0x10,0x21,0x10,0x29,0xD2,0x37,0x12,0x22,0x0A,0x00,0x04, 0xCA,0xD5, 0x08,0x80,0x08,0x80,0x08,0x80,0x48,0x84,0x48,0xFE,0x49,0x08,0x49,0x88,0x4A,0x88,// 收 // 0x48,0x88,0x58,0x50,0x68,0x50,0x48,0x20,0x08,0x50,0x08,0x88,0x09,0x0E,0x0E,0x04, 0xCA,0xE4, 0x20,0x40,0x20,0xA0,0x28,0xA0,0xFD,0x10,0x22,0x0E,0x45,0xF4,0x50,0x00,0x93,0xC4,// 输 // 0xFA,0x54,0x13,0xD4,0x3A,0x54,0xD3,0xD4,0x12,0x54,0x12,0x44,0x12,0x44,0x12,0xCC, 0xCA,0xF3, 0x0C,0x08,0x71,0xFC,0x40,0x08,0x7C,0xF8,0x40,0x08,0x7F,0xF8,0x02,0x00,0x52,0x90,// 鼠 // 0x4A,0x50,0x42,0x10,0x52,0x90,0x4A,0x50,0x42,0x10,0x73,0x8A,0xC6,0x0A,0x00,0x06, 0xCA,0xFD, 0x08,0x40,0x49,0x40,0x2A,0x40,0x08,0x84,0xFF,0xFE,0x19,0x08,0x2C,0x88,0x4A,0x88,// 数 // 0x10,0x88,0xFE,0x90,0x22,0x50,0x22,0x20,0x14,0x50,0x18,0x88,0x25,0x0E,0x42,0x04, 0xCB,0xAB, 0x00,0x00,0x00,0x04,0xFD,0xFE,0x04,0x84,0x44,0x84,0x44,0x84,0x28,0x88,0x28,0x48,// 双 // 0x10,0x48,0x10,0x50,0x28,0x20,0x28,0x30,0x44,0x50,0x44,0x88,0x81,0x0E,0x06,0x04, 0xCB,0xC9, 0x10,0x10,0x10,0x90,0x10,0x90,0x10,0x90,0xFD,0x08,0x11,0x08,0x39,0x04,0x36,0x42,// 松 // 0x54,0x40,0x50,0x40,0x90,0x80,0x10,0x88,0x11,0x04,0x13,0xFC,0x10,0x04,0x10,0x00, 0xCB,0xD1, 0x10,0x24,0x10,0xAE,0x11,0x24,0x11,0x24,0xFD,0xAC,0x11,0x24,0x15,0x24,0x19,0xFC,// 搜 // 0x30,0x20,0xD3,0xFC,0x10,0x88,0x10,0x50,0x10,0x20,0x10,0x50,0x50,0x8E,0x23,0x04, 0xCB,0xD9, 0x00,0x40,0x40,0x44,0x37,0xFE,0x10,0x40,0x07,0xFC,0x04,0x44,0xF4,0x44,0x17,0xFC,// 速 // 0x14,0x44,0x10,0xE0,0x11,0x58,0x12,0x48,0x14,0x40,0x28,0x46,0x47,0xFC,0x00,0x00, 0xCC,0xA8, 0x02,0x00,0x02,0x00,0x04,0x00,0x08,0x20,0x10,0x10,0x20,0x08,0x7F,0xFC,0x00,0x04,// 台 // 0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10, 0xCC,0xAB, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,// 太 // 0x02,0x80,0x02,0x80,0x04,0x40,0x06,0x40,0x09,0x30,0x31,0x0E,0xC0,0x04,0x00,0x00, 0xCC,0xAC, 0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x02,0x80,0x04,0x40,0x0A,0x30,0x31,0x0E,// 态 // 0xC0,0x04,0x02,0x00,0x29,0x10,0x29,0x08,0x28,0x24,0x48,0x24,0x07,0xE0,0x00,0x00, 0xCC,0xD8, 0x10,0x40,0x10,0x40,0x50,0x48,0x53,0xFC,0x7C,0x40,0x90,0x44,0x17,0xFE,0x18,0x10,// 特 // 0x30,0x14,0xD7,0xFE,0x11,0x10,0x10,0x90,0x10,0x90,0x10,0x10,0x10,0x50,0x10,0x20, 0xCC,0xEC, 0x00,0x08,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,// 天 // 0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x0E,0xC0,0x04, 0xCC,0xFD, 0x00,0x10,0x08,0x38,0x7D,0xC0,0x49,0x00,0x49,0x00,0x49,0x04,0x49,0xFE,0x49,0x10,// 听 // 0x49,0x10,0x49,0x10,0x49,0x10,0x4A,0x10,0x7A,0x10,0x44,0x10,0x08,0x10,0x00,0x10, 0xCD,0xA3, 0x10,0x80,0x10,0x48,0x17,0xFC,0x20,0x00,0x23,0xF8,0x62,0x08,0xA3,0xF8,0x20,0x00,// 停 // 0x2F,0xFE,0x28,0x02,0x33,0xF4,0x20,0x40,0x20,0x40,0x20,0x40,0x21,0x40,0x20,0x80, 0xCD,0xA8, 0x03,0xF8,0x40,0x10,0x30,0xA0,0x10,0x48,0x03,0xFC,0x02,0x48,0xF2,0x48,0x13,0xF8,// 通 // 0x12,0x48,0x12,0x48,0x13,0xF8,0x12,0x48,0x12,0x68,0x2A,0x50,0x44,0x06,0x03,0xFC, 0xCD,0xAC, 0x00,0x04,0x7F,0xFE,0x40,0x04,0x40,0x24,0x5F,0xF4,0x40,0x04,0x40,0x24,0x4F,0xF4,// 同 // 0x48,0x24,0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x40,0x14,0x40,0x08, 0xCD,0xB7, 0x00,0x80,0x00,0x80,0x08,0x80,0x06,0x80,0x22,0x80,0x18,0x80,0x08,0x80,0x00,0x84,// 头 // 0xFF,0xFE,0x00,0x80,0x01,0x00,0x01,0x60,0x02,0x10,0x04,0x08,0x18,0x0C,0x60,0x04, 0xCD,0xBC, 0x00,0x04,0x7F,0xFE,0x44,0x04,0x47,0xE4,0x4C,0x44,0x52,0x84,0x41,0x04,0x42,0x84,// 图 // 0x46,0x44,0x49,0x3C,0x70,0x94,0x46,0x04,0x41,0x04,0x40,0x84,0x7F,0xFC,0x40,0x04, 0xCD,0xD3, 0x00,0x40,0x7C,0x20,0x44,0x00,0x49,0xFE,0x49,0x02,0x52,0x04,0x48,0x80,0x48,0x88,// 陀 // 0x44,0x90,0x44,0xE0,0x44,0x80,0x68,0x80,0x50,0x82,0x40,0x82,0x40,0x7E,0x40,0x00, 0xCD,0xE2, 0x08,0x40,0x08,0x40,0x08,0x40,0x10,0x40,0x1F,0x40,0x21,0x60,0x21,0x50,0x62,0x48,// 外 // 0x92,0x46,0x0A,0x42,0x04,0x40,0x08,0x40,0x10,0x40,0x20,0x40,0x40,0x40,0x00,0x40, 0xCD,0xF8, 0x00,0x04,0x7F,0xFE,0x40,0x04,0x42,0x0C,0x62,0x8C,0x54,0x54,0x54,0x54,0x48,0x24,// 网 // 0x48,0x24,0x54,0x54,0x52,0x4C,0x62,0x8C,0x61,0x04,0x42,0x04,0x40,0x14,0x40,0x08, 0xCE,0xA7, 0x00,0x04,0x7F,0xFE,0x41,0x04,0x41,0x24,0x5F,0xF4,0x41,0x04,0x4F,0xE4,0x41,0x04,// 围 // 0x5F,0xF4,0x41,0x14,0x41,0x14,0x41,0x54,0x41,0x24,0x41,0x04,0x7F,0xFC,0x40,0x04, 0xCE,0xA8, 0x00,0x80,0x08,0xA0,0x7C,0x94,0x49,0xFE,0x49,0x10,0x4B,0x10,0x4D,0xFC,0x49,0x10,// 唯 // 0x49,0x10,0x49,0xFC,0x49,0x10,0x79,0x10,0x49,0x14,0x01,0xFE,0x01,0x00,0x01,0x00, 0xCE,0xAA, 0x00,0x80,0x10,0x80,0x0C,0x80,0x04,0x80,0x00,0x84,0xFF,0xFE,0x01,0x04,0x01,0x04,// 为 // 0x02,0x04,0x02,0x84,0x04,0x64,0x08,0x24,0x10,0x04,0x20,0x04,0x40,0x28,0x00,0x10, 0xCE,0xB3, 0x10,0x40,0x10,0x40,0x20,0x44,0x27,0xFE,0x48,0x40,0xF8,0x48,0x17,0xFC,0x20,0x40,// 纬 // 0x40,0x44,0xFF,0xFE,0x00,0x44,0x00,0x44,0x1C,0x54,0xE0,0x48,0x40,0x40,0x00,0x40, 0xCE,0xB4, 0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,// 未 // 0x03,0x80,0x05,0x40,0x09,0x20,0x11,0x10,0x21,0x0E,0x41,0x04,0x01,0x00,0x01,0x00, 0xCE,0xBB, 0x08,0x80,0x08,0x40,0x08,0x40,0x10,0x08,0x17,0xFC,0x30,0x00,0x52,0x08,0x92,0x08,// 位 // 0x11,0x10,0x11,0x10,0x10,0x90,0x10,0xA0,0x10,0x24,0x1F,0xFE,0x10,0x00,0x10,0x00, 0xCE,0xC2, 0x00,0x08,0x43,0xFC,0x32,0x08,0x12,0x08,0x83,0xF8,0x62,0x08,0x22,0x08,0x0B,0xF8,// 温 // 0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x20,0x00, 0xCE,0xC4, 0x02,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x10,0x10,0x08,0x10,0x08,0x20,0x04,0x20,// 文 // 0x04,0x40,0x02,0x80,0x01,0x00,0x02,0x80,0x04,0x60,0x08,0x10,0x30,0x0E,0xC0,0x04, 0xCE,0xDE, 0x00,0x20,0x3F,0xF0,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x08,0x7F,0xFC,0x02,0x80,// 无 // 0x02,0x80,0x04,0x80,0x04,0x80,0x08,0x80,0x08,0x82,0x10,0x82,0x20,0x7E,0x40,0x00, 0xCE,0xF1, 0x08,0x00,0x08,0x00,0x0F,0xF0,0x18,0x20,0x26,0xC0,0x41,0x00,0x06,0xC0,0x1A,0x30,// 务 // 0xE2,0x0E,0x1F,0xF4,0x02,0x10,0x02,0x10,0x04,0x10,0x04,0x10,0x08,0xA0,0x30,0x40, 0xCE,0xF7, 0x00,0x00,0x00,0x04,0xFF,0xFE,0x04,0x40,0x04,0x40,0x04,0x44,0x7F,0xFE,0x44,0x44,// 西 // 0x44,0x44,0x44,0x44,0x44,0x44,0x48,0x34,0x50,0x04,0x40,0x04,0x7F,0xFC,0x40,0x04, 0xCF,0xA2, 0x02,0x00,0x04,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,// 息 // 0x10,0x10,0x10,0x10,0x1F,0xF0,0x02,0x00,0x51,0x84,0x50,0x92,0x90,0x12,0x0F,0xF0, 0xCF,0xC2, 0x00,0x04,0xFF,0xFE,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x80,0x02,0x40,0x02,0x30,// 下 // 0x02,0x10,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00, 0xCF,0xC8, 0x01,0x00,0x11,0x00,0x11,0x10,0x1F,0xF8,0x11,0x00,0x21,0x00,0x01,0x04,0xFF,0xFE,// 先 // 0x04,0x80,0x04,0x80,0x04,0x80,0x08,0x80,0x08,0x82,0x10,0x82,0x20,0x7E,0x40,0x00, 0xCF,0xD0, 0x20,0x04,0x1B,0xFE,0x48,0x04,0x41,0x04,0x41,0x04,0x41,0x24,0x5F,0xF4,0x41,0x04,// 闲 // 0x43,0x84,0x45,0x44,0x49,0x34,0x51,0x14,0x41,0x04,0x41,0x04,0x40,0x14,0x40,0x08, 0xCF,0xD2, 0x00,0x80,0xF8,0x40,0x08,0x04,0x0F,0xFE,0x08,0x40,0x78,0x40,0x40,0x80,0x41,0x08,// 弦 // 0x41,0xF0,0x78,0x20,0x08,0x40,0x08,0x80,0x09,0x08,0x0B,0xFC,0x50,0x04,0x20,0x00, 0xCF,0xD4, 0x00,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,// 显 // 0x14,0x50,0x44,0x44,0x34,0x4C,0x14,0x50,0x04,0x40,0x04,0x44,0xFF,0xFE,0x00,0x00, 0xCF,0xD6, 0x00,0x08,0x09,0xFC,0xFD,0x08,0x11,0x28,0x11,0x28,0x11,0x28,0x11,0x28,0x7D,0x48,// 现 // 0x11,0x48,0x11,0x48,0x10,0x40,0x1C,0xA0,0xF0,0xA0,0x41,0x22,0x02,0x22,0x0C,0x1E, 0xCF,0xDF, 0x08,0x40,0x08,0x50,0x10,0x48,0x10,0x40,0x22,0x7C,0x7F,0xC0,0x08,0x44,0x10,0x7E,// 线 // 0x23,0xC0,0x7C,0x48,0x00,0x50,0x00,0x20,0x1C,0x60,0xE0,0x92,0x43,0x0A,0x00,0x06, 0xCF,0xE0, 0x10,0x04,0x11,0xFE,0x11,0x04,0x11,0x04,0xFD,0x04,0x11,0xFC,0x31,0x04,0x39,0x04,// 相 // 0x55,0x04,0x51,0xFC,0x91,0x04,0x11,0x04,0x11,0x04,0x11,0x04,0x11,0xFC,0x11,0x04, 0xCF,0xF1, 0x09,0x00,0x09,0xF0,0x0A,0x24,0x17,0xFE,0x1C,0x44,0x37,0xFC,0x50,0x80,0x91,0x44,// 像 // 0x16,0x68,0x10,0xB0,0x17,0x30,0x10,0x68,0x11,0xA6,0x16,0x20,0x10,0xA0,0x10,0x40, 0xCF,0xF2, 0x02,0x00,0x04,0x00,0x08,0x04,0x7F,0xFE,0x40,0x04,0x40,0x24,0x4F,0xF4,0x48,0x24,// 向 // 0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x40,0x04,0x40,0x14,0x40,0x08, 0xD0,0xA1, 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x40,0x05,0x20,0x09,0x10,// 小 // 0x09,0x08,0x11,0x04,0x21,0x04,0x41,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xD0,0xA3, 0x10,0x40,0x10,0x20,0x10,0x04,0x13,0xFE,0xFC,0x00,0x10,0x88,0x31,0x06,0x3A,0x8A,// 校 // 0x54,0x88,0x50,0x50,0x90,0x50,0x10,0x20,0x10,0x50,0x10,0x88,0x13,0x0E,0x1C,0x04, 0xD0,0xA7, 0x10,0x20,0x08,0x20,0x02,0x20,0xFF,0x24,0x24,0x7E,0x22,0x84,0x41,0x44,0xA4,0x44,// 效 // 0x14,0x48,0x08,0x28,0x14,0x28,0x24,0x10,0x22,0x28,0x42,0x28,0x80,0x46,0x01,0x84, 0xD0,0xAD, 0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x88,0xFB,0xFC,0x20,0x88,0x20,0x88,0x24,0x8C,// 协 // 0x24,0x8A,0x24,0x8A,0x29,0x08,0x21,0x08,0x21,0x08,0x22,0x08,0x24,0x28,0x20,0x10, 0xD0,0xB4, 0x00,0x00,0x7F,0xFE,0x40,0x02,0x88,0x04,0x08,0x20,0x0F,0xF0,0x08,0x00,0x08,0x08,// 写 // 0x0F,0xFC,0x00,0x08,0x00,0x48,0x7F,0xE8,0x00,0x08,0x00,0x08,0x00,0x50,0x00,0x20, 0xD0,0xBE, 0x08,0x20,0x08,0x24,0xFF,0xFE,0x08,0x20,0x08,0x20,0x00,0x00,0x02,0x00,0x01,0x00,// 芯 // 0x50,0x84,0x50,0x82,0x50,0x02,0x90,0x02,0x10,0x08,0x10,0x08,0x0F,0xF8,0x00,0x00, 0xD0,0xC5, 0x08,0x80,0x08,0x44,0x0F,0xFE,0x10,0x00,0x10,0x08,0x37,0xFC,0x50,0x00,0x90,0x08,// 信 // 0x17,0xFC,0x10,0x00,0x13,0xF8,0x12,0x08,0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08, 0xD0,0xCD, 0x01,0x04,0x7F,0x84,0x12,0x24,0x12,0x24,0x12,0x24,0xFF,0xA4,0x12,0x24,0x12,0x24,// 型 // 0x12,0x04,0x23,0x14,0x41,0x08,0x7F,0xFC,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xD0,0xDD, 0x08,0x40,0x08,0x40,0x08,0x40,0x10,0x44,0x17,0xFE,0x30,0x40,0x50,0xE0,0x90,0xE0,// 休 // 0x11,0x50,0x11,0x50,0x12,0x48,0x14,0x46,0x18,0x44,0x10,0x40,0x10,0x40,0x10,0x40, 0xD0,0xDE, 0x11,0x00,0x11,0x00,0x11,0xF8,0x21,0x10,0x2A,0xA0,0x6C,0x40,0xA9,0xB0,0x2E,0x2E,// 修 // 0x28,0xC0,0x2B,0x10,0x28,0x60,0x28,0x88,0x23,0x10,0x20,0x60,0x21,0x80,0x26,0x00, 0xD0,0xF2, 0x01,0x00,0x00,0x88,0x3F,0xFC,0x20,0x00,0x2F,0xF8,0x20,0x20,0x21,0x40,0x20,0x80,// 序 // 0x2F,0xFC,0x20,0x88,0x20,0x90,0x20,0x80,0x40,0x80,0x40,0x80,0x82,0x80,0x01,0x00, 0xD1,0xA1, 0x00,0x40,0x42,0x40,0x32,0x48,0x13,0xFC,0x02,0x40,0x04,0x44,0xF7,0xFE,0x10,0xA0,// 选 // 0x10,0xA0,0x10,0xA0,0x11,0x22,0x11,0x22,0x12,0x1E,0x2C,0x00,0x44,0x06,0x03,0xFC, 0xD1,0xB0, 0x00,0x10,0x3F,0xF8,0x00,0x10,0x00,0x10,0x1F,0xF0,0x00,0x10,0x00,0x10,0x3F,0xF0,// 寻 // 0x00,0x20,0x00,0x24,0xFF,0xFE,0x08,0x20,0x04,0x20,0x04,0x20,0x00,0xA0,0x00,0x40, 0xD1,0xB9, 0x00,0x08,0x3F,0xFC,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x80,0x20,0x88,0x2F,0xFC,// 压 // 0x20,0x80,0x20,0xA0,0x20,0x98,0x20,0x88,0x40,0x80,0x40,0x84,0x9F,0xFE,0x00,0x00, 0xD1,0xCC, 0x20,0x04,0x27,0xFE,0x24,0x04,0x24,0x44,0x2C,0x44,0xB4,0x44,0xA7,0xFC,0xA4,0x44,// 烟 // 0x24,0x44,0x24,0xA4,0x24,0x94,0x25,0x0C,0x56,0x0C,0x4C,0x04,0x87,0xFC,0x04,0x04, 0xD1,0xDA, 0x10,0x40,0x10,0x40,0x10,0x48,0x13,0xFC,0xFC,0xA0,0x11,0x50,0x13,0xF8,0x1E,0x4E,// 掩 // 0x32,0x48,0xD3,0xF8,0x12,0x48,0x12,0x48,0x13,0xF8,0x10,0x42,0x50,0x42,0x20,0x3E, 0xD1,0xEF, 0x10,0x00,0x13,0xF8,0x10,0x10,0x10,0x20,0xFC,0x40,0x10,0x84,0x17,0xFE,0x18,0xA4,// 扬 // 0x30,0xA4,0xD0,0xA4,0x11,0x24,0x11,0x44,0x12,0x44,0x14,0x84,0x51,0x28,0x20,0x10, 0xD1,0xF9, 0x12,0x08,0x11,0x10,0x10,0xA0,0x17,0xFC,0xFC,0x40,0x10,0x50,0x3B,0xF8,0x34,0x40,// 样 // 0x50,0x40,0x50,0x44,0x9F,0xFE,0x10,0x40,0x10,0x40,0x10,0x40,0x10,0x40,0x10,0x40, 0xD2,0xA1, 0x10,0x08,0x10,0x3C,0x17,0xC0,0x12,0x48,0xFD,0x48,0x11,0x50,0x16,0x00,0x1B,0xFC,// 摇 // 0x34,0x40,0xD0,0x44,0x1F,0xFE,0x10,0x40,0x12,0x48,0x12,0x48,0x53,0xF8,0x22,0x08, 0xD2,0xA3, 0x00,0x38,0x47,0xC0,0x32,0x48,0x11,0x50,0x02,0x40,0x03,0xF8,0xF4,0x40,0x10,0x44,// 遥 // 0x1F,0xFE,0x10,0x40,0x12,0x48,0x13,0xF8,0x12,0x08,0x28,0x06,0x47,0xFC,0x00,0x00, 0xD2,0xB3, 0x00,0x04,0xFF,0xFE,0x02,0x00,0x04,0x10,0x1F,0xF8,0x10,0x10,0x11,0x10,0x11,0x10,// 页 // 0x11,0x10,0x11,0x10,0x11,0x10,0x11,0x10,0x12,0x90,0x04,0x60,0x08,0x18,0x30,0x08, 0xD2,0xC7, 0x08,0x00,0x08,0x80,0x08,0x64,0x12,0x24,0x12,0x04,0x32,0x08,0x51,0x08,0x91,0x10,// 仪 // 0x10,0x90,0x10,0xA0,0x10,0x40,0x10,0xA0,0x11,0x10,0x12,0x08,0x14,0x0E,0x18,0x04, 0xD2,0xD1, 0x00,0x10,0x7F,0xF8,0x00,0x10,0x00,0x10,0x20,0x10,0x20,0x10,0x3F,0xF0,0x20,0x10,// 已 // 0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x04,0x20,0x04,0x20,0x04,0x1F,0xFC,0x00,0x00, 0xD2,0xD4, 0x00,0x00,0x04,0x08,0x42,0x08,0x43,0x08,0x41,0x08,0x40,0x08,0x40,0x08,0x40,0x08,// 以 // 0x41,0x10,0x42,0x10,0x44,0x10,0x48,0x20,0x50,0x30,0x60,0x48,0x01,0x84,0x06,0x04, 0xD2,0xE6, 0x08,0x20,0x04,0x40,0x00,0x08,0x7F,0xFC,0x00,0x00,0x04,0x40,0x08,0x30,0x10,0x10,// 益 // 0x00,0x00,0x3F,0xF8,0x24,0x48,0x24,0x48,0x24,0x48,0x24,0x48,0xFF,0xFE,0x00,0x00, 0xD2,0xE9, 0x00,0x00,0x40,0x80,0x30,0x44,0x12,0x44,0x02,0x04,0x02,0x08,0xF1,0x08,0x11,0x10,// 议 // 0x10,0x90,0x10,0xA0,0x10,0x40,0x14,0xA0,0x19,0x10,0x12,0x08,0x04,0x0E,0x08,0x04, 0xD2,0xF4, 0x02,0x00,0x01,0x10,0x3F,0xF8,0x08,0x20,0x04,0x20,0x04,0x44,0xFF,0xFE,0x00,0x10,// 音 // 0x1F,0xF8,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10, 0xD2,0xFD, 0x01,0x08,0x7F,0x88,0x01,0x08,0x01,0x08,0x01,0x08,0x3F,0x08,0x20,0x08,0x20,0x08,// 引 // 0x41,0x08,0x7F,0x88,0x01,0x08,0x01,0x08,0x01,0x08,0x11,0x08,0x0A,0x08,0x04,0x08, 0xD3,0xA6, 0x01,0x00,0x00,0x84,0x3F,0xFE,0x20,0x00,0x21,0x04,0x28,0x84,0x24,0x84,0x24,0x48,// 应 // 0x22,0x48,0x22,0x48,0x22,0x10,0x22,0x10,0x40,0x20,0x40,0x44,0x9F,0xFE,0x00,0x00, 0xD3,0xAA, 0x04,0x40,0x04,0x48,0x7F,0xFC,0x04,0x40,0x7F,0xFE,0x40,0x02,0x8F,0xE4,0x08,0x20,// 营 // 0x08,0x20,0x0F,0xE0,0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10, 0xD3,0xB0, 0x00,0x84,0x3F,0xC4,0x20,0x88,0x3F,0x90,0x20,0xA0,0x3F,0x84,0x04,0x04,0xFF,0xE8,// 影 // 0x00,0x10,0x3F,0xA2,0x20,0x82,0x3F,0x84,0x15,0x08,0x24,0x90,0x54,0xA0,0x08,0x40, 0xD3,0xB2, 0x04,0x04,0xFF,0xFE,0x10,0x20,0x10,0x24,0x21,0xFE,0x25,0x24,0x7F,0x24,0xA5,0xFC,// 硬 // 0x25,0x24,0x25,0x24,0x25,0xFC,0x24,0x20,0x3D,0xA0,0x24,0x60,0x00,0x9E,0x03,0x04, 0xD3,0xC3, 0x00,0x08,0x3F,0xFC,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,// 用 // 0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,0x21,0x08,0x41,0x08,0x41,0x28,0x80,0x10, 0xD3,0xCE, 0x02,0x10,0x41,0x14,0x20,0x1E,0x2F,0xE0,0x82,0x40,0x62,0x3E,0x23,0x84,0x02,0x88,// 游 // 0x12,0x88,0x22,0xFE,0xE2,0x88,0x24,0x88,0x24,0x88,0x28,0x88,0x31,0xA8,0x20,0x10, 0xD3,0xD0, 0x02,0x00,0x02,0x04,0xFF,0xFE,0x04,0x00,0x04,0x10,0x0F,0xF8,0x08,0x10,0x18,0x10,// 有 // 0x2F,0xF0,0x48,0x10,0x88,0x10,0x0F,0xF0,0x08,0x10,0x08,0x10,0x08,0x50,0x08,0x20, 0xD3,0xD2, 0x02,0x00,0x02,0x00,0x02,0x04,0xFF,0xFE,0x04,0x00,0x04,0x00,0x08,0x00,0x08,0x08,// 右 // 0x1F,0xFC,0x28,0x08,0x48,0x08,0x88,0x08,0x08,0x08,0x08,0x08,0x0F,0xF8,0x08,0x08, 0xD4,0xA4, 0x00,0x04,0x7D,0xFE,0x04,0x20,0x08,0x44,0x29,0xFE,0x11,0x04,0xFF,0x24,0x15,0x24,// 预 // 0x11,0x24,0x11,0x24,0x11,0x24,0x11,0x24,0x11,0x24,0x10,0x58,0x50,0x84,0x23,0x02, 0xD4,0xB6, 0x00,0x10,0x43,0xF8,0x30,0x00,0x10,0x00,0x00,0x08,0x07,0xFC,0xF1,0x20,0x11,0x20,// 远 // 0x11,0x20,0x11,0x24,0x12,0x24,0x12,0x1C,0x14,0x00,0x28,0x06,0x47,0xFC,0x00,0x00, 0xD4,0xC2, 0x00,0x10,0x0F,0xF8,0x08,0x10,0x08,0x10,0x08,0x10,0x0F,0xF0,0x08,0x10,0x08,0x10,// 月 // 0x08,0x10,0x0F,0xF0,0x08,0x10,0x08,0x10,0x10,0x10,0x10,0x10,0x20,0x50,0x40,0x20, 0xD4,0xCB, 0x00,0x10,0x43,0xF8,0x30,0x00,0x10,0x00,0x00,0x08,0x07,0xFC,0xF0,0x80,0x10,0x80,// 运 // 0x11,0x00,0x11,0x20,0x12,0x10,0x17,0xF8,0x10,0x08,0x28,0x06,0x47,0xFC,0x00,0x00, 0xD4,0xDA, 0x02,0x00,0x02,0x00,0x02,0x04,0xFF,0xFE,0x04,0x00,0x04,0x40,0x08,0x40,0x08,0x50,// 在 // 0x13,0xF8,0x30,0x40,0x50,0x40,0x90,0x40,0x10,0x40,0x10,0x44,0x17,0xFE,0x10,0x00, 0xD4,0xEB, 0x03,0xF8,0x12,0x08,0x7A,0x08,0x53,0xF8,0x50,0x00,0x57,0xBC,0x54,0xA4,0x54,0xA4,// 噪 // 0x57,0xBC,0x50,0x40,0x5F,0xFE,0x70,0xE0,0x51,0x50,0x02,0x4E,0x04,0x44,0x00,0x40, 0xD4,0xF1, 0x10,0x00,0x13,0xF8,0x11,0x10,0x10,0xA0,0xFC,0x40,0x10,0xA0,0x15,0x10,0x1A,0x4E,// 择 // 0x35,0xF4,0xD0,0x40,0x10,0x48,0x17,0xFC,0x10,0x40,0x10,0x40,0x50,0x40,0x20,0x40, 0xD4,0xF6, 0x22,0x08,0x21,0x10,0x20,0xA0,0x20,0x04,0x27,0xFE,0xFC,0x44,0x25,0x54,0x24,0x44,// 增 // 0x27,0xFC,0x20,0x08,0x3B,0xFC,0xE2,0x08,0x43,0xF8,0x02,0x08,0x03,0xF8,0x02,0x08, 0xD5,0xD2, 0x10,0x80,0x10,0xA0,0x10,0x90,0x10,0x84,0xFC,0x9E,0x13,0xE0,0x10,0x80,0x1C,0x88,// 找 // 0x30,0x50,0xD0,0x60,0x10,0x40,0x10,0xC0,0x11,0x20,0x12,0x12,0x54,0x0A,0x20,0x06, 0xD5,0xD5, 0x00,0x04,0x7D,0xFE,0x44,0x44,0x44,0x44,0x44,0x84,0x44,0x94,0x7D,0x08,0x44,0xFC,// 照 // 0x44,0x84,0x44,0x84,0x44,0x84,0x7C,0xFC,0x00,0x00,0x24,0x88,0x62,0x46,0x82,0x42, 0xD5,0xFD, 0x00,0x08,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x11,0x10,0x11,0xF8,// 正 // 0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x04,0xFF,0xFE,0x00,0x00, 0xD6,0xA7, 0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x3F,0xF0,0x08,0x20,// 支 // 0x08,0x20,0x04,0x40,0x02,0x80,0x01,0x00,0x02,0x80,0x0C,0x60,0x30,0x1E,0xC0,0x04, 0xD6,0xB5, 0x08,0x40,0x08,0x48,0x0F,0xFC,0x10,0x40,0x10,0x48,0x33,0xFC,0x52,0x08,0x93,0xF8,// 值 // 0x12,0x08,0x13,0xF8,0x12,0x08,0x13,0xF8,0x12,0x08,0x12,0x08,0x1F,0xFE,0x10,0x00, 0xD6,0xB7, 0x10,0x20,0x10,0x20,0x10,0x20,0x15,0x20,0xFF,0x24,0x11,0x3E,0x11,0x20,0x11,0x20,// 址 // 0x11,0x20,0x11,0x20,0x11,0x20,0x13,0x20,0x1D,0x20,0xF1,0x24,0x47,0xFE,0x00,0x00, 0xD6,0xB8, 0x11,0x00,0x11,0x08,0x11,0x1C,0x11,0xE0,0xFD,0x02,0x11,0x02,0x14,0xFE,0x18,0x04,// 指 // 0x31,0xFE,0xD1,0x04,0x11,0x04,0x11,0xFC,0x11,0x04,0x11,0x04,0x51,0xFC,0x21,0x04, 0xD6,0xB9, 0x01,0x00,0x01,0x00,0x01,0x00,0x11,0x00,0x11,0x00,0x11,0x10,0x11,0xF8,0x11,0x00,// 止 // 0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x04,0xFF,0xFE,0x00,0x00, 0xD6,0xC3, 0x3F,0xF8,0x24,0x48,0x3F,0xF8,0x01,0x00,0x7F,0xFC,0x01,0x00,0x1F,0xF0,0x10,0x10,// 置 // 0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x14,0xFF,0xFE,0x00,0x00, 0xD6,0xC6, 0x04,0x04,0x24,0x04,0x25,0x04,0x3F,0xA4,0x24,0x24,0x44,0xA4,0xFF,0xE4,0x04,0x24,// 制 // 0x3F,0xA4,0x24,0xA4,0x24,0xA4,0x24,0x84,0x26,0x84,0x25,0x04,0x04,0x14,0x04,0x08, 0xD6,0xCA, 0x00,0x78,0x3F,0x80,0x20,0x80,0x20,0x84,0x3F,0xFE,0x20,0x80,0x20,0x88,0x2F,0xFC,// 质 // 0x28,0x08,0x28,0x88,0x28,0x88,0x28,0x88,0x49,0x08,0x42,0x70,0x8C,0x0C,0x30,0x04, 0xD6,0xD0, 0x01,0x00,0x01,0x00,0x01,0x04,0x7F,0xFE,0x41,0x04,0x41,0x04,0x41,0x04,0x41,0x04,// 中 // 0x7F,0xFC,0x41,0x04,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xD6,0xD5, 0x10,0x80,0x10,0x80,0x20,0xFC,0x21,0x08,0x45,0x90,0xFA,0x50,0x10,0x20,0x20,0x50,// 终 // 0x40,0x88,0xFD,0x0E,0x02,0x64,0x00,0x10,0x1C,0x08,0xE0,0xC0,0x40,0x30,0x00,0x08, 0xD6,0xD8, 0x00,0x38,0x3F,0xC0,0x01,0x04,0xFF,0xFE,0x01,0x10,0x1F,0xF8,0x11,0x10,0x1F,0xF0,// 重 // 0x11,0x10,0x1F,0xF0,0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xD6,0xDD, 0x10,0x04,0x10,0x84,0x10,0x84,0x10,0x84,0x54,0xA4,0x52,0x94,0x52,0x94,0x90,0x84,// 州 // 0x10,0x84,0x10,0x84,0x10,0x84,0x10,0x84,0x20,0x84,0x20,0x84,0x40,0x04,0x00,0x04, 0xD7,0xA2, 0x00,0x80,0x40,0x40,0x30,0x44,0x17,0xFE,0x80,0x40,0x60,0x40,0x20,0x40,0x08,0x48,// 注 // 0x17,0xFC,0x20,0x40,0xE0,0x40,0x20,0x40,0x20,0x40,0x20,0x44,0x2F,0xFE,0x20,0x00, 0xD7,0xB0, 0x08,0x40,0x48,0x48,0x2B,0xFC,0x08,0x40,0x18,0x50,0x29,0xF8,0x4A,0x00,0x09,0x04,// 装 // 0xFF,0xFE,0x02,0x08,0x04,0x90,0x0C,0xA0,0x14,0x40,0x65,0x30,0x06,0x0E,0x04,0x04, 0xD7,0xB4, 0x08,0x40,0x08,0x50,0x08,0x48,0x48,0x40,0x28,0x44,0x2F,0xFE,0x08,0x40,0x08,0x40,// 状 // 0x18,0xA0,0x28,0xA0,0x49,0x10,0xC9,0x10,0x09,0x08,0x0A,0x0E,0x0C,0x04,0x08,0x00, 0xD7,0xBC, 0x01,0x40,0x41,0x20,0x31,0x24,0x13,0xFE,0x02,0x20,0x16,0x28,0x1B,0xFC,0x12,0x20,// 准 // 0x22,0x28,0xE3,0xFC,0x22,0x20,0x22,0x20,0x22,0x24,0x23,0xFE,0x22,0x00,0x02,0x00, 0xD7,0xD3, 0x00,0x00,0x3F,0xF0,0x00,0x10,0x00,0x20,0x00,0x40,0x01,0x80,0x01,0x04,0xFF,0xFE,// 子 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xD7,0xD6, 0x02,0x00,0x01,0x00,0x3F,0xFC,0x20,0x04,0x40,0x08,0x1F,0xE0,0x00,0x40,0x00,0x80,// 字 // 0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xD7,0xEE, 0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x00,0x04,0xFF,0xFE,0x22,0x00,// 最 // 0x3F,0xFC,0x22,0x84,0x3E,0x88,0x22,0x50,0x3E,0x20,0xE2,0x58,0x02,0x8E,0x03,0x04, 0xD7,0xF3, 0x02,0x00,0x02,0x00,0x02,0x08,0xFF,0xFC,0x04,0x00,0x04,0x00,0x04,0x00,0x08,0x10,// 左 // 0x0F,0xF8,0x10,0x80,0x10,0x80,0x20,0x80,0x40,0x80,0x80,0x84,0x7F,0xFE,0x00,0x00, 0xD7,0xF7, 0x09,0x00,0x09,0x00,0x09,0x04,0x11,0xFE,0x12,0x80,0x32,0x80,0x54,0x90,0x98,0xF8,// 作 // 0x10,0x80,0x10,0x80,0x10,0x88,0x10,0xFC,0x10,0x80,0x10,0x80,0x10,0x80,0x10,0x80, 0xD7,0xF8, 0x01,0x00,0x01,0x00,0x11,0x10,0x11,0x10,0x11,0x10,0x29,0x28,0x25,0x24,0x45,0x44,// 坐 // 0x81,0x80,0x01,0x10,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xD7,0xF9, 0x01,0x00,0x00,0x84,0x3F,0xFE,0x20,0x80,0x24,0x90,0x24,0x90,0x24,0x90,0x2A,0xA8,// 座 // 0x29,0xA4,0x31,0xC4,0x20,0x90,0x2F,0xF8,0x40,0x80,0x40,0x84,0xBF,0xFE,0x00,0x00, 0xB9,0xDC, 0x10,0x40,0x1F,0x7C,0x28,0x90,0x45,0x08,0x01,0x00,0x7F,0xFE,0x40,0x02,0x9F,0xF4,// 管 // 0x10,0x10,0x1F,0xF0,0x10,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x00, 0xBE,0xC9, 0x00,0x00,0x20,0x04,0x23,0xFE,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,// 旧 // 0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,0x22,0x04,0x20,0x00, 0xCE,0xA2, 0x12,0x10,0x12,0x10,0x2A,0x90,0x4A,0xA4,0x8A,0xBE,0x1F,0xC4,0x20,0x24,0x7F,0xA8,// 微 // 0xA0,0x28,0x2F,0x28,0x29,0x10,0x29,0x50,0x29,0xA8,0x29,0x28,0x30,0x46,0x20,0x84, 0xCA,0xAA, 0x00,0x08,0x47,0xFC,0x34,0x08,0x14,0x08,0x87,0xF8,0x64,0x08,0x24,0x08,0x0F,0xF8,// 湿 // 0x11,0x20,0x21,0x20,0xE9,0x24,0x25,0x28,0x23,0x30,0x21,0x24,0x3F,0xFE,0x20,0x00, 0xC8,0xB7, 0x00,0x40,0x04,0x40,0xFE,0x78,0x10,0x90,0x11,0x24,0x23,0xFE,0x25,0x24,0x7D,0x24,// ? // 0xA5,0xFC,0x25,0x24,0x25,0x24,0x25,0xFC,0x25,0x24,0x3D,0x24,0x22,0x24,0x04,0x0C, 0xC9,0xBE, 0x00,0x44,0x7B,0xE4,0x4A,0x44,0x4A,0x54,0x4A,0x54,0x4A,0x54,0x4A,0x54,0xFF,0xF4,// ? // 0x4A,0x54,0x4A,0x54,0x4A,0x54,0x4A,0x54,0x4A,0x44,0x5A,0x44,0x42,0x54,0x84,0xC8, 0xCD,0xCB, 0x03,0xF8,0x42,0x08,0x32,0x08,0x13,0xF8,0x02,0x08,0x02,0x08,0xF3,0xFC,0x12,0x08,// ? // 0x12,0xD0,0x12,0x20,0x12,0x90,0x13,0x0C,0x12,0x04,0x28,0x00,0x44,0x06,0x03,0xFC, 0xA1,0xBE, 0x00,0x00,0x00,0x00,0x07,0xF0,0x07,0xE0,0x07,0xC0,0x07,0x80,0x07,0x80,0x07,0x00,// 【 // 0x07,0x00,0x07,0x80,0x07,0x80,0x07,0xC0,0x07,0xE0,0x07,0xF0,0x00,0x00,0x00,0x00, 0xA1,0xBF, 0x00,0x00,0x00,0x00,0x07,0xF0,0x03,0xF0,0x01,0xF0,0x00,0xF0,0x00,0xF0,0x00,0x70,// 】 // 0x00,0x70,0x00,0xF0,0x00,0xF0,0x01,0xF0,0x03,0xF0,0x07,0xF0,0x00,0x00,0x00,0x00, 0xB2,0xE9, 0x01,0x00,0x01,0x04,0xFF,0xFE,0x05,0x40,0x09,0x20,0x11,0x10,0x3F,0xFE,0xD0,0x14,// 查 // 0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x04,0xFF,0xFE,0x00,0x00, 0xB4,0xB4, 0x08,0x04,0x08,0x04,0x14,0x04,0x12,0x24,0x21,0xA4,0x20,0xA4,0x7E,0x24,0xA2,0x24,// 创 // 0x22,0x24,0x2A,0x24,0x24,0x24,0x20,0x04,0x21,0x04,0x21,0x04,0x1F,0x14,0x00,0x08, 0xBD,0xA8, 0x00,0x40,0x00,0x48,0xFB,0xFC,0x08,0x48,0x17,0xFE,0x10,0x48,0x3B,0xF8,0x08,0x40,// 建 // 0x8B,0xF8,0x50,0x40,0x50,0x48,0x37,0xFC,0x20,0x40,0x50,0x40,0x88,0x46,0x07,0xFC, 0xBE,0xD9, 0x22,0x08,0x19,0x18,0x09,0x20,0x00,0x44,0xFF,0xFE,0x04,0x40,0x09,0x20,0x11,0x10,// 举 // 0x2F,0xEE,0xC1,0x04,0x01,0x10,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xBF,0xB4, 0x00,0x70,0x7F,0x80,0x02,0x10,0x7F,0xF8,0x04,0x00,0xFF,0xFE,0x08,0x10,0x1F,0xF8,// 看 // 0x30,0x10,0x5F,0xF0,0x90,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10, 0xBF,0xE2, 0x01,0x00,0x00,0x88,0x3F,0xFC,0x21,0x00,0x21,0x08,0x3F,0xFC,0x22,0x00,0x24,0x80,// 库 // 0x28,0x90,0x2F,0xF8,0x20,0x80,0x20,0x84,0x3F,0xFE,0x40,0x80,0x40,0x80,0x80,0x80, 0xC3,0xDC, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x42,0x02,0x89,0x24,0x28,0xC8,0x4B,0x04,0x0C,0x10,// 密 // 0x77,0xF0,0x01,0x00,0x21,0x08,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x20,0x08, 0xD7,0xD6, 0x02,0x00,0x01,0x00,0x3F,0xFC,0x20,0x04,0x40,0x08,0x1F,0xE0,0x00,0x40,0x00,0x80,// 字 // 0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xB8,0xF8, 0x10,0x40,0x10,0x40,0x20,0xA0,0x20,0xA0,0x49,0x10,0xFA,0x0E,0x14,0x04,0x23,0xF8,// 给 // 0x40,0x00,0xF8,0x08,0x43,0xFC,0x02,0x08,0x1A,0x08,0xE2,0x08,0x43,0xF8,0x02,0x08, 0xBE,0xC9, 0x00,0x00,0x20,0x04,0x23,0xFE,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,// 旧 // 0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x22,0x04,0x23,0xFC,0x22,0x04,0x20,0x00, 0xD0,0xC2, 0x10,0x08,0x0A,0x1C,0x7F,0x60,0x00,0x40,0x22,0x40,0x14,0x44,0xFF,0xFE,0x0A,0x48,// 新 // 0x7F,0x48,0x08,0x48,0x0A,0x48,0x29,0x88,0x48,0x88,0x89,0x08,0x28,0x08,0x10,0x08, 0xB2,0xCC, 0x04,0x40,0x04,0x44,0xFF,0xFE,0x14,0x40,0x16,0xF8,0x12,0x90,0x2C,0x60,0x68,0x20,// 蔡 // 0x17,0xD0,0x20,0x0E,0x5F,0xF4,0x81,0x00,0x09,0x20,0x19,0x18,0x21,0x08,0x03,0x00, 0xB3,0xC2, 0x00,0x40,0x78,0x40,0x48,0x44,0x57,0xFE,0x50,0x80,0x60,0xA0,0x51,0x20,0x4A,0x28,// 陈 // 0x4B,0xFC,0x48,0x20,0x69,0x28,0x51,0x24,0x42,0x26,0x44,0x22,0x40,0xA0,0x40,0x40, 0xB5,0xC4, 0x10,0x40,0x10,0x40,0x22,0x44,0x7F,0x7E,0x42,0x84,0x43,0x04,0x42,0x04,0x42,0x84,// 的 // 0x7E,0x64,0x42,0x24,0x42,0x04,0x42,0x04,0x42,0x04,0x7E,0x04,0x42,0x28,0x00,0x10, 0xB8,0xE8, 0x02,0x20,0xFF,0x20,0x02,0x20,0x7A,0x40,0x4A,0x7C,0x4A,0x84,0x7B,0x28,0x02,0x20,// 歌 // 0xFF,0x20,0x02,0x20,0x7A,0x20,0x4A,0x20,0x4A,0x50,0x7A,0x50,0x4A,0x8E,0x05,0x04, 0xBB,0xDB, 0x08,0x20,0x7E,0xFC,0x08,0x20,0x3E,0xF8,0x08,0x20,0x7E,0xFC,0x08,0x20,0x3F,0xF8,// 慧 // 0x00,0x08,0xFF,0xFE,0x00,0x08,0x3F,0xF8,0x09,0x00,0x28,0xA8,0x48,0x24,0x07,0xE0, 0xBC,0xFE, 0x10,0x40,0x10,0x40,0x12,0x40,0x22,0x48,0x23,0xFC,0x64,0x40,0xA4,0x40,0x28,0x40,// 件 // 0x20,0x44,0x3F,0xFE,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,0x40, 0xC4,0xE3, 0x11,0x00,0x11,0x00,0x11,0x00,0x23,0xFC,0x22,0x04,0x64,0x08,0xA8,0x40,0x20,0x40,// 你 // 0x21,0x50,0x21,0x48,0x22,0x4C,0x24,0x44,0x20,0x40,0x20,0x40,0x21,0x40,0x20,0x80, 0xC7,0xA1, 0x10,0x40,0x10,0x40,0x10,0xA0,0x10,0xA0,0x59,0x10,0x56,0x0E,0x54,0x04,0x9B,0xF8,// 恰 // 0x10,0x00,0x10,0x08,0x13,0xFC,0x12,0x08,0x12,0x08,0x12,0x08,0x13,0xF8,0x12,0x08, 0xC7,0xA7, 0x00,0x20,0x00,0xF0,0x3F,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,// 千 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00, 0xC7,0xD9, 0x04,0x08,0x7E,0xFC,0x08,0x20,0x3E,0xF8,0x08,0x20,0x7E,0xFC,0x01,0x00,0x02,0x80,// 琴 // 0x0C,0x60,0x32,0x1E,0xC1,0x04,0x0F,0xE0,0x00,0x20,0x00,0x40,0x00,0x80,0x01,0x00, 0xC8,0xE1, 0x00,0x00,0x1F,0xE0,0x02,0x40,0x01,0x80,0x7F,0xFC,0x02,0x88,0x04,0x90,0x19,0x80,// 柔 // 0x01,0x04,0xFF,0xFE,0x03,0x80,0x05,0x40,0x09,0x20,0x11,0x1C,0x61,0x08,0x01,0x00, 0xCB,0xC6, 0x10,0x00,0x11,0x08,0x10,0x88,0x20,0x48,0x24,0x48,0x64,0x08,0xA4,0x08,0x24,0x08,// 似 // 0x24,0x08,0x24,0x10,0x24,0x90,0x25,0x20,0x26,0x28,0x24,0x46,0x20,0x82,0x21,0x00, 0xCE,0xC2, 0x00,0x08,0x43,0xFC,0x32,0x08,0x12,0x08,0x83,0xF8,0x62,0x08,0x22,0x08,0x0B,0xF8,// 温 // 0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x20,0x00, 0xCE,0xC4, 0x02,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x10,0x10,0x08,0x10,0x08,0x20,0x04,0x20,// 文 // 0x04,0x40,0x02,0x80,0x01,0x00,0x02,0x80,0x04,0x60,0x08,0x10,0x30,0x0E,0xC0,0x04, 0xE3,0xDA, 0x20,0x04,0x17,0xFE,0x40,0x04,0x51,0x44,0x4A,0x44,0x7F,0xFC,0x44,0x94,0x55,0x44,// 阙 // 0x55,0x44,0x5F,0x44,0x54,0x44,0x44,0xA4,0x48,0xA4,0x51,0x14,0x40,0x14,0x40,0x08, 0xE6,0xB5, 0x11,0x04,0x10,0xBE,0x10,0x84,0x11,0x24,0xFD,0x24,0x25,0x24,0x25,0xFC,0x25,0x24,// 娴 // 0x25,0x74,0x45,0x6C,0x29,0xAC,0x11,0x24,0x29,0x24,0x45,0x04,0x85,0x14,0x01,0x08, 0xB4,0xED, 0x10,0x90,0x10,0x90,0x10,0x90,0x1F,0xFC,0x20,0x90,0x20,0x94,0x7F,0xFE,0x90,0x08,// 错 // 0x11,0xFC,0x7D,0x08,0x11,0x08,0x11,0xF8,0x15,0x08,0x19,0x08,0x11,0xF8,0x01,0x08, 0xCE,0xF3, 0x00,0x08,0x43,0xFC,0x32,0x08,0x12,0x08,0x03,0xF8,0x00,0x00,0xE7,0xFC,0x20,0x40,// 误 // 0x20,0x44,0x2F,0xFE,0x20,0x40,0x20,0xA0,0x28,0xA0,0x31,0x10,0x22,0x0E,0x04,0x04, 0xBC,0xE4, 0x20,0x04,0x1B,0xFE,0x08,0x04,0x40,0x24,0x4F,0xF4,0x48,0x24,0x48,0x24,0x48,0x24,// 间 // 0x4F,0xE4,0x48,0x24,0x48,0x24,0x48,0x24,0x4F,0xE4,0x48,0x24,0x40,0x14,0x40,0x08, 0xB6,0xCE, 0x00,0x08,0x06,0xFC,0x38,0x88,0x20,0x88,0x24,0x88,0x3E,0x88,0x21,0x06,0x24,0x00,// 段 // 0x3E,0xF8,0x20,0x88,0x20,0x90,0x3E,0x50,0xE0,0x20,0x20,0x50,0x20,0x8E,0x23,0x04, 0xBD,0xC7, 0x08,0x00,0x0F,0xE0,0x10,0x40,0x20,0x88,0x5F,0xFC,0x91,0x08,0x11,0x08,0x1F,0xF8,// 角 // 0x11,0x08,0x11,0x08,0x1F,0xF8,0x11,0x08,0x11,0x08,0x21,0x08,0x41,0x28,0x80,0x10, 0xC9,0xFA, 0x01,0x00,0x11,0x00,0x11,0x00,0x11,0x08,0x3F,0xFC,0x21,0x00,0x41,0x00,0x41,0x00,// 生 // 0x81,0x10,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x00,0x00, 0xD0,0xCE, 0x00,0x80,0x7F,0xC4,0x11,0x0C,0x11,0x10,0x11,0x20,0x11,0x44,0x11,0x0C,0xFF,0xD0,// 形 // 0x11,0x20,0x11,0x42,0x11,0x06,0x11,0x08,0x21,0x10,0x21,0x20,0x41,0x40,0x01,0x80, 0xB3,0xE4, 0x02,0x00,0x01,0x00,0x01,0x04,0xFF,0xFE,0x02,0x00,0x04,0x40,0x08,0x20,0x1F,0xF0,// 充 // 0x04,0x50,0x04,0x40,0x04,0x40,0x04,0x40,0x08,0x42,0x08,0x42,0x10,0x3E,0x60,0x00, 0xB5,0xA5, 0x10,0x10,0x08,0x20,0x04,0x48,0x3F,0xFC,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x08,// 单 // 0x21,0x08,0x3F,0xF8,0x21,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00, 0xCC,0xEE, 0x10,0x40,0x10,0x44,0x17,0xFE,0x10,0x48,0x13,0xFC,0xFE,0x08,0x13,0xF8,0x12,0x08,// 填 // 0x13,0xF8,0x12,0x08,0x1F,0xF8,0xF2,0x08,0x4F,0xFE,0x01,0x10,0x03,0x0C,0x04,0x04, 0xB9,0xB2, 0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x28,0x7F,0xFC,0x08,0x20,0x08,0x20,0x08,0x20,// 共 // 0x08,0x20,0x08,0x24,0xFF,0xFE,0x00,0x00,0x04,0x40,0x0C,0x30,0x10,0x18,0x20,0x08, 0xB7,0xD6, 0x00,0x40,0x04,0x40,0x04,0x20,0x08,0x20,0x10,0x10,0x20,0x08,0x40,0x04,0x9F,0xE2,// 分 // 0x04,0x20,0x04,0x20,0x04,0x20,0x08,0x20,0x08,0x20,0x10,0x20,0x21,0x40,0x40,0x80, 0xBC,0xAD, 0x20,0x00,0x21,0xF8,0x21,0x08,0xFD,0x08,0x41,0xF8,0x50,0x00,0x97,0xFE,0xFD,0x08,// 辑 // 0x11,0xF8,0x11,0x08,0x1D,0xF8,0xF1,0x08,0x51,0x3E,0x17,0xC8,0x10,0x08,0x10,0x08, 0xC2,0xDF, 0x00,0x00,0x47,0xFC,0x24,0xA4,0x24,0xA4,0x07,0xFC,0x00,0x80,0xE1,0xF8,0x22,0x08,// 逻 // 0x25,0x10,0x20,0xA0,0x20,0x40,0x21,0x80,0x2E,0x00,0x50,0x00,0x8F,0xFE,0x00,0x00, 0xCE,0xF6, 0x10,0x08,0x10,0x1C,0x11,0xE0,0x11,0x00,0xFD,0x00,0x11,0x00,0x31,0xFE,0x39,0x10,// 析 // 0x55,0x10,0x51,0x10,0x91,0x10,0x11,0x10,0x11,0x10,0x12,0x10,0x12,0x10,0x14,0x10, 0xB8,0xBA, 0x04,0x00,0x04,0x00,0x0F,0xE0,0x10,0x20,0x20,0x40,0x5F,0xF0,0x10,0x10,0x11,0x10,// 负 // 0x11,0x10,0x11,0x10,0x11,0x10,0x12,0x10,0x02,0xC0,0x04,0x20,0x18,0x10,0x60,0x08, 0xD4,0xD8, 0x08,0x20,0x08,0x28,0x7F,0x24,0x08,0x20,0xFF,0xFE,0x10,0x20,0x10,0x24,0xFF,0x24,// 载 // 0x20,0x24,0x48,0x28,0x7F,0x28,0x08,0x10,0x0F,0x12,0xF8,0x2A,0x08,0x46,0x08,0x82, 0xCD,0xD1, 0x01,0x04,0x78,0x84,0x48,0x88,0x48,0x10,0x49,0xFC,0x79,0x04,0x49,0x04,0x49,0x04,// 脱 // 0x49,0xFC,0x78,0x50,0x48,0x50,0x48,0x90,0x48,0x92,0x49,0x12,0x4A,0x0E,0x9C,0x00, 0xB2,0xE2, 0x00,0x04,0x27,0xC4,0x14,0x44,0x14,0x54,0x85,0x54,0x45,0x54,0x45,0x54,0x15,0x54,// 测 // 0x15,0x54,0x25,0x54,0xE5,0x54,0x21,0x04,0x22,0x84,0x22,0x44,0x24,0x14,0x08,0x08, 0xD7,0xE8, 0x00,0x00,0x7D,0xF8,0x45,0x08,0x49,0x08,0x49,0x08,0x51,0xF8,0x49,0x08,0x49,0x08,// 阻 // 0x45,0x08,0x45,0xF8,0x45,0x08,0x69,0x08,0x51,0x08,0x41,0x08,0x47,0xFE,0x40,0x00, 0xB2,0xE2, 0x00,0x04,0x27,0xC4,0x14,0x44,0x14,0x54,0x85,0x54,0x45,0x54,0x45,0x54,0x15,0x54,// 测 // 0x15,0x54,0x25,0x54,0xE5,0x54,0x21,0x04,0x22,0x84,0x22,0x44,0x24,0x14,0x08,0x08, 0xD0,0xE9, 0x01,0x00,0x01,0xF8,0x01,0x00,0x3F,0xFC,0x21,0x04,0x21,0x60,0x2F,0x88,0x21,0x08,// 虚 // 0x20,0xF8,0x22,0x40,0x32,0x48,0x2A,0x48,0x2A,0x50,0x42,0x40,0x5F,0xFC,0x80,0x00, 0xB6,0xE0, 0x02,0x00,0x02,0x00,0x07,0xF0,0x08,0x20,0x38,0x40,0x04,0x80,0x03,0x40,0x0C,0x80,// 多 // 0x71,0xF8,0x02,0x08,0x0C,0x10,0x32,0x20,0x01,0x40,0x01,0x80,0x0E,0x00,0x70,0x00, 0xB9,0xA4, 0x00,0x00,0x00,0x00,0x7F,0xFC,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,// 工 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00, 0xBE,0xDF, 0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,// 具 // 0x1F,0xF0,0x10,0x10,0x10,0x10,0xFF,0xFE,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x08, 0xC5,0xE4, 0x00,0x00,0xFE,0x00,0x28,0xF8,0x28,0x08,0xFE,0x08,0xAA,0x08,0xAA,0x08,0xAA,0xF8,// 配 // 0xAE,0x88,0xC2,0x80,0x82,0x80,0xFE,0x80,0x82,0x82,0x82,0x82,0xFE,0x7E,0x82,0x00, 0xB6,0xCB, 0x20,0x20,0x11,0x24,0x11,0x24,0xFD,0x24,0x01,0xFC,0x08,0x00,0x8B,0xFE,0x88,0x20,// 端 // 0x48,0x40,0x49,0xFC,0x51,0x54,0x51,0x54,0x1D,0x54,0xE1,0x54,0x41,0x54,0x01,0x0C, 0xCD,0xB3, 0x10,0x40,0x10,0x20,0x20,0x20,0x23,0xFE,0x48,0x40,0xF8,0x88,0x11,0x04,0x23,0xFE,// 统 // 0x40,0x92,0xF8,0x90,0x40,0x90,0x00,0x90,0x19,0x12,0xE1,0x12,0x42,0x0E,0x04,0x00, 0xCF,0xB5, 0x00,0xF8,0x3F,0x00,0x04,0x00,0x08,0x20,0x10,0x40,0x3F,0x80,0x01,0x00,0x06,0x10,// 系 // 0x18,0x08,0x7F,0xFC,0x01,0x04,0x09,0x20,0x11,0x10,0x21,0x08,0x45,0x04,0x02,0x00, 0xB3,0xD8, 0x00,0x40,0x20,0x40,0x12,0x40,0x12,0x58,0x82,0x68,0x42,0xC8,0x53,0x48,0x1E,0x48,// 池 // 0x12,0x48,0x22,0x48,0xE2,0x58,0x22,0x42,0x22,0x02,0x22,0x02,0x21,0xFE,0x00,0x00, 0xB5,0xE7, 0x01,0x00,0x01,0x00,0x01,0x00,0x3F,0xF8,0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,// 电 // 0x21,0x08,0x21,0x08,0x21,0x08,0x3F,0xF8,0x21,0x0A,0x01,0x02,0x01,0x02,0x00,0xFE, 0xB7,0xC5, 0x20,0x40,0x10,0x40,0x00,0x40,0xFE,0x80,0x20,0xFE,0x21,0x08,0x3E,0x88,0x24,0x88,// 放 // 0x24,0x88,0x24,0x50,0x24,0x50,0x24,0x20,0x44,0x50,0x54,0x88,0x89,0x04,0x02,0x02, 0xC8,0xDD, 0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x88,0x24,0x11,0x10,0x22,0x88,0x04,0x40,// 容 // 0x08,0x20,0x30,0x18,0xDF,0xF6,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10, 0xBD,0xC5, 0x01,0x00,0x79,0x00,0x49,0x1E,0x4B,0x92,0x49,0x12,0x79,0x12,0x49,0x12,0x4F,0xD2,// 脚 // 0x49,0x12,0x79,0x12,0x4A,0x1A,0x4A,0x94,0x4F,0xD0,0x4A,0x50,0x48,0x10,0x98,0x10, 0xCF,0xDE, 0x00,0x00,0x7B,0xF8,0x4A,0x08,0x52,0x08,0x53,0xF8,0x62,0x08,0x52,0x08,0x4B,0xF8,// 限 // 0x4A,0x44,0x4A,0x48,0x6A,0x30,0x52,0x20,0x42,0x10,0x42,0x88,0x43,0x06,0x42,0x00, 0xB3,0xE5, 0x00,0x40,0x40,0x40,0x20,0x40,0x20,0x40,0x07,0xFC,0x04,0x44,0x14,0x44,0x14,0x44,// 冲 // 0x24,0x44,0xE4,0x44,0x27,0xFC,0x24,0x44,0x20,0x40,0x20,0x40,0x20,0x40,0x00,0x40, 0xC2,0xF6, 0x00,0x40,0x78,0x20,0x48,0x10,0x49,0xE0,0x48,0x22,0x78,0x34,0x4B,0xB8,0x48,0xB0,// 脉 // 0x48,0xA8,0x78,0xA8,0x49,0x28,0x49,0x24,0x4A,0x24,0x4C,0x22,0x48,0xA0,0x98,0x40, 0xB6,0xCC, 0x20,0x00,0x21,0xFE,0x3C,0x00,0x50,0x00,0x90,0xFC,0x10,0x84,0x10,0x84,0xFE,0x84,// 短 // 0x10,0xFC,0x10,0x00,0x10,0x84,0x28,0x44,0x24,0x48,0x44,0x00,0x41,0xFE,0x80,0x00, 0xC0,0xE0, 0x01,0x00,0x11,0x10,0x09,0x20,0x01,0x00,0x7F,0xFC,0x05,0x40,0x09,0x20,0x11,0x10,// 类 // 0x60,0x08,0x01,0x00,0xFF,0xFE,0x02,0x80,0x04,0x40,0x08,0x20,0x30,0x18,0xC0,0x06, 0xC4,0xB7, 0x10,0x00,0x10,0xFC,0x10,0x84,0x10,0xA4,0xFC,0x94,0x24,0x84,0x24,0x84,0x27,0xFE,// 姆 // 0x25,0x04,0x49,0x44,0x29,0x24,0x11,0x04,0x29,0xFE,0x44,0x04,0x84,0x28,0x00,0x10, 0xC5,0xB7, 0x00,0x40,0x7E,0x40,0x40,0x40,0x44,0x7C,0x64,0x84,0x54,0x88,0x49,0x20,0x48,0x20,// 欧 // 0x54,0x20,0x54,0x50,0x64,0x50,0x40,0x50,0x40,0x88,0x7E,0x88,0x01,0x04,0x02,0x02, 0xD3,0xDA, 0x00,0x00,0x3F,0xF8,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x01,0x00,// 于 // 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x05,0x00,0x02,0x00, 0xC9,0xFD, 0x01,0x20,0x07,0xA0,0x3C,0x20,0x04,0x20,0x04,0x20,0x04,0x20,0x04,0x20,0xFF,0xFE,// 升 // 0x04,0x20,0x04,0x20,0x04,0x20,0x08,0x20,0x08,0x20,0x10,0x20,0x20,0x20,0x40,0x20, 0xC1,0xEE, 0x01,0x00,0x01,0x00,0x02,0x80,0x04,0x40,0x0A,0x20,0x11,0x10,0x21,0x08,0xC0,0x06,// 令 // 0x1F,0xF0,0x00,0x10,0x00,0x20,0x04,0x40,0x02,0x80,0x01,0x00,0x00,0x80,0x00,0x80, 0xC9,0xD5, 0x20,0x80,0x20,0x80,0x20,0xBC,0x23,0xC0,0xA8,0x50,0xB0,0x24,0xA0,0xD4,0xA3,0x0C,// 烧 // 0x20,0x00,0x27,0xFE,0x20,0x90,0x20,0x90,0x51,0x12,0x49,0x12,0x42,0x0E,0x84,0x00, 0xB4,0xCE, 0x00,0x80,0x40,0x80,0x20,0x80,0x20,0xFC,0x01,0x04,0x09,0x08,0x0A,0x40,0x14,0x40,// 次 // 0x10,0x40,0xE0,0xA0,0x20,0xA0,0x21,0x10,0x21,0x10,0x22,0x08,0x24,0x04,0x08,0x02, 0xD1,0xE9, 0x00,0x20,0xF8,0x20,0x08,0x50,0x48,0x50,0x48,0x88,0x49,0x04,0x4A,0xFA,0x7C,0x00,// 验 // 0x04,0x44,0x04,0x24,0x1D,0x24,0xE4,0xA8,0x44,0x88,0x04,0x10,0x2B,0xFE,0x10,0x00, 0xB1,0xE0, 0x10,0x80,0x10,0x40,0x23,0xFC,0x22,0x04,0x4A,0x04,0xFB,0xFC,0x12,0x00,0x22,0x00,// 编 // 0x43,0xFC,0xFB,0x54,0x43,0x54,0x05,0xFC,0x1D,0x54,0xE5,0x54,0x49,0x44,0x01,0x0C, 0xC4,0xD4, 0x00,0x40,0x78,0x20,0x48,0x20,0x4F,0xFE,0x48,0x00,0x78,0x00,0x48,0x90,0x4A,0x54,// 脑 // 0x4A,0x24,0x7A,0x24,0x4A,0x54,0x4A,0x94,0x4A,0x04,0x4A,0x04,0x4B,0xFC,0x98,0x04, 0xBD,0xDD, 0x20,0x40,0x20,0x40,0x27,0xFE,0x20,0x40,0xFB,0xF8,0x20,0x48,0x27,0xFE,0x28,0x48,// 捷 // 0x33,0xF8,0xE0,0x40,0x22,0x40,0x22,0x7C,0x22,0x40,0x25,0x40,0xA4,0xFE,0x48,0x00, 0xBF,0xEC, 0x10,0x40,0x10,0x40,0x10,0x40,0x13,0xF8,0x18,0x48,0x54,0x48,0x50,0x48,0x50,0x48,// 快 // 0x97,0xFE,0x10,0x40,0x10,0xA0,0x10,0xA0,0x11,0x10,0x11,0x10,0x12,0x08,0x14,0x06, 0xB5,0xE3, 0x02,0x00,0x02,0x00,0x02,0x00,0x03,0xFC,0x02,0x00,0x02,0x00,0x3F,0xF0,0x20,0x10,// 点 // 0x20,0x10,0x20,0x10,0x3F,0xF0,0x00,0x00,0x24,0x88,0x22,0x44,0x42,0x44,0x80,0x04, 0xBB,0xBB, 0x10,0x80,0x10,0x80,0x10,0xF8,0x11,0x08,0xFA,0x10,0x15,0xFC,0x11,0x24,0x19,0x24,// 换 // 0x31,0x24,0xD1,0x24,0x17,0xFE,0x10,0x50,0x10,0x50,0x10,0x88,0x51,0x04,0x26,0x02, 0xBD,0xB9, 0x09,0x00,0x08,0x80,0x1F,0xFC,0x10,0x80,0x30,0x80,0x5F,0xF8,0x90,0x80,0x10,0x80,// 焦 // 0x1F,0xF8,0x10,0x80,0x10,0x80,0x1F,0xFC,0x10,0x00,0x48,0x88,0x44,0x44,0x84,0x44, 0xC7,0xD0, 0x10,0x00,0x10,0x00,0x11,0xFC,0x10,0x44,0x10,0x44,0x1E,0x44,0xF0,0x44,0x10,0x44,// 切 // 0x10,0x44,0x12,0x44,0x14,0x44,0x18,0x84,0x10,0x84,0x01,0x04,0x02,0x28,0x04,0x10, 0xCB,0xA2, 0x00,0x02,0x3F,0xC2,0x20,0x42,0x20,0x42,0x3F,0xD2,0x22,0x12,0x22,0x12,0x22,0x12,// 刷 // 0x3F,0xD2,0x52,0x52,0x52,0x52,0x52,0x52,0x93,0x42,0x12,0x82,0x02,0x0A,0x02,0x04, 0xD0,0xD0, 0x08,0x00,0x09,0xFC,0x10,0x00,0x20,0x00,0x48,0x00,0x08,0x00,0x13,0xFE,0x30,0x20,// 行 // 0x50,0x20,0x90,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0xA0,0x10,0x40, 0xD6,0xB4, 0x10,0x40,0x10,0x40,0x10,0x40,0x10,0x40,0xFD,0xF8,0x10,0x48,0x10,0x48,0x14,0x48,// 执 // 0x19,0x48,0x30,0xC8,0xD0,0x48,0x10,0xA8,0x10,0xAA,0x11,0x0A,0x52,0x06,0x24,0x02, 0xCA,0xC7, 0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,0x00,0x00,// 是 // 0xFF,0xFE,0x01,0x00,0x11,0x00,0x11,0xF8,0x11,0x00,0x29,0x00,0x45,0x00,0x83,0xFE, /* 最后一行必须用0xFF,0xFF结束,这是字库数组结束标志 */ 0xFF,0xFF }; #else unsigned char const g_Hz16[] = {0xFF, 0xFF}; #endif
{ "language": "Assembly" }
/****************************************************************************** * @file gcc_arm.ld * @brief GNU Linker Script for Cortex-M based device * @version V2.0.0 * @date 21. May 2019 ******************************************************************************/ /* * Copyright (c) 2009-2019 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* *-------- <<< Use Configuration Wizard in Context Menu >>> ------------------- */ /*---------------------- Flash Configuration ---------------------------------- <h> Flash Configuration <o0> Flash Base Address <0x0-0xFFFFFFFF:8> <o1> Flash Size (in Bytes) <0x0-0xFFFFFFFF:8> </h> -----------------------------------------------------------------------------*/ __ROM_BASE = 0x00000000; __ROM_SIZE = 0x00040000; /*--------------------- Embedded RAM Configuration ---------------------------- <h> RAM Configuration <o0> RAM Base Address <0x0-0xFFFFFFFF:8> <o1> RAM Size (in Bytes) <0x0-0xFFFFFFFF:8> </h> -----------------------------------------------------------------------------*/ __RAM_BASE = 0x20000000; __RAM_SIZE = 0x00020000; /*--------------------- Stack / Heap Configuration ---------------------------- <h> Stack / Heap Configuration <o0> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> <o1> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> </h> -----------------------------------------------------------------------------*/ __STACK_SIZE = 0x00000400; __HEAP_SIZE = 0x00000C00; /* *-------------------- <<< end of configuration section >>> ------------------- */ MEMORY { FLASH (rx) : ORIGIN = __ROM_BASE, LENGTH = __ROM_SIZE RAM (rwx) : ORIGIN = __RAM_BASE, LENGTH = __RAM_SIZE } /* Linker script to place sections and symbol values. Should be used together * with other linker script that defines memory regions FLASH and RAM. * It references following symbols, which must be defined in code: * Reset_Handler : Entry of reset handler * * It defines following symbols, which code can use without definition: * __exidx_start * __exidx_end * __copy_table_start__ * __copy_table_end__ * __zero_table_start__ * __zero_table_end__ * __etext * __data_start__ * __preinit_array_start * __preinit_array_end * __init_array_start * __init_array_end * __fini_array_start * __fini_array_end * __data_end__ * __bss_start__ * __bss_end__ * __end__ * end * __HeapLimit * __StackLimit * __StackTop * __stack */ ENTRY(Reset_Handler) SECTIONS { .text : { KEEP(*(.vectors)) *(.text*) KEEP(*(.init)) KEEP(*(.fini)) /* .ctors */ *crtbegin.o(.ctors) *crtbegin?.o(.ctors) *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) *(SORT(.ctors.*)) *(.ctors) /* .dtors */ *crtbegin.o(.dtors) *crtbegin?.o(.dtors) *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) *(SORT(.dtors.*)) *(.dtors) *(.rodata*) KEEP(*(.eh_frame*)) } > FLASH /* * SG veneers: * All SG veneers are placed in the special output section .gnu.sgstubs. Its start address * must be set, either with the command line option ‘--section-start’ or in a linker script, * to indicate where to place these veneers in memory. */ /* .gnu.sgstubs : { . = ALIGN(32); } > FLASH */ .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } > FLASH __exidx_start = .; .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } > FLASH __exidx_end = .; .copy.table : { . = ALIGN(4); __copy_table_start__ = .; LONG (__etext) LONG (__data_start__) LONG (__data_end__ - __data_start__) /* Add each additional data section here */ /* LONG (__etext2) LONG (__data2_start__) LONG (__data2_end__ - __data2_start__) */ __copy_table_end__ = .; } > FLASH .zero.table : { . = ALIGN(4); __zero_table_start__ = .; /* Add each additional bss section here */ /* LONG (__bss2_start__) LONG (__bss2_end__ - __bss2_start__) */ __zero_table_end__ = .; } > FLASH /** * Location counter can end up 2byte aligned with narrow Thumb code but * __etext is assumed by startup code to be the LMA of a section in RAM * which must be 4byte aligned */ __etext = ALIGN (4); .data : AT (__etext) { __data_start__ = .; *(vtable) *(.data) *(.data.*) . = ALIGN(4); /* preinit data */ PROVIDE_HIDDEN (__preinit_array_start = .); KEEP(*(.preinit_array)) PROVIDE_HIDDEN (__preinit_array_end = .); . = ALIGN(4); /* init data */ PROVIDE_HIDDEN (__init_array_start = .); KEEP(*(SORT(.init_array.*))) KEEP(*(.init_array)) PROVIDE_HIDDEN (__init_array_end = .); . = ALIGN(4); /* finit data */ PROVIDE_HIDDEN (__fini_array_start = .); KEEP(*(SORT(.fini_array.*))) KEEP(*(.fini_array)) PROVIDE_HIDDEN (__fini_array_end = .); KEEP(*(.jcr*)) . = ALIGN(4); /* All data end */ __data_end__ = .; } > RAM /* * Secondary data section, optional * * Remember to add each additional data section * to the .copy.table above to asure proper * initialization during startup. */ /* __etext2 = ALIGN (4); .data2 : AT (__etext2) { . = ALIGN(4); __data2_start__ = .; *(.data2) *(.data2.*) . = ALIGN(4); __data2_end__ = .; } > RAM2 */ .bss : { . = ALIGN(4); __bss_start__ = .; *(.bss) *(.bss.*) *(COMMON) . = ALIGN(4); __bss_end__ = .; } > RAM AT > RAM /* * Secondary bss section, optional * * Remember to add each additional bss section * to the .zero.table above to asure proper * initialization during startup. */ /* .bss2 : { . = ALIGN(4); __bss2_start__ = .; *(.bss2) *(.bss2.*) . = ALIGN(4); __bss2_end__ = .; } > RAM2 AT > RAM2 */ .heap (COPY) : { . = ALIGN(8); __end__ = .; PROVIDE(end = .); . = . + __HEAP_SIZE; . = ALIGN(8); __HeapLimit = .; } > RAM .stack (ORIGIN(RAM) + LENGTH(RAM) - __STACK_SIZE) (COPY) : { . = ALIGN(8); __StackLimit = .; . = . + __STACK_SIZE; . = ALIGN(8); __StackTop = .; } > RAM PROVIDE(__stack = __StackTop); /* Check if data + heap + stack exceeds RAM limit */ ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack") }
{ "language": "Assembly" }
/*############################################################################ # Copyright 2016-2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ############################################################################*/ /*! * \file * \brief Main entry point for unit tests. */ #include "epid/common-testhelper/epid_gtest-testhelper.h" #include "gtest/gtest.h" int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
{ "language": "Assembly" }
# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 | FileCheck %s # CHECK: push {r0, r1, r2, r3} # CHECK-NEXT: push {r4, r5, r7, lr} # CHECK-NEXT: add r7, sp, #8 # CHECK-NEXT: sub sp, #4 # CHECK-NEXT: add r3, sp, #20 # CHECK-NEXT: ldr r5, [r3], #4 # CHECK-NEXT: str r3, [sp] # CHECK-NEXT: ldr r3, [pc, #52] # CHECK-NEXT: add r3, pc # CHECK-NEXT: ldr r0, [r3] # CHECK-NEXT: ldr r4, [r0] # CHECK-NEXT: ldr r0, [pc, #48] # CHECK-NEXT: add r0, pc # CHECK-NEXT: ldr r0, [r0] # CHECK-NEXT: ldr r0, [r0] # CHECK-NEXT: blx #191548 # CHECK-NEXT: cbnz r0, #6 # CHECK-NEXT: ldr r1, [pc, #40] # CHECK-NEXT: add r1, pc # CHECK-NEXT: ldr r1, [r1] # CHECK-NEXT: b #0 # CHECK-NEXT: mov r1, r0 # CHECK-NEXT: mov r0, r4 # CHECK-NEXT: mov r2, r5 # CHECK-NEXT: ldr r3, [sp] # CHECK-NEXT: bl #-8390 # Data bytes (corresponds to an invalid instruction) # But not: sub.w sp, r7, #8 # CHECK-NEXT: pop.w {r4, r5, r7, lr} # CHECK-NEXT: add sp, #16 # CHECK-NEXT: bx lr # CHECK-NEXT: nop # CHECK-NEXT: movs r3, #142 # CHECK-NEXT: movs r5, r0 # CHECK-NEXT: adds r1, #122 # CHECK-NEXT: movs r5, r0 # CHECK-NEXT: adds r1, #104 # CHECK-NEXT: movs r5, r0 0x0f 0xb4 0xb0 0xb5 0x02 0xaf 0x81 0xb0 0x05 0xab 0x53 0xf8 0x04 0x5b 0x00 0x93 0x0d 0x4b 0x7b 0x44 0x18 0x68 0x04 0x68 0x0c 0x48 0x78 0x44 0x00 0x68 0x00 0x68 0x2e 0xf0 0x1e 0xee 0x18 0xb9 0x0a 0x49 0x79 0x44 0x09 0x68 0x00 0xe0 0x01 0x46 0x20 0x46 0x2a 0x46 0x00 0x9b 0xfd 0xf7 0x9d 0xff # 0xa7 0xf1 0x08 0x0d 0xbd 0xe8 0xb0 0x40 0x04 0xb0 0x70 0x47 0x00 0xbf 0x8e 0x23 0x05 0x00 0x7a 0x31 0x05 0x00 0x68 0x31 0x05 0x00
{ "language": "Assembly" }
# REQUIRES: aarch64 # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %p/Inputs/aarch64-tls-ie.s -o %tdso.o # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %tmain.o # RUN: ld.lld -shared -soname=tdso.so %tdso.o -o %tdso.so # RUN: ld.lld --hash-style=sysv %tmain.o %tdso.so -o %tout # RUN: llvm-objdump -d --no-show-raw-insn %tout | FileCheck %s # RUN: llvm-readobj -S -r %tout | FileCheck -check-prefix=RELOC %s # RELOC: Section { # RELOC: Index: # RELOC: Name: .got # RELOC-NEXT: Type: SHT_PROGBITS # RELOC-NEXT: Flags [ # RELOC-NEXT: SHF_ALLOC # RELOC-NEXT: SHF_WRITE # RELOC-NEXT: ] # RELOC-NEXT: Address: 0x220338 # RELOC-NEXT: Offset: 0x338 # RELOC-NEXT: Size: 16 # RELOC-NEXT: Link: 0 # RELOC-NEXT: Info: 0 # RELOC-NEXT: AddressAlignment: 8 # RELOC-NEXT: EntrySize: 0 # RELOC-NEXT: } # RELOC: Relocations [ # RELOC-NEXT: Section ({{.*}}) .rela.dyn { # RELOC-NEXT: 0x220340 R_AARCH64_TLS_TPREL64 bar 0x0 # RELOC-NEXT: 0x220338 R_AARCH64_TLS_TPREL64 foo 0x0 # RELOC-NEXT: } # RELOC-NEXT:] ## Page(0x2200B0) - Page(0x210000) = 0x10000 = 65536 ## 0x2200B0 & 0xff8 = 0xB0 = 176 ## Page(0x2200B8) - Page(0x210000) = 0x10000 = 65536 ## 0x2200B8 & 0xff8 = 0xB8 = 184 # CHECK: _start: # CHECK-NEXT: 210278: adrp x0, #65536 # CHECK-NEXT: 21027c: ldr x0, [x0, #824] # CHECK-NEXT: 210280: adrp x0, #65536 # CHECK-NEXT: 210284: ldr x0, [x0, #832] .globl _start _start: adrp x0, :gottprel:foo ldr x0, [x0, #:gottprel_lo12:foo] adrp x0, :gottprel:bar ldr x0, [x0, #:gottprel_lo12:bar]
{ "language": "Assembly" }
--- src/GTKEngine/animation.c.orig 2010-08-23 09:03:31.000000000 -0500 +++ src/GTKEngine/animation.c 2012-04-09 06:18:12.000000000 -0500 @@ -23,7 +23,7 @@ #include "animation.h" #ifdef HAVE_ANIMATION -#include <glib/gtimer.h> +#include <glib.h> struct _AnimationInfo {
{ "language": "Assembly" }
/*************************************************************************** * Copyright (C) 2005, 2007 by Dominic Rath * * Dominic.Rath@gmx.de * * Copyright (C) 2010 Spencer Oliver * * spen@spen-soft.co.uk * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ .text .arm .arch armv4 .section .init /* input parameters - */ /* R0 = source address */ /* R1 = destination address */ /* R2 = number of writes */ /* R3 = flash write command */ /* R4 = constant to mask DQ7 bits (also used for Dq5 with shift) */ /* output parameters - */ /* R5 = 0x80 ok 0x00 bad */ /* temp registers - */ /* R6 = value read from flash to test status */ /* R7 = holding register */ /* unlock registers - */ /* R8 = unlock1_addr */ /* R9 = unlock1_cmd */ /* R10 = unlock2_addr */ /* R11 = unlock2_cmd */ code: ldr r5, [r0], #4 str r9, [r8] str r11, [r10] str r3, [r8] str r5, [r1] nop busy: ldr r6, [r1] eor r7, r5, r6 ands r7, r4, r7 beq cont /* b if DQ7 == Data7 */ ands r6, r6, r4, lsr #2 beq busy /* b if DQ5 low */ ldr r6, [r1] eor r7, r5, r6 ands r7, r4, r7 beq cont /* b if DQ7 == Data7 */ mov r5, #0 /* 0x0 - return 0x00, error */ bne done cont: subs r2, r2, #1 /* 0x1 */ moveq r5, #128 /* 0x80 */ beq done add r1, r1, #4 /* 0x4 */ b code done: b done .end
{ "language": "Assembly" }
;---------------------------------------------------------------------------- ; ; Theme of Tara ; ;---------------------------------------------------------------------------- ThemeOfTaraShared1: db 0EFh,0D7h,0FAh, 3,0ECh, 53h,0E2h, 33h, 41h,0F7h, 22h, 41h,0E9h, 4, 43h,0B3h db 0E9h, 5, 3,0E9h, 4, 93h,0B3h, 73h,0FFh ThemeOfTaraShared2: db 0EFh,0D7h,0FAh, 3,0ECh, 53h,0E3h, 63h, 71h,0F8h, 22h, 71h,0F9h, 3,0ECh, 63h db 0E2h, 77h, 67h, 27h,0FFh ThemeOfTaraShared3: db 0EFh,0FAh, 12h,0E3h,0B1h,0B1h,0B1h,0F9h, 21h,0B1h,0FAh, 12h,0B1h,0F9h, 21h,0B1h db 0FFh ThemeOfTaraShared4: db 0FBh, 23h,0E2h, 1, 1, 1,0F9h, 21h, 1,0FBh, 23h, 1,0F9h, 21h, 1,0FFh ThemeOfTaraShared5: db 0EFh,0D7h,0FAh, 3,0ECh, 53h,0E3h,0A3h,0B1h,0F7h, 22h,0B1h,0E8h,0F6h, 3,0E2h db 79h, 67h, 25h,0FFh ThemeOfTaraShared6: db 0EFh,0FAh, 12h,0E2h, 51h, 51h, 51h,0F9h, 31h, 51h,0FAh, 12h, 51h,0F9h, 21h, 51h db 0FFh ThemeOfTaraShared7: db 0EFh,0FAh, 3,0ECh, 62h,0E2h, 51h, 1, 51h,0E1h, 9,0E2h, 61h, 11h, 61h,0FFh ThemeOfTaraShared8: db 0E9h, 5, 51h, 51h, 51h, 51h, 51h, 51h, 51h, 51h, 61h, 61h, 61h, 61h,0FFh ;---------------------------------------------------------------------------- ; Intro ;---------------------------------------------------------------------------- Mus_IntroTara: db 0D1h,0CDh,0E9h, 1, 22h, 23h, 26h, 26h, 6, 2Dh, 26h, 26h, 2Dh, 2Dh,0D7h,0E9h db 5,0B1h,0E9h, 4,0B1h,0EFh,0FBh, 22h,0ECh, 52h,0E2h, 43h,0E5h, 40h, 40h,0E2h db 40h, 40h, 41h, 41h, 71h,0B1h, 92h, 90h,0E1h, 47h, 21h, 1,0E2h,0BBh,0E1h, 43h db 0F9h, 0, 37h,0F8h, 0, 32h,0F7h, 0, 32h,0F6h, 0, 32h,0F5h, 0, 32h,0CFh ;---------------------------------------------------------------------------- ; Theme of Tara (A) ;---------------------------------------------------------------------------- Mus_ThemeTara: db 0EFh,0D7h,0C3h MusThemeOfTara1: db 0EFh,0FAh, 3,0ECh, 53h,0E2h, 33h, 41h,0F7h, 22h, 41h,0E9h, 5, 43h, 43h, 43h db 43h, 43h, 43h db 0FEh, 2 dw MusThemeOfTara1 MusThemeTara2: db 0FEh,0FFh dw ThemeOfTaraShared1 db 0FEh, 3 dw MusThemeTara2 db 0EFh,0FAh, 3,0ECh, 53h,0E2h, 33h, 41h,0F7h, 22h, 41h,0FCh, 36h,0E5h, 43h,0B3h db 0E4h, 3,0E5h, 93h,0FBh, 20h,0B3h,0F8h, 0,0B3h,0F7h, 0,0B3h,0F6h, 0,0B3h db 0F5h, 0,0B3h,0F4h, 0,0B3h MusThemeTara3: db 0EFh,0FAh, 3,0ECh, 53h,0E2h, 83h, 91h,0F7h, 22h, 91h,0E9h, 4, 93h,0E9h, 5 db 43h, 53h, 23h, 43h, 3 db 0FEh, 2 dw MusThemeTara3 MusThemeTara4: db 0FEh,0FFh dw ThemeOfTaraShared1 db 0FEh, 2 dw MusThemeTara4 MusThemeTara5: db 0E9h, 5, 51h, 51h, 53h, 53h, 51h, 51h, 53h, 53h, 51h, 51h, 53h db 0FEh, 4 dw MusThemeTara5 MusThemeTara6: db 0E9h, 5, 51h, 51h, 51h, 51h, 51h, 51h, 51h, 51h, 61h, 61h, 61h, 61h, 61h, 61h db 61h, 61h db 0FEh, 2 dw MusThemeTara6 db 0FEh,0FFh dw ThemeOfTaraShared7 db 0E1h, 19h db 0FEh,0FFh dw ThemeOfTaraShared7 db 0E1h, 11h,0E2h, 71h, 21h, 71h,0E1h, 21h,0FAh, 12h,0ECh, 53h,0E2h, 2Bh, 43h, 75h db 65h, 73h, 95h, 51h, 9Fh, 73h, 93h,0BBh,0B3h, 95h, 75h, 63h, 70h, 60h, 49h, 23h db 40h, 60h, 70h, 60h, 4Bh, 2Bh,0E1h, 43h,0E2h,0B5h, 95h, 73h, 95h, 51h, 9Fh, 73h db 93h,0B5h, 71h,0E1h, 47h,0E2h,0B5h, 71h,0E1h, 47h,0FAh, 2Fh,0E3h, 70h, 72h,0F8h db 2Fh, 70h, 72h,0F6h, 2Fh, 70h, 72h,0F4h, 2Fh, 70h, 72h,0C1h,0F9h, 2Fh, 90h, 92h db 0F7h, 2Fh, 90h, 92h,0F5h, 2Fh, 90h, 92h,0F3h, 2Fh, 90h, 92h, 90h, 92h, 90h, 92h db 0FEh,0FEh dw MusThemeTara2 ;---------------------------------------------------------------------------- ; Intro Theme of Tara (B) ;---------------------------------------------------------------------------- Mus_IntroTaraB: db 0D7h,0C1h,0E9h, 1, 0, 0, 9,0B1h,0B1h,0EFh,0FCh, 23h,0E4h, 43h, 40h, 40h db 41h, 23h, 23h, 10h, 10h,0E3h, 10h,0E4h, 10h, 10h,0E3h, 10h,0E4h, 10h, 10h, 1 db 1,0E3h, 1,0E4h, 1,0E5h,0B3h,0B3h,0B3h,0D2h,0FAh, 0,0E5h,0B1h,0E4h, 0 db 10h, 20h, 30h, 40h, 50h, 60h, 70h, 80h, 90h,0A0h,0B0h,0D7h,0F9h, 0,0ECh, 54h db 0B7h,0F8h, 0,0B2h,0F7h, 0,0B2h,0F6h, 0,0B2h,0F5h, 0,0B2h,0CFh ;---------------------------------------------------------------------------- ; Theme of Tara (B) ;---------------------------------------------------------------------------- Mus_ThemeTaraB: db 0EFh,0D7h,0C3h MusThemeTaraB1: db 0EFh,0FAh, 3,0ECh, 53h,0E3h,0A3h,0B1h,0F7h, 22h,0B1h,0E9h, 4, 43h, 43h, 43h db 43h, 43h, 43h db 0FEh, 2 dw MusThemeTaraB1 Mus_ThemeTaraB2: db 0FEh,0FFh dw ThemeOfTaraShared2 db 0FEh, 3 dw Mus_ThemeTaraB2 db 0EFh,0FAh, 3,0ECh, 53h,0E3h, 63h, 71h,0F8h, 22h, 71h,0F9h, 3,0ECh, 63h,0E2h db 77h, 67h,0FAh, 20h, 23h,0F7h, 0, 23h,0F6h, 0, 23h,0F5h, 0, 23h,0F4h, 0 db 23h,0F3h, 0, 23h MusThemeTaraB3: db 0EFh,0FAh, 3,0ECh, 53h,0E2h, 33h, 41h,0F8h, 22h, 41h,0F9h, 3,0ECh, 72h,0E1h db 7,0E2h,0B7h, 97h db 0FEh, 2 dw MusThemeTaraB3 MusThemeTaraB4: db 0FEh,0FFh dw ThemeOfTaraShared2 db 0FEh, 2 dw MusThemeTaraB4 MusThemeTaraB5: db 0FEh,0FFh dw ThemeOfTaraShared3 db 0FEh,0FFh dw ThemeOfTaraShared3 db 0FAh, 12h,0B1h,0B1h,0B1h,0F9h, 21h,0B1h db 0FEh,0FFh dw ThemeOfTaraShared4 db 0FEh,0FFh dw ThemeOfTaraShared4 db 0FAh, 12h, 1, 1, 1,0F9h, 21h, 1 db 0FEh, 2 dw MusThemeTaraB5 MusThemeTaraB6: db 0F6h, 0,0ECh, 61h,0E1h, 50h,0F7h, 0, 50h,0F8h, 0, 50h,0F9h, 3, 5Ch,0F6h db 0, 40h,0F7h, 0, 40h,0F8h, 0, 40h,0F9h, 3, 4Ch db 0FEh, 2 dw MusThemeTaraB6 db 0FEh,0FFh dw ThemeOfTaraShared8 db 61h, 61h, 61h, 61h db 0FEh,0FFh dw ThemeOfTaraShared8 db 71h, 71h, 71h, 71h MusThemeTaraB7: db 0EFh,0E9h, 5, 41h db 0FEh, 10h dw MusThemeTaraB7 MusThemeTaraB8: db 0EFh,0E9h, 5, 51h db 0FEh, 10h dw MusThemeTaraB8 MusThemeTaraB9: db 41h db 0FEh, 8 dw MusThemeTaraB9 MusThemeTaraB10: db 21h db 0FEh, 8 dw MusThemeTaraB10 db 1, 1, 1, 1, 0,0E9h, 4, 70h,0E9h, 5, 0, 40h, 70h, 40h, 0, 40h db 21h, 21h, 21h, 21h, 20h,0E9h, 4, 90h,0E9h, 5, 20h, 60h, 90h, 60h, 20h, 60h db 0EFh,0FCh, 33h MusThemeTaraB11: db 0E4h, 41h, 40h, 40h db 0FEh, 8 dw MusThemeTaraB11 MusThemeTaraB12: db 51h, 50h, 50h db 0FEh, 8 dw MusThemeTaraB12 db 42h, 40h,0B1h,0E3h, 43h,0E4h, 41h,0B1h,0E3h, 41h,0E4h, 22h, 20h, 91h,0E3h, 23h db 0E4h, 21h, 91h,0E3h, 21h,0FCh, 2Fh,0E3h, 0, 2,0F9h, 2Fh, 0, 2,0F7h, 2Fh db 0, 2,0F5h, 2Fh, 0, 2,0FBh, 2Fh, 20h, 22h,0F9h, 2Fh, 20h, 22h,0F7h, 2Fh db 20h, 22h,0F5h, 2Fh, 20h, 22h, 20h, 22h, 20h, 22h, 20h, 20h db 0FEh,0FEh dw Mus_ThemeTaraB2 ;---------------------------------------------------------------------------- ; Intro Theme of Tara (C) ;---------------------------------------------------------------------------- Mus_IntroTaraC: db 0D7h,0FBh, 21h,0E3h,0C1h,0CFh,0B3h,0E9h, 1, 30h, 30h, 10h,0EFh,0B0h,0B1h,0B1h db 0E2h, 21h, 71h, 42h, 40h, 93h, 73h, 71h, 71h MusIntroThemeTaraC1:db 0FAh, 11h, 40h,0E3h,0B0h, 90h db 0FEh, 5 dw MusIntroThemeTaraC1 db 40h,0B0h,0E2h, 30h, 60h, 90h,0B0h,0E1h, 30h, 60h, 90h,0F7h, 0,0B2h,0F6h, 0 db 0B2h,0F5h, 0,0B2h,0F4h, 0,0B2h,0CFh ;---------------------------------------------------------------------------- ; Theme of Tara (C) ;---------------------------------------------------------------------------- Mus_ThemeTaraC: db 0EFh,0D7h,0C3h MusThemeTaraC1: db 0EFh,0FAh, 3,0ECh, 53h,0E3h, 63h, 71h,0F7h, 22h, 71h,0E9h, 1,0B3h,0B3h,0B3h db 0B3h,0B3h,0B3h db 0FEh, 2 dw MusThemeTaraC1 Mus_ThemeTaraC2: db 0FEh,0FFh dw ThemeOfTaraShared5 db 0FEh, 3 dw Mus_ThemeTaraC2 db 0EFh,0FAh, 3,0ECh, 53h,0E3h,0A3h,0B1h,0F7h, 22h,0B1h,0E8h,0F7h, 3,0E2h, 79h db 65h,0F8h, 20h, 23h,0F5h, 0, 23h,0F4h, 0, 23h,0F3h, 0, 23h,0F2h, 0, 27h MusThemeTaraC3: db 0EFh,0FAh, 3,0ECh, 53h,0E3h,0B3h,0E2h, 1,0F7h, 22h, 1,0F8h, 3,0ECh, 72h db 97h, 87h, 47h db 0FEh, 2 dw MusThemeTaraC3 MusThemeTaraC4: db 0FEh,0FFh dw ThemeOfTaraShared5 db 0FEh, 2 dw MusThemeTaraC4 MusThemeTaraC5: db 0FEh,0FFh dw ThemeOfTaraShared6 db 0FEh,0FFh dw ThemeOfTaraShared6 db 0FAh, 12h, 51h, 51h, 51h,0F9h, 21h, 51h db 0FEh, 4 dw MusThemeTaraC5 MusThemeTaraC6: db 0EFh,0F6h, 0,0ECh, 61h,0E2h,0B0h,0F7h, 0,0B0h,0F8h, 0,0B0h,0F9h, 3,0BCh db 0F6h, 0,0E1h, 10h,0F7h, 0, 10h,0F8h, 0, 10h,0F9h, 3, 1Ch db 0FEh, 2 dw MusThemeTaraC6 db 0E8h,0F9h, 2,0ECh, 62h,0E2h, 53h, 1, 51h, 51h, 1, 51h,0E1h, 3,0E2h, 61h db 11h, 61h, 61h, 11h, 61h,0E1h, 13h,0E2h, 51h, 1, 51h, 51h, 1, 51h,0E1h, 3 db 0E2h, 61h, 11h, 61h,0E1h, 11h,0E2h, 71h, 21h, 71h,0F9h, 12h,0ECh, 54h,0E3h, 9Bh db 0B3h,0E2h, 45h, 25h,0E3h,0B3h,0E2h, 5, 1, 5Fh, 43h, 53h, 7Bh, 73h, 65h, 45h db 23h, 40h, 20h, 0Bh, 1,0E3h, 91h, 91h, 9Bh,0ECh, 53h,0E3h, 75h, 45h,0FAh, 12h db 0E2h, 73h, 75h, 65h, 43h, 5, 1, 5Fh,0E3h,0B3h, 93h, 75h, 71h, 77h, 65h, 61h db 67h,0FBh, 2Fh,0E3h, 40h, 42h,0F9h, 2Fh, 40h, 42h,0F7h, 2Fh, 40h, 42h,0F5h, 2Fh db 40h, 42h,0FBh, 2Fh, 60h, 62h,0F9h, 2Fh, 60h, 62h,0F7h, 2Fh, 60h, 62h,0F5h, 2Fh db 60h, 62h, 60h, 62h, 60h, 62h, 60h, 60h db 0FEh,0FEh dw Mus_ThemeTaraC2
{ "language": "Assembly" }
/* Linker script for the SH2 Low-Cost Eval Board. */ SEARCH_DIR(.) GROUP(-lc -lgcc) __DYNAMIC = 0; MEMORY { ram (rwx) : ORIGIN = 0x4004000, LENGTH = 0x40000 } /* Put the stack up high. */ /* (Commented out because it doesn't seem to work right) */ /*PROVIDE (__stack = 0x403ff00);*/ /* Initalize some symbols to be zero so we can reference them in the crt0 without core dumping. These functions are all optional, but we do this so we can have our crt0 always use them if they exist. This is so BSPs work better when using the crt0 installed with gcc. We have to initalize them twice, so we cover a.out (which prepends an underscore) and coff object file formats. */ PROVIDE (hardware_init_hook = 0); PROVIDE (_hardware_init_hook = 0); PROVIDE (software_init_hook = 0); PROVIDE (_software_init_hook = 0); /* Put everything in ram (of course). */ SECTIONS { .text : { *(.text) . = ALIGN(0x4); __CTOR_LIST__ = .; LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) ___ctors = .; *(.ctors) ___ctors_end = .; LONG(0) __CTOR_END__ = .; __DTOR_LIST__ = .; LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) ___dtors = .; *(.dtors) ___dtors_end = .; LONG(0) __DTOR_END__ = .; *(.rodata) *(.gcc_except_table) _etext = .; *(.lit) } > ram .data BLOCK (0x4) : { *(.shdata) *(.data) _edata = .; } > ram .bss BLOCK (0x4) : { __bss_start = . ; *(.shbss) *(.bss) *(COMMON) _end = ALIGN (0x8); __end = _end; } > ram /* I know, I know, stack sections are supposed to be useless; but this actually worked for me, as opposed to the PROVIDE. */ .stack 0x403ff00 : { __stack = .; } > ram .stab 0 (NOLOAD) : { *(.stab) } .stabstr 0 (NOLOAD) : { *(.stabstr) } /* DWARF debug sections. Symbols in the DWARF debugging sections are relative to the beginning of the section so we begin them at 0. */ /* DWARF 1 */ .debug 0 : { *(.debug) } .line 0 : { *(.line) } /* GNU DWARF 1 extensions */ .debug_srcinfo 0 : { *(.debug_srcinfo) } .debug_sfnames 0 : { *(.debug_sfnames) } /* DWARF 1.1 and DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } /* DWARF 2 */ .debug_info 0 : { *(.debug_info) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } .debug_ranges 0 : { *(.debug_ranges) } /* SGI/MIPS DWARF 2 extensions */ .debug_weaknames 0 : { *(.debug_weaknames) } .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } }
{ "language": "Assembly" }
uci set network.globals.default_rps_val=14 uci set network.globals.default_rps_flow_cnt=256 uci set network.globals.default_xps_val=14 uci set network.globals.default_ps=1 uci commit exit 0
{ "language": "Assembly" }
/* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In addition to the permissions in the GNU General Public License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combine executable.) This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3, ___lshrsi3 routines !! recoded in assembly by Toshiyasu Morita !! tm@netcom.com /* SH2 optimizations for ___ashrsi3, ___ashlsi3, ___lshrsi3 and ELF local label prefixes by J"orn Rennecke amylaar@cygnus.com */ /* This code used shld, thus is not suitable for SH1 / SH2. */ /* Signed / unsigned division without use of FPU, optimized for SH4. Uses a lookup table for divisors in the range -128 .. +128, and div1 with case distinction for larger divisors in three more ranges. The code is lumped together with the table to allow the use of mova. */ #ifdef CONFIG_CPU_LITTLE_ENDIAN #define L_LSB 0 #define L_LSWMSB 1 #define L_MSWLSB 2 #else #define L_LSB 3 #define L_LSWMSB 2 #define L_MSWLSB 1 #endif .balign 4 .global __udivsi3_i4i .global __udivsi3_i4 .set __udivsi3_i4, __udivsi3_i4i .type __udivsi3_i4i, @function __udivsi3_i4i: mov.w c128_w, r1 div0u mov r4,r0 shlr8 r0 cmp/hi r1,r5 extu.w r5,r1 bf udiv_le128 cmp/eq r5,r1 bf udiv_ge64k shlr r0 mov r5,r1 shll16 r5 mov.l r4,@-r15 div1 r5,r0 mov.l r1,@-r15 div1 r5,r0 div1 r5,r0 bra udiv_25 div1 r5,r0 div_le128: mova div_table_ix,r0 bra div_le128_2 mov.b @(r0,r5),r1 udiv_le128: mov.l r4,@-r15 mova div_table_ix,r0 mov.b @(r0,r5),r1 mov.l r5,@-r15 div_le128_2: mova div_table_inv,r0 mov.l @(r0,r1),r1 mov r5,r0 tst #0xfe,r0 mova div_table_clz,r0 dmulu.l r1,r4 mov.b @(r0,r5),r1 bt/s div_by_1 mov r4,r0 mov.l @r15+,r5 sts mach,r0 /* clrt */ addc r4,r0 mov.l @r15+,r4 rotcr r0 rts shld r1,r0 div_by_1_neg: neg r4,r0 div_by_1: mov.l @r15+,r5 rts mov.l @r15+,r4 div_ge64k: bt/s div_r8 div0u shll8 r5 bra div_ge64k_2 div1 r5,r0 udiv_ge64k: cmp/hi r0,r5 mov r5,r1 bt udiv_r8 shll8 r5 mov.l r4,@-r15 div1 r5,r0 mov.l r1,@-r15 div_ge64k_2: div1 r5,r0 mov.l zero_l,r1 .rept 4 div1 r5,r0 .endr mov.l r1,@-r15 div1 r5,r0 mov.w m256_w,r1 div1 r5,r0 mov.b r0,@(L_LSWMSB,r15) xor r4,r0 and r1,r0 bra div_ge64k_end xor r4,r0 div_r8: shll16 r4 bra div_r8_2 shll8 r4 udiv_r8: mov.l r4,@-r15 shll16 r4 clrt shll8 r4 mov.l r5,@-r15 div_r8_2: rotcl r4 mov r0,r1 div1 r5,r1 mov r4,r0 rotcl r0 mov r5,r4 div1 r5,r1 .rept 5 rotcl r0; div1 r5,r1 .endr rotcl r0 mov.l @r15+,r5 div1 r4,r1 mov.l @r15+,r4 rts rotcl r0 .global __sdivsi3_i4i .global __sdivsi3_i4 .global __sdivsi3 .set __sdivsi3_i4, __sdivsi3_i4i .set __sdivsi3, __sdivsi3_i4i .type __sdivsi3_i4i, @function /* This is link-compatible with a __sdivsi3 call, but we effectively clobber only r1. */ __sdivsi3_i4i: mov.l r4,@-r15 cmp/pz r5 mov.w c128_w, r1 bt/s pos_divisor cmp/pz r4 mov.l r5,@-r15 neg r5,r5 bt/s neg_result cmp/hi r1,r5 neg r4,r4 pos_result: extu.w r5,r0 bf div_le128 cmp/eq r5,r0 mov r4,r0 shlr8 r0 bf/s div_ge64k cmp/hi r0,r5 div0u shll16 r5 div1 r5,r0 div1 r5,r0 div1 r5,r0 udiv_25: mov.l zero_l,r1 div1 r5,r0 div1 r5,r0 mov.l r1,@-r15 .rept 3 div1 r5,r0 .endr mov.b r0,@(L_MSWLSB,r15) xtrct r4,r0 swap.w r0,r0 .rept 8 div1 r5,r0 .endr mov.b r0,@(L_LSWMSB,r15) div_ge64k_end: .rept 8 div1 r5,r0 .endr mov.l @r15+,r4 ! zero-extension and swap using LS unit. extu.b r0,r0 mov.l @r15+,r5 or r4,r0 mov.l @r15+,r4 rts rotcl r0 div_le128_neg: tst #0xfe,r0 mova div_table_ix,r0 mov.b @(r0,r5),r1 mova div_table_inv,r0 bt/s div_by_1_neg mov.l @(r0,r1),r1 mova div_table_clz,r0 dmulu.l r1,r4 mov.b @(r0,r5),r1 mov.l @r15+,r5 sts mach,r0 /* clrt */ addc r4,r0 mov.l @r15+,r4 rotcr r0 shld r1,r0 rts neg r0,r0 pos_divisor: mov.l r5,@-r15 bt/s pos_result cmp/hi r1,r5 neg r4,r4 neg_result: extu.w r5,r0 bf div_le128_neg cmp/eq r5,r0 mov r4,r0 shlr8 r0 bf/s div_ge64k_neg cmp/hi r0,r5 div0u mov.l zero_l,r1 shll16 r5 div1 r5,r0 mov.l r1,@-r15 .rept 7 div1 r5,r0 .endr mov.b r0,@(L_MSWLSB,r15) xtrct r4,r0 swap.w r0,r0 .rept 8 div1 r5,r0 .endr mov.b r0,@(L_LSWMSB,r15) div_ge64k_neg_end: .rept 8 div1 r5,r0 .endr mov.l @r15+,r4 ! zero-extension and swap using LS unit. extu.b r0,r1 mov.l @r15+,r5 or r4,r1 div_r8_neg_end: mov.l @r15+,r4 rotcl r1 rts neg r1,r0 div_ge64k_neg: bt/s div_r8_neg div0u shll8 r5 mov.l zero_l,r1 .rept 6 div1 r5,r0 .endr mov.l r1,@-r15 div1 r5,r0 mov.w m256_w,r1 div1 r5,r0 mov.b r0,@(L_LSWMSB,r15) xor r4,r0 and r1,r0 bra div_ge64k_neg_end xor r4,r0 c128_w: .word 128 div_r8_neg: clrt shll16 r4 mov r4,r1 shll8 r1 mov r5,r4 .rept 7 rotcl r1; div1 r5,r0 .endr mov.l @r15+,r5 rotcl r1 bra div_r8_neg_end div1 r4,r0 m256_w: .word 0xff00 /* This table has been generated by divtab-sh4.c. */ .balign 4 div_table_clz: .byte 0 .byte 1 .byte 0 .byte -1 .byte -1 .byte -2 .byte -2 .byte -2 .byte -2 .byte -3 .byte -3 .byte -3 .byte -3 .byte -3 .byte -3 .byte -3 .byte -3 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -4 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -5 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 .byte -6 /* Lookup table translating positive divisor to index into table of normalized inverse. N.B. the '0' entry is also the last entry of the previous table, and causes an unaligned access for division by zero. */ div_table_ix: .byte -6 .byte -128 .byte -128 .byte 0 .byte -128 .byte -64 .byte 0 .byte 64 .byte -128 .byte -96 .byte -64 .byte -32 .byte 0 .byte 32 .byte 64 .byte 96 .byte -128 .byte -112 .byte -96 .byte -80 .byte -64 .byte -48 .byte -32 .byte -16 .byte 0 .byte 16 .byte 32 .byte 48 .byte 64 .byte 80 .byte 96 .byte 112 .byte -128 .byte -120 .byte -112 .byte -104 .byte -96 .byte -88 .byte -80 .byte -72 .byte -64 .byte -56 .byte -48 .byte -40 .byte -32 .byte -24 .byte -16 .byte -8 .byte 0 .byte 8 .byte 16 .byte 24 .byte 32 .byte 40 .byte 48 .byte 56 .byte 64 .byte 72 .byte 80 .byte 88 .byte 96 .byte 104 .byte 112 .byte 120 .byte -128 .byte -124 .byte -120 .byte -116 .byte -112 .byte -108 .byte -104 .byte -100 .byte -96 .byte -92 .byte -88 .byte -84 .byte -80 .byte -76 .byte -72 .byte -68 .byte -64 .byte -60 .byte -56 .byte -52 .byte -48 .byte -44 .byte -40 .byte -36 .byte -32 .byte -28 .byte -24 .byte -20 .byte -16 .byte -12 .byte -8 .byte -4 .byte 0 .byte 4 .byte 8 .byte 12 .byte 16 .byte 20 .byte 24 .byte 28 .byte 32 .byte 36 .byte 40 .byte 44 .byte 48 .byte 52 .byte 56 .byte 60 .byte 64 .byte 68 .byte 72 .byte 76 .byte 80 .byte 84 .byte 88 .byte 92 .byte 96 .byte 100 .byte 104 .byte 108 .byte 112 .byte 116 .byte 120 .byte 124 .byte -128 /* 1/64 .. 1/127, normalized. There is an implicit leading 1 in bit 32. */ .balign 4 zero_l: .long 0x0 .long 0xF81F81F9 .long 0xF07C1F08 .long 0xE9131AC0 .long 0xE1E1E1E2 .long 0xDAE6076C .long 0xD41D41D5 .long 0xCD856891 .long 0xC71C71C8 .long 0xC0E07039 .long 0xBACF914D .long 0xB4E81B4F .long 0xAF286BCB .long 0xA98EF607 .long 0xA41A41A5 .long 0x9EC8E952 .long 0x9999999A .long 0x948B0FCE .long 0x8F9C18FA .long 0x8ACB90F7 .long 0x86186187 .long 0x81818182 .long 0x7D05F418 .long 0x78A4C818 .long 0x745D1746 .long 0x702E05C1 .long 0x6C16C16D .long 0x68168169 .long 0x642C8591 .long 0x60581606 .long 0x5C9882BA .long 0x58ED2309 div_table_inv: .long 0x55555556 .long 0x51D07EAF .long 0x4E5E0A73 .long 0x4AFD6A06 .long 0x47AE147B .long 0x446F8657 .long 0x41414142 .long 0x3E22CBCF .long 0x3B13B13C .long 0x38138139 .long 0x3521CFB3 .long 0x323E34A3 .long 0x2F684BDB .long 0x2C9FB4D9 .long 0x29E4129F .long 0x27350B89 .long 0x24924925 .long 0x21FB7813 .long 0x1F7047DD .long 0x1CF06ADB .long 0x1A7B9612 .long 0x18118119 .long 0x15B1E5F8 .long 0x135C8114 .long 0x11111112 .long 0xECF56BF .long 0xC9714FC .long 0xA6810A7 .long 0x8421085 .long 0x624DD30 .long 0x4104105 .long 0x2040811 /* maximum error: 0.987342 scaled: 0.921875*/
{ "language": "Assembly" }
// go run mkasm_darwin.go arm64 // Code generated by the command above; DO NOT EDIT. // +build go1.13 #include "textflag.h" TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0 JMP libc_fdopendir(SB) TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0 JMP libc_closedir(SB) TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0 JMP libc_readdir_r(SB)
{ "language": "Assembly" }
// RUN: %dxc -E main -T ps_6_0 %s | FileCheck %s // CHECK: @main uint4 a; uint2 main() : SV_TARGET { if (all(a? 1 : 0)) return 0; else return 1; }
{ "language": "Assembly" }
*index.txt* For Vim version 7.4. Last change: 2015 Feb 12 VIM REFERENCE MANUAL by Bram Moolenaar *index* This file contains a list of all commands for each mode, with a tag and a short description. The lists are sorted on ASCII value. Tip: When looking for certain functionality, use a search command. E.g., to look for deleting something, use: "/delete". 1. Insert mode |insert-index| 2. Normal mode |normal-index| 2.1. Text objects |objects| 2.2. Window commands |CTRL-W| 2.3. Square bracket commands |[| 2.4. Commands starting with 'g' |g| 2.5. Commands starting with 'z' |z| 3. Visual mode |visual-index| 4. Command-line editing |ex-edit-index| 5. EX commands |ex-cmd-index| For an overview of options see help.txt |option-list|. For an overview of built-in functions see |functions|. For a list of Vim variables see |vim-variable|. For a complete listing of all help items see |help-tags|. ============================================================================== 1. Insert mode *insert-index* tag char action in Insert mode ~ ----------------------------------------------------------------------- |i_CTRL-@| CTRL-@ insert previously inserted text and stop insert |i_CTRL-A| CTRL-A insert previously inserted text CTRL-B not used |i_CTRL-B-gone| |i_CTRL-C| CTRL-C quit insert mode, without checking for abbreviation, unless 'insertmode' set. |i_CTRL-D| CTRL-D delete one shiftwidth of indent in the current line |i_CTRL-E| CTRL-E insert the character which is below the cursor CTRL-F not used (but by default it's in 'cinkeys' to re-indent the current line) |i_CTRL-G_j| CTRL-G CTRL-J line down, to column where inserting started |i_CTRL-G_j| CTRL-G j line down, to column where inserting started |i_CTRL-G_j| CTRL-G <Down> line down, to column where inserting started |i_CTRL-G_k| CTRL-G CTRL-K line up, to column where inserting started |i_CTRL-G_k| CTRL-G k line up, to column where inserting started |i_CTRL-G_k| CTRL-G <Up> line up, to column where inserting started |i_CTRL-G_u| CTRL-G u start new undoable edit |i_<BS>| <BS> delete character before the cursor |i_digraph| {char1}<BS>{char2} enter digraph (only when 'digraph' option set) |i_CTRL-H| CTRL-H same as <BS> |i_<Tab>| <Tab> insert a <Tab> character |i_CTRL-I| CTRL-I same as <Tab> |i_<NL>| <NL> same as <CR> |i_CTRL-J| CTRL-J same as <CR> |i_CTRL-K| CTRL-K {char1} {char2} enter digraph |i_CTRL-L| CTRL-L when 'insertmode' set: Leave Insert mode |i_<CR>| <CR> begin new line |i_CTRL-M| CTRL-M same as <CR> |i_CTRL-N| CTRL-N find next match for keyword in front of the cursor |i_CTRL-O| CTRL-O execute a single command and return to insert mode |i_CTRL-P| CTRL-P find previous match for keyword in front of the cursor |i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal control flow |i_CTRL-R| CTRL-R {0-9a-z"%#*:=} insert the contents of a register |i_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:=} insert the contents of a register literally |i_CTRL-R_CTRL-O| CTRL-R CTRL-O {0-9a-z"%#*:=} insert the contents of a register literally and don't auto-indent |i_CTRL-R_CTRL-P| CTRL-R CTRL-P {0-9a-z"%#*:=} insert the contents of a register literally and fix indent. CTRL-S (used for terminal control flow) |i_CTRL-T| CTRL-T insert one shiftwidth of indent in current line |i_CTRL-U| CTRL-U delete all entered characters in the current line |i_CTRL-V| CTRL-V {char} insert next non-digit literally |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single byte. |i_CTRL-W| CTRL-W delete word before the cursor |i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index| |i_CTRL-Y| CTRL-Y insert the character which is above the cursor |i_CTRL-Z| CTRL-Z when 'insertmode' set: suspend Vim |i_<Esc>| <Esc> end insert mode (unless 'insertmode' set) |i_CTRL-[| CTRL-[ same as <Esc> |i_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode |i_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode' CTRL-\ a - z reserved for extensions CTRL-\ others not used |i_CTRL-]| CTRL-] trigger abbreviation |i_CTRL-^| CTRL-^ toggle use of |:lmap| mappings |i_CTRL-_| CTRL-_ When 'allowrevins' set: change language (Hebrew, Farsi) {only when compiled with the |+rightleft| feature} <Space> to '~' not used, except '0' and '^' followed by CTRL-D |i_0_CTRL-D| 0 CTRL-D delete all indent in the current line |i_^_CTRL-D| ^ CTRL-D delete all indent in the current line, restore it in the next line |i_<Del>| <Del> delete character under the cursor Meta characters (0x80 to 0xff, 128 to 255) not used |i_<Left>| <Left> cursor one character left |i_<S-Left>| <S-Left> cursor one word left |i_<C-Left>| <C-Left> cursor one word left |i_<Right>| <Right> cursor one character right |i_<S-Right>| <S-Right> cursor one word right |i_<C-Right>| <C-Right> cursor one word right |i_<Up>| <Up> cursor one line up |i_<S-Up>| <S-Up> same as <PageUp> |i_<Down>| <Down> cursor one line down |i_<S-Down>| <S-Down> same as <PageDown> |i_<Home>| <Home> cursor to start of line |i_<C-Home>| <C-Home> cursor to start of file |i_<End>| <End> cursor past end of line |i_<C-End>| <C-End> cursor past end of file |i_<PageUp>| <PageUp> one screenful backward |i_<PageDown>| <PageDown> one screenful forward |i_<F1>| <F1> same as <Help> |i_<Help>| <Help> stop insert mode and display help window |i_<Insert>| <Insert> toggle Insert/Replace mode |i_<LeftMouse>| <LeftMouse> cursor at mouse click |i_<ScrollWheelDown>| <ScrollWheelDown> move window three lines down |i_<S-ScrollWheelDown>| <S-ScrollWheelDown> move window one page down |i_<ScrollWheelUp>| <ScrollWheelUp> move window three lines up |i_<S-ScrollWheelUp>| <S-ScrollWheelUp> move window one page up |i_<ScrollWheelLeft>| <ScrollWheelLeft> move window six columns left |i_<S-ScrollWheelLeft>| <S-ScrollWheelLeft> move window one page left |i_<ScrollWheelRight>| <ScrollWheelRight> move window six columns right |i_<S-ScrollWheelRight>| <S-ScrollWheelRight> move window one page right commands in CTRL-X submode *i_CTRL-X_index* |i_CTRL-X_CTRL-D| CTRL-X CTRL-D complete defined identifiers |i_CTRL-X_CTRL-E| CTRL-X CTRL-E scroll up |i_CTRL-X_CTRL-F| CTRL-X CTRL-F complete file names |i_CTRL-X_CTRL-I| CTRL-X CTRL-I complete identifiers |i_CTRL-X_CTRL-K| CTRL-X CTRL-K complete identifiers from dictionary |i_CTRL-X_CTRL-L| CTRL-X CTRL-L complete whole lines |i_CTRL-X_CTRL-N| CTRL-X CTRL-N next completion |i_CTRL-X_CTRL-O| CTRL-X CTRL-O omni completion |i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion |i_CTRL-X_CTRL-S| CTRL-X CTRL-S spelling suggestions |i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus |i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down |i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc' |i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line |i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags |i_CTRL-X_s| CTRL-X s spelling suggestions {not available when compiled without the |+insert_expand| feature} ============================================================================== 2. Normal mode *normal-index* CHAR any non-blank character WORD a sequence of non-blank characters N a number entered before the command {motion} a cursor movement command Nmove the text that is moved over with a {motion} SECTION a section that possibly starts with '}' instead of '{' note: 1 = cursor movement command; 2 = can be undone/redone tag char note action in Normal mode ~ ------------------------------------------------------------------------------ CTRL-@ not used |CTRL-A| CTRL-A 2 add N to number at/after cursor |CTRL-B| CTRL-B 1 scroll N screens Backwards |CTRL-C| CTRL-C interrupt current (search) command |CTRL-D| CTRL-D scroll Down N lines (default: half a screen) |CTRL-E| CTRL-E scroll N lines upwards (N lines Extra) |CTRL-F| CTRL-F 1 scroll N screens Forward |CTRL-G| CTRL-G display current file name and position |<BS>| <BS> 1 same as "h" |CTRL-H| CTRL-H 1 same as "h" |<Tab>| <Tab> 1 go to N newer entry in jump list |CTRL-I| CTRL-I 1 same as <Tab> |<NL>| <NL> 1 same as "j" |CTRL-J| CTRL-J 1 same as "j" CTRL-K not used |CTRL-L| CTRL-L redraw screen |<CR>| <CR> 1 cursor to the first CHAR N lines lower |CTRL-M| CTRL-M 1 same as <CR> |CTRL-N| CTRL-N 1 same as "j" |CTRL-O| CTRL-O 1 go to N older entry in jump list |CTRL-P| CTRL-P 1 same as "k" CTRL-Q (used for terminal control flow) |CTRL-R| CTRL-R 2 redo changes which were undone with 'u' CTRL-S (used for terminal control flow) |CTRL-T| CTRL-T jump to N older Tag in tag list |CTRL-U| CTRL-U scroll N lines Upwards (default: half a screen) |CTRL-V| CTRL-V start blockwise Visual mode |CTRL-W| CTRL-W {char} window commands, see |CTRL-W| |CTRL-X| CTRL-X 2 subtract N from number at/after cursor |CTRL-Y| CTRL-Y scroll N lines downwards |CTRL-Z| CTRL-Z suspend program (or start new shell) CTRL-[ <Esc> not used |CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode (no-op) |CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode' CTRL-\ a - z reserved for extensions CTRL-\ others not used |CTRL-]| CTRL-] :ta to ident under cursor |CTRL-^| CTRL-^ edit Nth alternate file (equivalent to ":e #N") CTRL-_ not used |<Space>| <Space> 1 same as "l" |!| !{motion}{filter} 2 filter Nmove text through the {filter} command |!!| !!{filter} 2 filter N lines through the {filter} command |quote| "{a-zA-Z0-9.%#:-"} use register {a-zA-Z0-9.%#:-"} for next delete, yank or put (uppercase to append) ({.%#:} only work with put) |#| # 1 search backward for the Nth occurrence of the ident under the cursor |$| $ 1 cursor to the end of Nth next line |%| % 1 find the next (curly/square) bracket on this line and go to its match, or go to matching comment bracket, or go to matching preprocessor directive. |N%| {count}% 1 go to N percentage in the file |&| & 2 repeat last :s |'| '{a-zA-Z0-9} 1 cursor to the first CHAR on the line with mark {a-zA-Z0-9} |''| '' 1 cursor to the first CHAR of the line where the cursor was before the latest jump. |'(| '( 1 cursor to the first CHAR on the line of the start of the current sentence |')| ') 1 cursor to the first CHAR on the line of the end of the current sentence |'<| '< 1 cursor to the first CHAR of the line where highlighted area starts/started in the current buffer. |'>| '> 1 cursor to the first CHAR of the line where highlighted area ends/ended in the current buffer. |'[| '[ 1 cursor to the first CHAR on the line of the start of last operated text or start of put text |']| '] 1 cursor to the first CHAR on the line of the end of last operated text or end of put text |'{| '{ 1 cursor to the first CHAR on the line of the start of the current paragraph |'}| '} 1 cursor to the first CHAR on the line of the end of the current paragraph |(| ( 1 cursor N sentences backward |)| ) 1 cursor N sentences forward |star| * 1 search forward for the Nth occurrence of the ident under the cursor |+| + 1 same as <CR> |,| , 1 repeat latest f, t, F or T in opposite direction N times |-| - 1 cursor to the first CHAR N lines higher |.| . 2 repeat last change with count replaced with N |/| /{pattern}<CR> 1 search forward for the Nth occurrence of {pattern} |/<CR>| /<CR> 1 search forward for {pattern} of last search |count| 0 1 cursor to the first char of the line |count| 1 prepend to command to give a count |count| 2 " |count| 3 " |count| 4 " |count| 5 " |count| 6 " |count| 7 " |count| 8 " |count| 9 " |:| : 1 start entering an Ex command |N:| {count}: start entering an Ex command with range from current line to N-1 lines down |;| ; 1 repeat latest f, t, F or T N times |<| <{motion} 2 shift Nmove lines one 'shiftwidth' leftwards |<<| << 2 shift N lines one 'shiftwidth' leftwards |=| ={motion} 2 filter Nmove lines through "indent" |==| == 2 filter N lines through "indent" |>| >{motion} 2 shift Nmove lines one 'shiftwidth' rightwards |>>| >> 2 shift N lines one 'shiftwidth' rightwards |?| ?{pattern}<CR> 1 search backward for the Nth previous occurrence of {pattern} |?<CR>| ?<CR> 1 search backward for {pattern} of last search |@| @{a-z} 2 execute the contents of register {a-z} N times |@:| @: repeat the previous ":" command N times |@@| @@ 2 repeat the previous @{a-z} N times |A| A 2 append text after the end of the line N times |B| B 1 cursor N WORDS backward |C| ["x]C 2 change from the cursor position to the end of the line, and N-1 more lines [into buffer x]; synonym for "c$" |D| ["x]D 2 delete the characters under the cursor until the end of the line and N-1 more lines [into buffer x]; synonym for "d$" |E| E 1 cursor forward to the end of WORD N |F| F{char} 1 cursor to the Nth occurrence of {char} to the left |G| G 1 cursor to line N, default last line |H| H 1 cursor to line N from top of screen |I| I 2 insert text before the first CHAR on the line N times |J| J 2 Join N lines; default is 2 |K| K lookup Keyword under the cursor with 'keywordprg' |L| L 1 cursor to line N from bottom of screen |M| M 1 cursor to middle line of screen |N| N 1 repeat the latest '/' or '?' N times in opposite direction |O| O 2 begin a new line above the cursor and insert text, repeat N times |P| ["x]P 2 put the text [from buffer x] before the cursor N times |Q| Q switch to "Ex" mode |R| R 2 enter replace mode: overtype existing characters, repeat the entered text N-1 times |S| ["x]S 2 delete N lines [into buffer x] and start insert; synonym for "cc". |T| T{char} 1 cursor till after Nth occurrence of {char} to the left |U| U 2 undo all latest changes on one line |V| V start linewise Visual mode |W| W 1 cursor N WORDS forward |X| ["x]X 2 delete N characters before the cursor [into buffer x] |Y| ["x]Y yank N lines [into buffer x]; synonym for "yy" |ZZ| ZZ store current file if modified, and exit |ZQ| ZQ exit current file always |[| [{char} square bracket command (see |[| below) \ not used |]| ]{char} square bracket command (see |]| below) |^| ^ 1 cursor to the first CHAR of the line |_| _ 1 cursor to the first CHAR N - 1 lines lower |`| `{a-zA-Z0-9} 1 cursor to the mark {a-zA-Z0-9} |`(| `( 1 cursor to the start of the current sentence |`)| `) 1 cursor to the end of the current sentence |`<| `< 1 cursor to the start of the highlighted area |`>| `> 1 cursor to the end of the highlighted area |`[| `[ 1 cursor to the start of last operated text or start of putted text |`]| `] 1 cursor to the end of last operated text or end of putted text |``| `` 1 cursor to the position before latest jump |`{| `{ 1 cursor to the start of the current paragraph |`}| `} 1 cursor to the end of the current paragraph |a| a 2 append text after the cursor N times |b| b 1 cursor N words backward |c| ["x]c{motion} 2 delete Nmove text [into buffer x] and start insert |cc| ["x]cc 2 delete N lines [into buffer x] and start insert |d| ["x]d{motion} 2 delete Nmove text [into buffer x] |dd| ["x]dd 2 delete N lines [into buffer x] |do| do 2 same as ":diffget" |dp| dp 2 same as ":diffput" |e| e 1 cursor forward to the end of word N |f| f{char} 1 cursor to Nth occurrence of {char} to the right |g| g{char} extended commands, see |g| below |h| h 1 cursor N chars to the left |i| i 2 insert text before the cursor N times |j| j 1 cursor N lines downward |k| k 1 cursor N lines upward |l| l 1 cursor N chars to the right |m| m{A-Za-z} set mark {A-Za-z} at cursor position |n| n 1 repeat the latest '/' or '?' N times |o| o 2 begin a new line below the cursor and insert text, repeat N times |p| ["x]p 2 put the text [from register x] after the cursor N times |q| q{0-9a-zA-Z"} record typed characters into named register {0-9a-zA-Z"} (uppercase to append) |q| q (while recording) stops recording |q:| q: edit : command-line in command-line window |q/| q/ edit / command-line in command-line window |q?| q? edit ? command-line in command-line window |r| r{char} 2 replace N chars with {char} |s| ["x]s 2 (substitute) delete N characters [into buffer x] and start insert |t| t{char} 1 cursor till before Nth occurrence of {char} to the right |u| u 2 undo changes |v| v start characterwise Visual mode |w| w 1 cursor N words forward |x| ["x]x 2 delete N characters under and after the cursor [into buffer x] |y| ["x]y{motion} yank Nmove text [into buffer x] |yy| ["x]yy yank N lines [into buffer x] |z| z{char} commands starting with 'z', see |z| below |{| { 1 cursor N paragraphs backward |bar| | 1 cursor to column N |}| } 1 cursor N paragraphs forward |~| ~ 2 'tildeop' off: switch case of N characters under cursor and move the cursor N characters to the right |~| ~{motion} 'tildeop' on: switch case of Nmove text |<C-End>| <C-End> 1 same as "G" |<C-Home>| <C-Home> 1 same as "gg" |<C-Left>| <C-Left> 1 same as "b" |<C-LeftMouse>| <C-LeftMouse> ":ta" to the keyword at the mouse click |<C-Right>| <C-Right> 1 same as "w" |<C-RightMouse>| <C-RightMouse> same as "CTRL-T" |<Del>| ["x]<Del> 2 same as "x" |N<Del>| {count}<Del> remove the last digit from {count} |<Down>| <Down> 1 same as "j" |<End>| <End> 1 same as "$" |<F1>| <F1> same as <Help> |<Help>| <Help> open a help window |<Home>| <Home> 1 same as "0" |<Insert>| <Insert> 2 same as "i" |<Left>| <Left> 1 same as "h" |<LeftMouse>| <LeftMouse> 1 move cursor to the mouse click position |<MiddleMouse>| <MiddleMouse> 2 same as "gP" at the mouse click position |<PageDown>| <PageDown> same as CTRL-F |<PageUp>| <PageUp> same as CTRL-B |<Right>| <Right> 1 same as "l" |<RightMouse>| <RightMouse> start Visual mode, move cursor to the mouse click position |<S-Down>| <S-Down> 1 same as CTRL-F |<S-Left>| <S-Left> 1 same as "b" |<S-LeftMouse>| <S-LeftMouse> same as "*" at the mouse click position |<S-Right>| <S-Right> 1 same as "w" |<S-RightMouse>| <S-RightMouse> same as "#" at the mouse click position |<S-Up>| <S-Up> 1 same as CTRL-B |<Undo>| <Undo> 2 same as "u" |<Up>| <Up> 1 same as "k" |<ScrollWheelDown>| <ScrollWheelDown> move window three lines down |<S-ScrollWheelDown>| <S-ScrollWheelDown> move window one page down |<ScrollWheelUp>| <ScrollWheelUp> move window three lines up |<S-ScrollWheelUp>| <S-ScrollWheelUp> move window one page up |<ScrollWheelLeft>| <ScrollWheelLeft> move window six columns left |<S-ScrollWheelLeft>| <S-ScrollWheelLeft> move window one page left |<ScrollWheelRight>| <ScrollWheelRight> move window six columns right |<S-ScrollWheelRight>| <S-ScrollWheelRight> move window one page right ============================================================================== 2.1 Text objects *objects* These can be used after an operator or in Visual mode to select an object. tag command action in op-pending and Visual mode ~ ------------------------------------------------------------------------------ |v_aquote| a" double quoted string |v_a'| a' single quoted string |v_a(| a( same as ab |v_a)| a) same as ab |v_a<| a< "a <>" from '<' to the matching '>' |v_a>| a> same as a< |v_aB| aB "a Block" from "[{" to "]}" (with brackets) |v_aW| aW "a WORD" (with white space) |v_a[| a[ "a []" from '[' to the matching ']' |v_a]| a] same as a[ |v_a`| a` string in backticks |v_ab| ab "a block" from "[(" to "])" (with braces) |v_ap| ap "a paragraph" (with white space) |v_as| as "a sentence" (with white space) |v_at| at "a tag block" (with white space) |v_aw| aw "a word" (with white space) |v_a{| a{ same as aB |v_a}| a} same as aB |v_iquote| i" double quoted string without the quotes |v_i'| i' single quoted string without the quotes |v_i(| i( same as ib |v_i)| i) same as ib |v_i<| i< "inner <>" from '<' to the matching '>' |v_i>| i> same as i< |v_iB| iB "inner Block" from "[{" and "]}" |v_iW| iW "inner WORD" |v_i[| i[ "inner []" from '[' to the matching ']' |v_i]| i] same as i[ |v_i`| i` string in backticks without the backticks |v_ib| ib "inner block" from "[(" to "])" |v_ip| ip "inner paragraph" |v_is| is "inner sentence" |v_it| it "inner tag block" |v_iw| iw "inner word" |v_i{| i{ same as iB |v_i}| i} same as iB ============================================================================== 2.2 Window commands *CTRL-W* tag command action in Normal mode ~ ------------------------------------------------------------------------------ |CTRL-W_CTRL-B| CTRL-W CTRL-B same as "CTRL-W b" |CTRL-W_CTRL-C| CTRL-W CTRL-C same as "CTRL-W c" |CTRL-W_CTRL-D| CTRL-W CTRL-D same as "CTRL-W d" |CTRL-W_CTRL-F| CTRL-W CTRL-F same as "CTRL-W f" CTRL-W CTRL-G same as "CTRL-W g .." |CTRL-W_CTRL-H| CTRL-W CTRL-H same as "CTRL-W h" |CTRL-W_CTRL-I| CTRL-W CTRL-I same as "CTRL-W i" |CTRL-W_CTRL-J| CTRL-W CTRL-J same as "CTRL-W j" |CTRL-W_CTRL-K| CTRL-W CTRL-K same as "CTRL-W k" |CTRL-W_CTRL-L| CTRL-W CTRL-L same as "CTRL-W l" |CTRL-W_CTRL-N| CTRL-W CTRL-N same as "CTRL-W n" |CTRL-W_CTRL-O| CTRL-W CTRL-O same as "CTRL-W o" |CTRL-W_CTRL-P| CTRL-W CTRL-P same as "CTRL-W p" |CTRL-W_CTRL-Q| CTRL-W CTRL-Q same as "CTRL-W q" |CTRL-W_CTRL-R| CTRL-W CTRL-R same as "CTRL-W r" |CTRL-W_CTRL-S| CTRL-W CTRL-S same as "CTRL-W s" |CTRL-W_CTRL-T| CTRL-W CTRL-T same as "CTRL-W t" |CTRL-W_CTRL-V| CTRL-W CTRL-V same as "CTRL-W v" |CTRL-W_CTRL-W| CTRL-W CTRL-W same as "CTRL-W w" |CTRL-W_CTRL-X| CTRL-W CTRL-X same as "CTRL-W x" |CTRL-W_CTRL-Z| CTRL-W CTRL-Z same as "CTRL-W z" |CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]" |CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^" |CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _" |CTRL-W_+| CTRL-W + increase current window height N lines |CTRL-W_-| CTRL-W - decrease current window height N lines |CTRL-W_<| CTRL-W < decrease current window width N columns |CTRL-W_=| CTRL-W = make all windows the same height & width |CTRL-W_>| CTRL-W > increase current window width N columns |CTRL-W_H| CTRL-W H move current window to the far left |CTRL-W_J| CTRL-W J move current window to the very bottom |CTRL-W_K| CTRL-W K move current window to the very top |CTRL-W_L| CTRL-W L move current window to the far right |CTRL-W_P| CTRL-W P go to preview window |CTRL-W_R| CTRL-W R rotate windows upwards N times |CTRL-W_S| CTRL-W S same as "CTRL-W s" |CTRL-W_T| CTRL-W T move current window to a new tab page |CTRL-W_W| CTRL-W W go to N previous window (wrap around) |CTRL-W_]| CTRL-W ] split window and jump to tag under cursor |CTRL-W_^| CTRL-W ^ split current window and edit alternate file N |CTRL-W__| CTRL-W _ set current window height to N (default: very high) |CTRL-W_b| CTRL-W b go to bottom window |CTRL-W_c| CTRL-W c close current window (like |:close|) |CTRL-W_d| CTRL-W d split window and jump to definition under the cursor |CTRL-W_f| CTRL-W f split window and edit file name under the cursor |CTRL-W_F| CTRL-W F split window and edit file name under the cursor and jump to the line number following the file name. |CTRL-W_g_CTRL-]| CTRL-W g CTRL-] split window and do |:tjump| to tag under cursor |CTRL-W_g]| CTRL-W g ] split window and do |:tselect| for tag under cursor |CTRL-W_g}| CTRL-W g } do a |:ptjump| to the tag under the cursor |CTRL-W_gf| CTRL-W g f edit file name under the cursor in a new tab page |CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new tab page and jump to the line number following the file name. |CTRL-W_h| CTRL-W h go to Nth left window (stop at first window) |CTRL-W_i| CTRL-W i split window and jump to declaration of identifier under the cursor |CTRL-W_j| CTRL-W j go N windows down (stop at last window) |CTRL-W_k| CTRL-W k go N windows up (stop at first window) |CTRL-W_l| CTRL-W l go to Nth right window (stop at last window) |CTRL-W_n| CTRL-W n open new window, N lines high |CTRL-W_o| CTRL-W o close all but current window (like |:only|) |CTRL-W_p| CTRL-W p go to previous (last accessed) window |CTRL-W_q| CTRL-W q quit current window (like |:quit|) |CTRL-W_r| CTRL-W r rotate windows downwards N times |CTRL-W_s| CTRL-W s split current window in two parts, new window N lines high |CTRL-W_t| CTRL-W t go to top window |CTRL-W_v| CTRL-W v split current window vertically, new window N columns wide |CTRL-W_w| CTRL-W w go to N next window (wrap around) |CTRL-W_x| CTRL-W x exchange current window with window N (default: next window) |CTRL-W_z| CTRL-W z close preview window |CTRL-W_bar| CTRL-W | set window width to N columns |CTRL-W_}| CTRL-W } show tag under cursor in preview window |CTRL-W_<Down>| CTRL-W <Down> same as "CTRL-W j" |CTRL-W_<Up>| CTRL-W <Up> same as "CTRL-W k" |CTRL-W_<Left>| CTRL-W <Left> same as "CTRL-W h" |CTRL-W_<Right>| CTRL-W <Right> same as "CTRL-W l" ============================================================================== 2.3 Square bracket commands *[* *]* tag char note action in Normal mode ~ ------------------------------------------------------------------------------ |[_CTRL-D| [ CTRL-D jump to first #define found in current and included files matching the word under the cursor, start searching at beginning of current file |[_CTRL-I| [ CTRL-I jump to first line in current and included files that contains the word under the cursor, start searching at beginning of current file |[#| [# 1 cursor to N previous unmatched #if, #else or #ifdef |['| [' 1 cursor to previous lowercase mark, on first non-blank |[(| [( 1 cursor N times back to unmatched '(' |[star| [* 1 same as "[/" |[`| [` 1 cursor to previous lowercase mark |[/| [/ 1 cursor to N previous start of a C comment |[D| [D list all defines found in current and included files matching the word under the cursor, start searching at beginning of current file |[I| [I list all lines found in current and included files that contain the word under the cursor, start searching at beginning of current file |[P| [P 2 same as "[p" |[[| [[ 1 cursor N sections backward |[]| [] 1 cursor N SECTIONS backward |[c| [c 1 cursor N times backwards to start of change |[d| [d show first #define found in current and included files matching the word under the cursor, start searching at beginning of current file |[f| [f same as "gf" |[i| [i show first line found in current and included files that contains the word under the cursor, start searching at beginning of current file |[m| [m 1 cursor N times back to start of member function |[p| [p 2 like "P", but adjust indent to current line |[s| [s 1 move to the previous misspelled word |[z| [z 1 move to start of open fold |[{| [{ 1 cursor N times back to unmatched '{' |[<MiddleMouse>| [<MiddleMouse> 2 same as "[p" |]_CTRL-D| ] CTRL-D jump to first #define found in current and included files matching the word under the cursor, start searching at cursor position |]_CTRL-I| ] CTRL-I jump to first line in current and included files that contains the word under the cursor, start searching at cursor position |]#| ]# 1 cursor to N next unmatched #endif or #else |]'| ]' 1 cursor to next lowercase mark, on first non-blank |])| ]) 1 cursor N times forward to unmatched ')' |]star| ]* 1 same as "]/" |]`| ]` 1 cursor to next lowercase mark |]/| ]/ 1 cursor to N next end of a C comment |]D| ]D list all #defines found in current and included files matching the word under the cursor, start searching at cursor position |]I| ]I list all lines found in current and included files that contain the word under the cursor, start searching at cursor position |]P| ]P 2 same as "[p" |][| ][ 1 cursor N SECTIONS forward |]]| ]] 1 cursor N sections forward |]c| ]c 1 cursor N times forward to start of change |]d| ]d show first #define found in current and included files matching the word under the cursor, start searching at cursor position |]f| ]f same as "gf" |]i| ]i show first line found in current and included files that contains the word under the cursor, start searching at cursor position |]m| ]m 1 cursor N times forward to end of member function |]p| ]p 2 like "p", but adjust indent to current line |]s| ]s 1 move to next misspelled word |]z| ]z 1 move to end of open fold |]}| ]} 1 cursor N times forward to unmatched '}' |]<MiddleMouse>| ]<MiddleMouse> 2 same as "]p" ============================================================================== 2.4 Commands starting with 'g' *g* tag char note action in Normal mode ~ ------------------------------------------------------------------------------ |g_CTRL-A| g CTRL-A only when compiled with MEM_PROFILE defined: dump a memory profile |g_CTRL-G| g CTRL-G show information about current cursor position |g_CTRL-H| g CTRL-H start Select block mode |g_CTRL-]| g CTRL-] |:tjump| to the tag under the cursor |g#| g# 1 like "#", but without using "\<" and "\>" |g$| g$ 1 when 'wrap' off go to rightmost character of the current line that is on the screen; when 'wrap' on go to the rightmost character of the current screen line |g&| g& 2 repeat last ":s" on all lines |g'| g'{mark} 1 like |'| but without changing the jumplist |g`| g`{mark} 1 like |`| but without changing the jumplist |gstar| g* 1 like "*", but without using "\<" and "\>" |g+| g+ go to newer text state N times |g,| g, 1 go to N newer position in change list |g-| g- go to older text state N times |g0| g0 1 when 'wrap' off go to leftmost character of the current line that is on the screen; when 'wrap' on go to the leftmost character of the current screen line |g8| g8 print hex value of bytes used in UTF-8 character under the cursor |g;| g; 1 go to N older position in change list |g<| g< display previous command output |g?| g? 2 Rot13 encoding operator |g?g?| g?? 2 Rot13 encode current line |g?g?| g?g? 2 Rot13 encode current line |gD| gD 1 go to definition of word under the cursor in current file |gE| gE 1 go backwards to the end of the previous WORD |gH| gH start Select line mode |gI| gI 2 like "I", but always start in column 1 |gJ| gJ 2 join lines without inserting space |gN| gN 1,2 find the previous match with the last used search pattern and Visually select it |gP| ["x]gP 2 put the text [from register x] before the cursor N times, leave the cursor after it |gQ| gQ switch to "Ex" mode with Vim editing |gR| gR 2 enter Virtual Replace mode |gT| gT go to the previous tab page |gU| gU{motion} 2 make Nmove text uppercase |gV| gV don't reselect the previous Visual area when executing a mapping or menu in Select mode |g]| g] :tselect on the tag under the cursor |g^| g^ 1 when 'wrap' off go to leftmost non-white character of the current line that is on the screen; when 'wrap' on go to the leftmost non-white character of the current screen line |g_| g_ 1 cursor to the last CHAR N - 1 lines lower |ga| ga print ascii value of character under the cursor |gd| gd 1 go to definition of word under the cursor in current function |ge| ge 1 go backwards to the end of the previous word |gf| gf start editing the file whose name is under the cursor |gF| gF start editing the file whose name is under the cursor and jump to the line number following the filename. |gg| gg 1 cursor to line N, default first line |gh| gh start Select mode |gi| gi 2 like "i", but first move to the |'^| mark |gj| gj 1 like "j", but when 'wrap' on go N screen lines down |gk| gk 1 like "k", but when 'wrap' on go N screen lines up |gn| gn 1,2 find the next match with the last used search pattern and Visually select it |gm| gm 1 go to character at middle of the screenline |go| go 1 cursor to byte N in the buffer |gp| ["x]gp 2 put the text [from register x] after the cursor N times, leave the cursor after it |gq| gq{motion} 2 format Nmove text |gr| gr{char} 2 virtual replace N chars with {char} |gs| gs go to sleep for N seconds (default 1) |gt| gt go to the next tab page |gu| gu{motion} 2 make Nmove text lowercase |gv| gv reselect the previous Visual area |gw| gw{motion} 2 format Nmove text and keep cursor |netrw-gx| gx execute application for file name under the cursor (only with |netrw| plugin) |g@| g@{motion} call 'operatorfunc' |g~| g~{motion} 2 swap case for Nmove text |g<Down>| g<Down> 1 same as "gj" |g<End>| g<End> 1 same as "g$" |g<Home>| g<Home> 1 same as "g0" |g<LeftMouse>| g<LeftMouse> same as <C-LeftMouse> g<MiddleMouse> same as <C-MiddleMouse> |g<RightMouse>| g<RightMouse> same as <C-RightMouse> |g<Up>| g<Up> 1 same as "gk" ============================================================================== 2.5 Commands starting with 'z' *z* tag char note action in Normal mode ~ ------------------------------------------------------------------------------ |z<CR>| z<CR> redraw, cursor line to top of window, cursor on first non-blank |zN<CR>| z{height}<CR> redraw, make window {height} lines high |z+| z+ cursor on line N (default line below window), otherwise like "z<CR>" |z-| z- redraw, cursor line at bottom of window, cursor on first non-blank |z.| z. redraw, cursor line to center of window, cursor on first non-blank |z=| z= give spelling suggestions |zA| zA open a closed fold or close an open fold recursively |zC| zC close folds recursively |zD| zD delete folds recursively |zE| zE eliminate all folds |zF| zF create a fold for N lines |zG| zG mark word as good spelled word |zH| zH when 'wrap' off scroll half a screenwidth to the right |zL| zL when 'wrap' off scroll half a screenwidth to the left |zM| zM set 'foldlevel' to zero |zN| zN set 'foldenable' |zO| zO open folds recursively |zR| zR set 'foldlevel' to the deepest fold |zW| zW mark word as wrong (bad) spelled word |zX| zX re-apply 'foldlevel' |z^| z^ cursor on line N (default line above window), otherwise like "z-" |za| za open a closed fold, close an open fold |zb| zb redraw, cursor line at bottom of window |zc| zc close a fold |zd| zd delete a fold |ze| ze when 'wrap' off scroll horizontally to position the cursor at the end (right side) of the screen |zf| zf{motion} create a fold for Nmove text |zg| zg mark word as good spelled word |zh| zh when 'wrap' off scroll screen N characters to the right |zi| zi toggle 'foldenable' |zj| zj 1 move to the start of the next fold |zk| zk 1 move to the end of the previous fold |zl| zl when 'wrap' off scroll screen N characters to the left |zm| zm subtract one from 'foldlevel' |zn| zn reset 'foldenable' |zo| zo open fold |zr| zr add one to 'foldlevel' |zs| zs when 'wrap' off scroll horizontally to position the cursor at the start (left side) of the screen |zt| zt redraw, cursor line at top of window |zv| zv open enough folds to view the cursor line |zw| zw mark word as wrong (bad) spelled word |zx| zx re-apply 'foldlevel' and do "zv" |zz| zz redraw, cursor line at center of window |z<Left>| z<Left> same as "zh" |z<Right>| z<Right> same as "zl" ============================================================================== 3. Visual mode *visual-index* Most commands in Visual mode are the same as in Normal mode. The ones listed here are those that are different. tag command note action in Visual mode ~ ------------------------------------------------------------------------------ |v_CTRL-\_CTRL-N| CTRL-\ CTRL-N stop Visual mode |v_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode' |v_CTRL-C| CTRL-C stop Visual mode |v_CTRL-G| CTRL-G toggle between Visual mode and Select mode |v_<BS>| <BS> 2 Select mode: delete highlighted area |v_CTRL-H| CTRL-H 2 same as <BS> |v_CTRL-O| CTRL-O switch from Select to Visual mode for one command |v_CTRL-V| CTRL-V make Visual mode blockwise or stop Visual mode |v_<Esc>| <Esc> stop Visual mode |v_CTRL-]| CTRL-] jump to highlighted tag |v_!| !{filter} 2 filter the highlighted lines through the external command {filter} |v_:| : start a command-line with the highlighted lines as a range |v_<| < 2 shift the highlighted lines one 'shiftwidth' left |v_=| = 2 filter the highlighted lines through the external program given with the 'equalprg' option |v_>| > 2 shift the highlighted lines one 'shiftwidth' right |v_b_A| A 2 block mode: append same text in all lines, after the highlighted area |v_C| C 2 delete the highlighted lines and start insert |v_D| D 2 delete the highlighted lines |v_b_I| I 2 block mode: insert same text in all lines, before the highlighted area |v_J| J 2 join the highlighted lines |v_K| K run 'keywordprg' on the highlighted area |v_O| O Move horizontally to other corner of area. Q does not start Ex mode |v_R| R 2 delete the highlighted lines and start insert |v_S| S 2 delete the highlighted lines and start insert |v_U| U 2 make highlighted area uppercase |v_V| V make Visual mode linewise or stop Visual mode |v_X| X 2 delete the highlighted lines |v_Y| Y yank the highlighted lines |v_aquote| a" extend highlighted area with a double quoted string |v_a'| a' extend highlighted area with a single quoted string |v_a(| a( same as ab |v_a)| a) same as ab |v_a<| a< extend highlighted area with a <> block |v_a>| a> same as a< |v_aB| aB extend highlighted area with a {} block |v_aW| aW extend highlighted area with "a WORD" |v_a[| a[ extend highlighted area with a [] block |v_a]| a] same as a[ |v_a`| a` extend highlighted area with a backtick quoted string |v_ab| ab extend highlighted area with a () block |v_ap| ap extend highlighted area with a paragraph |v_as| as extend highlighted area with a sentence |v_at| at extend highlighted area with a tag block |v_aw| aw extend highlighted area with "a word" |v_a{| a{ same as aB |v_a}| a} same as aB |v_c| c 2 delete highlighted area and start insert |v_d| d 2 delete highlighted area |v_gJ| gJ 2 join the highlighted lines without inserting spaces |v_gq| gq 2 format the highlighted lines |v_gv| gv exchange current and previous highlighted area |v_iquote| i" extend highlighted area with a double quoted string (without quotes) |v_i'| i' extend highlighted area with a single quoted string (without quotes) |v_i(| i( same as ib |v_i)| i) same as ib |v_i<| i< extend highlighted area with inner <> block |v_i>| i> same as i< |v_iB| iB extend highlighted area with inner {} block |v_iW| iW extend highlighted area with "inner WORD" |v_i[| i[ extend highlighted area with inner [] block |v_i]| i] same as i[ |v_i`| i` extend highlighted area with a backtick quoted string (without the backticks) |v_ib| ib extend highlighted area with inner () block |v_ip| ip extend highlighted area with inner paragraph |v_is| is extend highlighted area with inner sentence |v_it| it extend highlighted area with inner tag block |v_iw| iw extend highlighted area with "inner word" |v_i{| i{ same as iB |v_i}| i} same as iB |v_o| o move cursor to other corner of area |v_r| r 2 delete highlighted area and start insert |v_s| s 2 delete highlighted area and start insert |v_u| u 2 make highlighted area lowercase |v_v| v make Visual mode characterwise or stop Visual mode |v_x| x 2 delete the highlighted area |v_y| y yank the highlighted area |v_~| ~ 2 swap case for the highlighted area ============================================================================== 4. Command-line editing *ex-edit-index* Get to the command-line with the ':', '!', '/' or '?' commands. Normal characters are inserted at the current cursor position. "Completion" below refers to context-sensitive completion. It will complete file names, tags, commands etc. as appropriate. tag command action in Command-line editing mode ~ ------------------------------------------------------------------------------ CTRL-@ not used |c_CTRL-A| CTRL-A do completion on the pattern in front of the cursor and insert all matches |c_CTRL-B| CTRL-B cursor to begin of command-line |c_CTRL-C| CTRL-C same as <Esc> |c_CTRL-D| CTRL-D list completions that match the pattern in front of the cursor |c_CTRL-E| CTRL-E cursor to end of command-line |'cedit'| CTRL-F default value for 'cedit': opens the command-line window; otherwise not used CTRL-G not used |c_<BS>| <BS> delete the character in front of the cursor |c_digraph| {char1} <BS> {char2} enter digraph when 'digraph' is on |c_CTRL-H| CTRL-H same as <BS> |c_<Tab>| <Tab> if 'wildchar' is <Tab>: Do completion on the pattern in front of the cursor |c_<S-Tab>| <S-Tab> same as CTRL-P |c_wildchar| 'wildchar' Do completion on the pattern in front of the cursor (default: <Tab>) |c_CTRL-I| CTRL-I same as <Tab> |c_<NL>| <NL> same as <CR> |c_CTRL-J| CTRL-J same as <CR> |c_CTRL-K| CTRL-K {char1} {char2} enter digraph |c_CTRL-L| CTRL-L do completion on the pattern in front of the cursor and insert the longest common part |c_<CR>| <CR> execute entered command |c_<CR>| CTRL-M same as <CR> |c_CTRL-N| CTRL-N after using 'wildchar' with multiple matches: go to next match, otherwise: same as <Down> CTRL-O not used |c_CTRL-P| CTRL-P after using 'wildchar' with multiple matches: go to previous match, otherwise: same as <Up> |c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal control flow |c_CTRL-R| CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A} insert the contents of a register or object under the cursor as if typed |c_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A} insert the contents of a register or object under the cursor literally CTRL-S (used for terminal control flow) CTRL-T not used |c_CTRL-U| CTRL-U remove all characters |c_CTRL-V| CTRL-V insert next non-digit literally, insert three digit decimal number as a single byte. |c_CTRL-W| CTRL-W delete the word in front of the cursor CTRL-X not used (reserved for completion) CTRL-Y copy (yank) modeless selection CTRL-Z not used (reserved for suspend) |c_<Esc>| <Esc> abandon command-line without executing it |c_<Esc>| CTRL-[ same as <Esc> |c_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode, abandon command-line |c_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode', abandon command-line CTRL-\ a - d reserved for extensions |c_CTRL-\_e| CTRL-\ e {expr} replace the command line with the result of {expr} CTRL-\ f - z reserved for extensions CTRL-\ others not used |c_CTRL-]| CTRL-] trigger abbreviation |c_CTRL-^| CTRL-^ toggle use of |:lmap| mappings |c_CTRL-_| CTRL-_ when 'allowrevins' set: change language (Hebrew, Farsi) |c_<Del>| <Del> delete the character under the cursor |c_<Left>| <Left> cursor left |c_<S-Left>| <S-Left> cursor one word left |c_<C-Left>| <C-Left> cursor one word left |c_<Right>| <Right> cursor right |c_<S-Right>| <S-Right> cursor one word right |c_<C-Right>| <C-Right> cursor one word right |c_<Up>| <Up> recall previous command-line from history that matches pattern in front of the cursor |c_<S-Up>| <S-Up> recall previous command-line from history |c_<Down>| <Down> recall next command-line from history that matches pattern in front of the cursor |c_<S-Down>| <S-Down> recall next command-line from history |c_<Home>| <Home> cursor to start of command-line |c_<End>| <End> cursor to end of command-line |c_<PageDown>| <PageDown> same as <S-Down> |c_<PageUp>| <PageUp> same as <S-Up> |c_<Insert>| <Insert> toggle insert/overstrike mode |c_<LeftMouse>| <LeftMouse> cursor at mouse click You found it, Arthur! *holy-grail* ============================================================================== 5. EX commands *ex-cmd-index* *:index* This is a brief but complete listing of all the ":" commands, without mentioning any arguments. The optional part of the command name is inside []. The commands are sorted on the non-optional part of their name. tag command action ~ ------------------------------------------------------------------------------ |:!| :! filter lines or execute an external command |:!!| :!! repeat last ":!" command |:#| :# same as ":number" |:&| :& repeat last ":substitute" |:star| :* execute contents of a register |:<| :< shift lines one 'shiftwidth' left |:=| := print the cursor line number |:>| :> shift lines one 'shiftwidth' right |:@| :@ execute contents of a register |:@@| :@@ repeat the previous ":@" |:Next| :N[ext] go to previous file in the argument list |:Print| :P[rint] print lines |:X| :X ask for encryption key |:append| :a[ppend] append text |:abbreviate| :ab[breviate] enter abbreviation |:abclear| :abc[lear] remove all abbreviations |:aboveleft| :abo[veleft] make split window appear left or above |:all| :al[l] open a window for each file in the argument list |:amenu| :am[enu] enter new menu item for all modes |:anoremenu| :an[oremenu] enter a new menu for all modes that will not be remapped |:args| :ar[gs] print the argument list |:argadd| :arga[dd] add items to the argument list |:argdelete| :argd[elete] delete items from the argument list |:argedit| :arge[dit] add item to the argument list and edit it |:argdo| :argdo do a command on all items in the argument list |:argglobal| :argg[lobal] define the global argument list |:arglocal| :argl[ocal] define a local argument list |:argument| :argu[ment] go to specific file in the argument list |:ascii| :as[cii] print ascii value of character under the cursor |:autocmd| :au[tocmd] enter or show autocommands |:augroup| :aug[roup] select the autocommand group to use |:aunmenu| :aun[menu] remove menu for all modes |:buffer| :b[uffer] go to specific buffer in the buffer list |:bNext| :bN[ext] go to previous buffer in the buffer list |:ball| :ba[ll] open a window for each buffer in the buffer list |:badd| :bad[d] add buffer to the buffer list |:bdelete| :bd[elete] remove a buffer from the buffer list |:behave| :be[have] set mouse and selection behavior |:belowright| :bel[owright] make split window appear right or below |:bfirst| :bf[irst] go to first buffer in the buffer list |:blast| :bl[ast] go to last buffer in the buffer list |:bmodified| :bm[odified] go to next buffer in the buffer list that has been modified |:bnext| :bn[ext] go to next buffer in the buffer list |:botright| :bo[tright] make split window appear at bottom or far right |:bprevious| :bp[revious] go to previous buffer in the buffer list |:brewind| :br[ewind] go to first buffer in the buffer list |:break| :brea[k] break out of while loop |:breakadd| :breaka[dd] add a debugger breakpoint |:breakdel| :breakd[el] delete a debugger breakpoint |:breaklist| :breakl[ist] list debugger breakpoints |:browse| :bro[wse] use file selection dialog |:bufdo| :bufdo execute command in each listed buffer |:buffers| :buffers list all files in the buffer list |:bunload| :bun[load] unload a specific buffer |:bwipeout| :bw[ipeout] really delete a buffer |:change| :c[hange] replace a line or series of lines |:cNext| :cN[ext] go to previous error |:cNfile| :cNf[ile] go to last error in previous file |:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode |:cabclear| :cabc[lear] clear all abbreviations for Command-line mode |:caddbuffer| :cad[dbuffer] add errors from buffer |:caddexpr| :cadde[xpr] add errors from expr |:caddfile| :caddf[ile] add error message to current quickfix list |:call| :cal[l] call a function |:catch| :cat[ch] part of a :try command |:cbuffer| :cb[uffer] parse error messages and jump to first error |:cc| :cc go to specific error |:cclose| :ccl[ose] close quickfix window |:cd| :cd change directory |:center| :ce[nter] format lines at the center |:cexpr| :cex[pr] read errors from expr and jump to first |:cfile| :cf[ile] read file with error messages and jump to first |:cfirst| :cfir[st] go to the specified error, default first one |:cgetbuffer| :cgetb[uffer] get errors from buffer |:cgetexpr| :cgete[xpr] get errors from expr |:cgetfile| :cg[etfile] read file with error messages |:changes| :changes print the change list |:chdir| :chd[ir] change directory |:checkpath| :che[ckpath] list included files |:checktime| :checkt[ime] check timestamp of loaded buffers |:clist| :cl[ist] list all errors |:clast| :cla[st] go to the specified error, default last one |:close| :clo[se] close current window |:cmap| :cm[ap] like ":map" but for Command-line mode |:cmapclear| :cmapc[lear] clear all mappings for Command-line mode |:cmenu| :cme[nu] add menu for Command-line mode |:cnext| :cn[ext] go to next error |:cnewer| :cnew[er] go to newer error list |:cnfile| :cnf[ile] go to first error in next file |:cnoremap| :cno[remap] like ":noremap" but for Command-line mode |:cnoreabbrev| :cnorea[bbrev] like ":noreabbrev" but for Command-line mode |:cnoremenu| :cnoreme[nu] like ":noremenu" but for Command-line mode |:copy| :co[py] copy lines |:colder| :col[der] go to older error list |:colorscheme| :colo[rscheme] load a specific color scheme |:command| :com[mand] create user-defined command |:comclear| :comc[lear] clear all user-defined commands |:compiler| :comp[iler] do settings for a specific compiler |:continue| :con[tinue] go back to :while |:confirm| :conf[irm] prompt user when confirmation required |:copen| :cope[n] open quickfix window |:cprevious| :cp[revious] go to previous error |:cpfile| :cpf[ile] go to last error in previous file |:cquit| :cq[uit] quit Vim with an error code |:crewind| :cr[ewind] go to the specified error, default first one |:cscope| :cs[cope] execute cscope command |:cstag| :cst[ag] use cscope to jump to a tag |:cunmap| :cu[nmap] like ":unmap" but for Command-line mode |:cunabbrev| :cuna[bbrev] like ":unabbrev" but for Command-line mode |:cunmenu| :cunme[nu] remove menu for Command-line mode |:cwindow| :cw[indow] open or close quickfix window |:delete| :d[elete] delete lines |:delmarks| :delm[arks] delete marks |:debug| :deb[ug] run a command in debugging mode |:debuggreedy| :debugg[reedy] read debug mode commands from normal input |:delcommand| :delc[ommand] delete user-defined command |:delfunction| :delf[unction] delete a user function |:diffupdate| :dif[fupdate] update 'diff' buffers |:diffget| :diffg[et] remove differences in current buffer |:diffoff| :diffo[ff] switch off diff mode |:diffpatch| :diffp[atch] apply a patch and show differences |:diffput| :diffpu[t] remove differences in other buffer |:diffsplit| :diffs[plit] show differences with another file |:diffthis| :diffthis make current window a diff window |:digraphs| :dig[raphs] show or enter digraphs |:display| :di[splay] display registers |:djump| :dj[ump] jump to #define |:dl| :dl short for |:delete| with the 'l' flag |:dl| :del[ete]l short for |:delete| with the 'l' flag |:dlist| :dli[st] list #defines |:doautocmd| :do[autocmd] apply autocommands to current buffer |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers |:dp| :d[elete]p short for |:delete| with the 'p' flag |:drop| :dr[op] jump to window editing file or edit file in current window |:dsearch| :ds[earch] list one #define |:dsplit| :dsp[lit] split window and jump to #define |:edit| :e[dit] edit a file |:earlier| :ea[rlier] go to older change, undo |:echo| :ec[ho] echoes the result of expressions |:echoerr| :echoe[rr] like :echo, show like an error and use history |:echohl| :echoh[l] set highlighting for echo commands |:echomsg| :echom[sg] same as :echo, put message in history |:echon| :echon same as :echo, but without <EOL> |:else| :el[se] part of an :if command |:elseif| :elsei[f] part of an :if command |:emenu| :em[enu] execute a menu by name |:endif| :en[dif] end previous :if |:endfor| :endfo[r] end previous :for |:endfunction| :endf[unction] end of a user function |:endtry| :endt[ry] end previous :try |:endwhile| :endw[hile] end previous :while |:enew| :ene[w] edit a new, unnamed buffer |:ex| :ex same as ":edit" |:execute| :exe[cute] execute result of expressions |:exit| :exi[t] same as ":xit" |:exusage| :exu[sage] overview of Ex commands |:file| :f[ile] show or set the current file name |:files| :files list all files in the buffer list |:filetype| :filet[ype] switch file type detection on/off |:find| :fin[d] find file in 'path' and edit it |:finally| :fina[lly] part of a :try command |:finish| :fini[sh] quit sourcing a Vim script |:first| :fir[st] go to the first file in the argument list |:fixdel| :fix[del] set key code of <Del> |:fold| :fo[ld] create a fold |:foldclose| :foldc[lose] close folds |:folddoopen| :foldd[oopen] execute command on lines not in a closed fold |:folddoclosed| :folddoc[losed] execute command on lines in a closed fold |:foldopen| :foldo[pen] open folds |:for| :for for loop |:function| :fu[nction] define a user function |:global| :g[lobal] execute commands for matching lines |:goto| :go[to] go to byte in the buffer |:grep| :gr[ep] run 'grepprg' and jump to first match |:grepadd| :grepa[dd] like :grep, but append to current list |:gui| :gu[i] start the GUI |:gvim| :gv[im] start the GUI |:hardcopy| :ha[rdcopy] send text to the printer |:help| :h[elp] open a help window |:helpclose| :helpc[lose] close one help window |:helpfind| :helpf[ind] dialog to open a help window |:helpgrep| :helpg[rep] like ":grep" but searches help files |:helptags| :helpt[ags] generate help tags for a directory |:highlight| :hi[ghlight] specify highlighting methods |:hide| :hid[e] hide current buffer for a command |:history| :his[tory] print a history list |:insert| :i[nsert] insert text |:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode |:iabclear| :iabc[lear] like ":abclear" but for Insert mode |:if| :if execute commands when condition met |:ijump| :ij[ump] jump to definition of identifier |:ilist| :il[ist] list lines where identifier matches |:imap| :im[ap] like ":map" but for Insert mode |:imapclear| :imapc[lear] like ":mapclear" but for Insert mode |:imenu| :ime[nu] add menu for Insert mode |:inoremap| :ino[remap] like ":noremap" but for Insert mode |:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode |:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode |:intro| :int[ro] print the introductory message |:isearch| :is[earch] list one line where identifier matches |:isplit| :isp[lit] split window and jump to definition of identifier |:iunmap| :iu[nmap] like ":unmap" but for Insert mode |:iunabbrev| :iuna[bbrev] like ":unabbrev" but for Insert mode |:iunmenu| :iunme[nu] remove menu for Insert mode |:join| :j[oin] join lines |:jumps| :ju[mps] print the jump list |:k| :k set a mark |:keepalt| :keepa[lt] following command keeps the alternate file |:keepmarks| :kee[pmarks] following command keeps marks where they are |:keepjumps| :keepj[umps] following command keeps jumplist and marks |:keeppatterns| :keepp[atterns] following command keeps search pattern history |:lNext| :lN[ext] go to previous entry in location list |:lNfile| :lNf[ile] go to last entry in previous file |:list| :l[ist] print lines |:laddexpr| :lad[dexpr] add locations from expr |:laddbuffer| :laddb[uffer] add locations from buffer |:laddfile| :laddf[ile] add locations to current location list |:last| :la[st] go to the last file in the argument list |:language| :lan[guage] set the language (locale) |:later| :lat[er] go to newer change, redo |:lbuffer| :lb[uffer] parse locations and jump to first location |:lcd| :lc[d] change directory locally |:lchdir| :lch[dir] change directory locally |:lclose| :lcl[ose] close location window |:lcscope| :lcs[cope] like ":cscope" but uses location list |:left| :le[ft] left align lines |:leftabove| :lefta[bove] make split window appear left or above |:let| :let assign a value to a variable or option |:lexpr| :lex[pr] read locations from expr and jump to first |:lfile| :lf[ile] read file with locations and jump to first |:lfirst| :lfir[st] go to the specified location, default first one |:lgetbuffer| :lgetb[uffer] get locations from buffer |:lgetexpr| :lgete[xpr] get locations from expr |:lgetfile| :lg[etfile] read file with locations |:lgrep| :lgr[ep] run 'grepprg' and jump to first match |:lgrepadd| :lgrepa[dd] like :grep, but append to current list |:lhelpgrep| :lh[elpgrep] like ":helpgrep" but uses location list |:ll| :ll go to specific location |:llast| :lla[st] go to the specified location, default last one |:llist| :lli[st] list all locations |:lmake| :lmak[e] execute external command 'makeprg' and parse error messages |:lmap| :lm[ap] like ":map!" but includes Lang-Arg mode |:lmapclear| :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode |:lnext| :lne[xt] go to next location |:lnewer| :lnew[er] go to newer location list |:lnfile| :lnf[ile] go to first location in next file |:lnoremap| :ln[oremap] like ":noremap!" but includes Lang-Arg mode |:loadkeymap| :loadk[eymap] load the following keymaps until EOF |:loadview| :lo[adview] load view for current window from a file |:lockmarks| :loc[kmarks] following command keeps marks where they are |:lockvar| :lockv[ar] lock variables |:lolder| :lol[der] go to older location list |:lopen| :lope[n] open location window |:lprevious| :lp[revious] go to previous location |:lpfile| :lpf[ile] go to last location in previous file |:lrewind| :lr[ewind] go to the specified location, default first one |:ls| :ls list all buffers |:ltag| :lt[ag] jump to tag and add matching tags to the location list |:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode |:lua| :lua execute |Lua| command |:luado| :luad[o] execute Lua command for each line |:luafile| :luaf[ile] execute |Lua| script file |:lvimgrep| :lv[imgrep] search for pattern in files |:lvimgrepadd| :lvimgrepa[dd] like :vimgrep, but append to current list |:lwindow| :lw[indow] open or close location window |:move| :m[ove] move lines |:mark| :ma[rk] set a mark |:make| :mak[e] execute external command 'makeprg' and parse error messages |:map| :map show or enter a mapping |:mapclear| :mapc[lear] clear all mappings for Normal and Visual mode |:marks| :marks list all marks |:match| :mat[ch] define a match to highlight |:menu| :me[nu] enter a new menu item |:menutranslate| :menut[ranslate] add a menu translation item |:messages| :mes[sages] view previously displayed messages |:mkexrc| :mk[exrc] write current mappings and settings to a file |:mksession| :mks[ession] write session info to a file |:mkspell| :mksp[ell] produce .spl spell file |:mkvimrc| :mkv[imrc] write current mappings and settings to a file |:mkview| :mkvie[w] write view of current window to a file |:mode| :mod[e] show or change the screen mode |:mzscheme| :mz[scheme] execute MzScheme command |:mzfile| :mzf[ile] execute MzScheme script file |:nbclose| :nbc[lose] close the current Netbeans session |:nbkey| :nb[key] pass a key to Netbeans |:nbstart| :nbs[art] start a new Netbeans session |:next| :n[ext] go to next file in the argument list |:new| :new create a new empty window |:nmap| :nm[ap] like ":map" but for Normal mode |:nmapclear| :nmapc[lear] clear all mappings for Normal mode |:nmenu| :nme[nu] add menu for Normal mode |:nnoremap| :nn[oremap] like ":noremap" but for Normal mode |:nnoremenu| :nnoreme[nu] like ":noremenu" but for Normal mode |:noautocmd| :noa[utocmd] following commands don't trigger autocommands |:noremap| :no[remap] enter a mapping that will not be remapped |:nohlsearch| :noh[lsearch] suspend 'hlsearch' highlighting |:noreabbrev| :norea[bbrev] enter an abbreviation that will not be remapped |:noremenu| :noreme[nu] enter a menu that will not be remapped |:normal| :norm[al] execute Normal mode commands |:noswapfile| :nos[wapfile] following commands don't create a swap file |:number| :nu[mber] print lines with line number |:nunmap| :nun[map] like ":unmap" but for Normal mode |:nunmenu| :nunme[nu] remove menu for Normal mode |:oldfiles| :ol[dfiles] list files that have marks in the viminfo file |:open| :o[pen] start open mode (not implemented) |:omap| :om[ap] like ":map" but for Operator-pending mode |:omapclear| :omapc[lear] remove all mappings for Operator-pending mode |:omenu| :ome[nu] add menu for Operator-pending mode |:only| :on[ly] close all windows except the current one |:onoremap| :ono[remap] like ":noremap" but for Operator-pending mode |:onoremenu| :onoreme[nu] like ":noremenu" but for Operator-pending mode |:options| :opt[ions] open the options-window |:ounmap| :ou[nmap] like ":unmap" but for Operator-pending mode |:ounmenu| :ounme[nu] remove menu for Operator-pending mode |:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window |:pclose| :pc[lose] close preview window |:pedit| :ped[it] edit file in the preview window |:perl| :pe[rl] execute Perl command |:print| :p[rint] print lines |:profdel| :profd[el] stop profiling a function or script |:profile| :prof[ile] profiling functions and scripts |:promptfind| :pro[mptfind] open GUI dialog for searching |:promptrepl| :promptr[epl] open GUI dialog for search/replace |:perldo| :perld[o] execute Perl command for each line |:pop| :po[p] jump to older entry in tag stack |:popup| :popu[p] popup a menu by name |:ppop| :pp[op] ":pop" in preview window |:preserve| :pre[serve] write all text to swap file |:previous| :prev[ious] go to previous file in argument list |:psearch| :ps[earch] like ":ijump" but shows match in preview window |:ptag| :pt[ag] show tag in preview window |:ptNext| :ptN[ext] |:tNext| in preview window |:ptfirst| :ptf[irst] |:trewind| in preview window |:ptjump| :ptj[ump] |:tjump| and show tag in preview window |:ptlast| :ptl[ast] |:tlast| in preview window |:ptnext| :ptn[ext] |:tnext| in preview window |:ptprevious| :ptp[revious] |:tprevious| in preview window |:ptrewind| :ptr[ewind] |:trewind| in preview window |:ptselect| :pts[elect] |:tselect| and show tag in preview window |:put| :pu[t] insert contents of register in the text |:pwd| :pw[d] print current directory |:py3| :py3 execute Python 3 command |:python3| :python3 same as :py3 |:py3do| :py3d[o] execute Python 3 command for each line |:py3file| :py3f[ile] execute Python 3 script file |:python| :py[thon] execute Python command |:pydo| :pyd[o] execute Python command for each line |:pyfile| :pyf[ile] execute Python script file |:quit| :q[uit] quit current window (when one window quit Vim) |:quitall| :quita[ll] quit Vim |:qall| :qa[ll] quit Vim |:read| :r[ead] read file into the text |:recover| :rec[over] recover a file from a swap file |:redo| :red[o] redo one undone change |:redir| :redi[r] redirect messages to a file or register |:redraw| :redr[aw] force a redraw of the display |:redrawstatus| :redraws[tatus] force a redraw of the status line(s) |:registers| :reg[isters] display the contents of registers |:resize| :res[ize] change current window height |:retab| :ret[ab] change tab size |:return| :retu[rn] return from a user function |:rewind| :rew[ind] go to the first file in the argument list |:right| :ri[ght] right align text |:rightbelow| :rightb[elow] make split window appear right or below |:ruby| :rub[y] execute Ruby command |:rubydo| :rubyd[o] execute Ruby command for each line |:rubyfile| :rubyf[ile] execute Ruby script file |:rundo| :rund[o] read undo information from a file |:runtime| :ru[ntime] source vim scripts in 'runtimepath' |:rviminfo| :rv[iminfo] read from viminfo file |:substitute| :s[ubstitute] find and replace text |:sNext| :sN[ext] split window and go to previous file in argument list |:sandbox| :san[dbox] execute a command in the sandbox |:sargument| :sa[rgument] split window and go to specific file in argument list |:sall| :sal[l] open a window for each file in argument list |:saveas| :sav[eas] save file under another name. |:sbuffer| :sb[uffer] split window and go to specific file in the buffer list |:sbNext| :sbN[ext] split window and go to previous file in the buffer list |:sball| :sba[ll] open a window for each file in the buffer list |:sbfirst| :sbf[irst] split window and go to first file in the buffer list |:sblast| :sbl[ast] split window and go to last file in buffer list |:sbmodified| :sbm[odified] split window and go to modified file in the buffer list |:sbnext| :sbn[ext] split window and go to next file in the buffer list |:sbprevious| :sbp[revious] split window and go to previous file in the buffer list |:sbrewind| :sbr[ewind] split window and go to first file in the buffer list |:scriptnames| :scr[iptnames] list names of all sourced Vim scripts |:scriptencoding| :scripte[ncoding] encoding used in sourced Vim script |:scscope| :scs[cope] split window and execute cscope command |:set| :se[t] show or set options |:setfiletype| :setf[iletype] set 'filetype', unless it was set already |:setglobal| :setg[lobal] show global values of options |:setlocal| :setl[ocal] show or set options locally |:sfind| :sf[ind] split current window and edit file in 'path' |:sfirst| :sfir[st] split window and go to first file in the argument list |:shell| :sh[ell] escape to a shell |:simalt| :sim[alt] Win32 GUI: simulate Windows ALT key |:sign| :sig[n] manipulate signs |:silent| :sil[ent] run a command silently |:sleep| :sl[eep] do nothing for a few seconds |:slast| :sla[st] split window and go to last file in the argument list |:smagic| :sm[agic] :substitute with 'magic' |:smap| :smap like ":map" but for Select mode |:smapclear| :smapc[lear] remove all mappings for Select mode |:smenu| :sme[nu] add menu for Select mode |:snext| :sn[ext] split window and go to next file in the argument list |:sniff| :sni[ff] send request to sniff |:snomagic| :sno[magic] :substitute with 'nomagic' |:snoremap| :snor[emap] like ":noremap" but for Select mode |:snoremenu| :snoreme[nu] like ":noremenu" but for Select mode |:sort| :sor[t] sort lines |:source| :so[urce] read Vim or Ex commands from a file |:spelldump| :spelld[ump] split window and fill with all correct words |:spellgood| :spe[llgood] add good word for spelling |:spellinfo| :spelli[nfo] show info about loaded spell files |:spellrepall| :spellr[epall] replace all bad words like last |z=| |:spellundo| :spellu[ndo] remove good or bad word |:spellwrong| :spellw[rong] add spelling mistake |:split| :sp[lit] split current window |:sprevious| :spr[evious] split window and go to previous file in the argument list |:srewind| :sre[wind] split window and go to first file in the argument list |:stop| :st[op] suspend the editor or escape to a shell |:stag| :sta[g] split window and jump to a tag |:startinsert| :star[tinsert] start Insert mode |:startgreplace| :startg[replace] start Virtual Replace mode |:startreplace| :startr[eplace] start Replace mode |:stopinsert| :stopi[nsert] stop Insert mode |:stjump| :stj[ump] do ":tjump" and split window |:stselect| :sts[elect] do ":tselect" and split window |:sunhide| :sun[hide] same as ":unhide" |:sunmap| :sunm[ap] like ":unmap" but for Select mode |:sunmenu| :sunme[nu] remove menu for Select mode |:suspend| :sus[pend] same as ":stop" |:sview| :sv[iew] split window and edit file read-only |:swapname| :sw[apname] show the name of the current swap file |:syntax| :sy[ntax] syntax highlighting |:syntime| :synti[me] measure syntax highlighting speed |:syncbind| :sync[bind] sync scroll binding |:t| :t same as ":copy" |:tNext| :tN[ext] jump to previous matching tag |:tabNext| :tabN[ext] go to previous tab page |:tabclose| :tabc[lose] close current tab page |:tabdo| :tabdo execute command in each tab page |:tabedit| :tabe[dit] edit a file in a new tab page |:tabfind| :tabf[ind] find file in 'path', edit it in a new tab page |:tabfirst| :tabfir[st] got to first tab page |:tablast| :tabl[ast] got to last tab page |:tabmove| :tabm[ove] move tab page to other position |:tabnew| :tabnew edit a file in a new tab page |:tabnext| :tabn[ext] go to next tab page |:tabonly| :tabo[nly] close all tab pages except the current one |:tabprevious| :tabp[revious] go to previous tab page |:tabrewind| :tabr[ewind] got to first tab page |:tabs| :tabs list the tab pages and what they contain |:tab| :tab create new tab when opening new window |:tag| :ta[g] jump to tag |:tags| :tags show the contents of the tag stack |:tcl| :tc[l] execute Tcl command |:tcldo| :tcld[o] execute Tcl command for each line |:tclfile| :tclf[ile] execute Tcl script file |:tearoff| :te[aroff] tear-off a menu |:tfirst| :tf[irst] jump to first matching tag |:throw| :th[row] throw an exception |:tjump| :tj[ump] like ":tselect", but jump directly when there is only one match |:tlast| :tl[ast] jump to last matching tag |:tmenu| :tm[enu] define menu tooltip |:tnext| :tn[ext] jump to next matching tag |:topleft| :to[pleft] make split window appear at top or far left |:tprevious| :tp[revious] jump to previous matching tag |:trewind| :tr[ewind] jump to first matching tag |:try| :try execute commands, abort on error or exception |:tselect| :ts[elect] list matching tags and select one |:tunmenu| :tu[nmenu] remove menu tooltip |:undo| :u[ndo] undo last change(s) |:undojoin| :undoj[oin] join next change with previous undo block |:undolist| :undol[ist] list leafs of the undo tree |:unabbreviate| :una[bbreviate] remove abbreviation |:unhide| :unh[ide] open a window for each loaded file in the buffer list |:unlet| :unl[et] delete variable |:unlockvar| :unlo[ckvar] unlock variables |:unmap| :unm[ap] remove mapping |:unmenu| :unme[nu] remove menu |:unsilent| :uns[ilent] run a command not silently |:update| :up[date] write buffer if modified |:vglobal| :v[global] execute commands for not matching lines |:version| :ve[rsion] print version number and other info |:verbose| :verb[ose] execute command with 'verbose' set |:vertical| :vert[ical] make following command split vertically |:vimgrep| :vim[grep] search for pattern in files |:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list |:visual| :vi[sual] same as ":edit", but turns off "Ex" mode |:viusage| :viu[sage] overview of Normal mode commands |:view| :vie[w] edit a file read-only |:vmap| :vm[ap] like ":map" but for Visual+Select mode |:vmapclear| :vmapc[lear] remove all mappings for Visual+Select mode |:vmenu| :vme[nu] add menu for Visual+Select mode |:vnew| :vne[w] create a new empty window, vertically split |:vnoremap| :vn[oremap] like ":noremap" but for Visual+Select mode |:vnoremenu| :vnoreme[nu] like ":noremenu" but for Visual+Select mode |:vsplit| :vs[plit] split current window vertically |:vunmap| :vu[nmap] like ":unmap" but for Visual+Select mode |:vunmenu| :vunme[nu] remove menu for Visual+Select mode |:windo| :windo execute command in each window |:write| :w[rite] write to a file |:wNext| :wN[ext] write to a file and go to previous file in argument list |:wall| :wa[ll] write all (changed) buffers |:while| :wh[ile] execute loop for as long as condition met |:winsize| :wi[nsize] get or set window size (obsolete) |:wincmd| :winc[md] execute a Window (CTRL-W) command |:winpos| :winp[os] get or set window position |:wnext| :wn[ext] write to a file and go to next file in argument list |:wprevious| :wp[revious] write to a file and go to previous file in argument list |:wq| :wq write to a file and quit window or Vim |:wqall| :wqa[ll] write all changed buffers and quit Vim |:wsverb| :ws[verb] pass the verb to workshop over IPC |:wundo| :wu[ndo] write undo information to a file |:wviminfo| :wv[iminfo] write to viminfo file |:xit| :x[it] write if buffer changed and quit window or Vim |:xall| :xa[ll] same as ":wqall" |:xmapclear| :xmapc[lear] remove all mappings for Visual mode |:xmap| :xm[ap] like ":map" but for Visual mode |:xmenu| :xme[nu] add menu for Visual mode |:xnoremap| :xn[oremap] like ":noremap" but for Visual mode |:xnoremenu| :xnoreme[nu] like ":noremenu" but for Visual mode |:xunmap| :xu[nmap] like ":unmap" but for Visual mode |:xunmenu| :xunme[nu] remove menu for Visual mode |:yank| :y[ank] yank lines into a register |:z| :z print some lines |:~| :~ repeat last ":substitute" vim:tw=78:ts=8:ft=help:norl:
{ "language": "Assembly" }
// Copyright Vladimir Prus 2004. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_CMDLINE_HPP_VP_2004_03_13 #define BOOST_CMDLINE_HPP_VP_2004_03_13 namespace boost { namespace program_options { namespace command_line_style { /** Various possible styles of options. There are "long" options, which start with "--" and "short", which start with either "-" or "/". Both kinds can be allowed or disallowed, see allow_long and allow_short. The allowed character for short options is also configurable. Option's value can be specified in the same token as name ("--foo=bar"), or in the next token. It's possible to introduce long options by the same character as short options, see allow_long_disguise. Finally, guessing (specifying only prefix of option) and case insensitive processing are supported. */ enum style_t { /// Allow "--long_name" style allow_long = 1, /// Allow "-<single character" style allow_short = allow_long << 1, /// Allow "-" in short options allow_dash_for_short = allow_short << 1, /// Allow "/" in short options allow_slash_for_short = allow_dash_for_short << 1, /** Allow option parameter in the same token for long option, like in @verbatim --foo=10 @endverbatim */ long_allow_adjacent = allow_slash_for_short << 1, /** Allow option parameter in the next token for long options. */ long_allow_next = long_allow_adjacent << 1, /** Allow option parameter in the same token for short options. */ short_allow_adjacent = long_allow_next << 1, /** Allow option parameter in the next token for short options. */ short_allow_next = short_allow_adjacent << 1, /** Allow to merge several short options together, so that "-s -k" become "-sk". All of the options but last should accept no parameter. For example, if "-s" accept a parameter, then "k" will be taken as parameter, not another short option. Dos-style short options cannot be sticky. */ allow_sticky = short_allow_next << 1, /** Allow abbreviated spellings for long options, if they unambiguously identify long option. No long option name should be prefix of other long option name if guessing is in effect. */ allow_guessing = allow_sticky << 1, /** Ignore the difference in case for long options. */ long_case_insensitive = allow_guessing << 1, /** Ignore the difference in case for short options. */ short_case_insensitive = long_case_insensitive << 1, /** Ignore the difference in case for all options. */ case_insensitive = (long_case_insensitive | short_case_insensitive), /** Allow long options with single option starting character, e.g <tt>-foo=10</tt> */ allow_long_disguise = short_case_insensitive << 1, /** The more-or-less traditional unix style. */ unix_style = (allow_short | short_allow_adjacent | short_allow_next | allow_long | long_allow_adjacent | long_allow_next | allow_sticky | allow_guessing | allow_dash_for_short), /** The default style. */ default_style = unix_style }; }}} #endif
{ "language": "Assembly" }