FlexClass0 码力 | 8 页 | 957.56 KB | 1 年前3
1.2.1 Go on Loong64过去时代的余晖 最早的 loong64 port 代码有明显的 mips64x痕迹,目前仍有部分残留。 代码风格、组织方式不够现代(Plan9时代,机翻味道) 少数用户可感知的部分之一:Go asm 语法 MOVV是向量搬运吗? ADDVU 是无符号运算吗? 好在:大部分坑和褶皱仍然属于实现细节,可以重构。 ’ alt=‘OCR图片’/> 今我來思 雨雪霏霏 今天 ’ alt=‘OCR图片’/> 其他构建系统:化归为一般性的发行版打包问题 ’ alt=‘OCR图片’/> 新鲜事:go1.21 更多构建模式:buildmode={pie,c-archive,c-shared} cmd/asm LoongArch ELF psABI v2 性能优化软柿子 perf +~1% & 硬核桃 perf +2.33% +0.29%! cmd/compile 以MASKEQZ优化移位操作 s loop: LA464中的4有什么深刻含义? ’ alt=‘OCR图片’/> 第三部分 明天 一月三捷 豈敢定居 一月三捷 ’ alt=‘OCR图片’/> 下阶段的上游工作 梳理、重构 asm 后端 从机器可读的指令描述数据,自动生成相关代码 整理汇编语法 规范化助记符、操作数顺序等,去除特例 需要保持兼容历史版本 x/sys等 更完善的指令支持:LA64 v1.00查漏补缺,LA664新用法,…0 码力 | 27 页 | 1.31 MB | 1 月前3
Performance Matters~15UL; for (size_t i = 0; i < size; i += 16) { asm("icbi 0,%0" : : "r"(p)); p += 16; } asm("isync"); } DataHeapType* getDataHeap() { static 0; i < size; i += 32) { asm("icbi 0,%0" : : "r"(p)); p += 32; } for (size_t i = 16; i < size; i += 32) { asm("icbi 0,%0" : : "r"(p)); "r"(p)); p += 32; } asm("isync"); } DataHeapType* getDataHeap() { static char buf[sizeof(DataHeapType)]; static DataHeapType* _theDataHeap = new (buf) DataHeapType;0 码力 | 197 页 | 11.90 MB | 1 年前3
曾宇星 如何实现 Istio 服务网格自定义扩展功能kind: EnvoyFilter metadata: name: productpage-v1-examplefilter labels: asm-system: 'true' provider: asm spec: configPatches: - applyTo: HTTP_FILTER match: context: colspan="3">apiVersion: networking.istio.io/v1alpha3kind: EnvoyFiltermetadata:labels:provider: "asm"asm-system: "true"name: nacos-subscribe-luanamespace: istio-systemspec:configPatches:# The e:"type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua"inlineCodes:|— copyright: ASM (Alibaba Cloud ServiceMesh)function envoy on request(request handle)local request_headers = request_handle(headers)-0 码力 | - 页 | 3.36 MB | 1 年前3
简明 X86 汇编语言教程 的语法, 需要一个长的介绍. Nasm 调用时应该带上 ELF 格式选项("nasm -f elf hello.asm"); 产生的目标文件用 GCC 来链接("gcc hello.o"), 产生最终的 ELF 二进制代码. 下面的这个脚本可用来编译 ASM 的模块; 我尽量把它写得简单, 所以所有它做的就是接受传给它的第一个文件名, 用 Nasm 编译, 用 GCC 来链接 $tempfile -f #EOF ### 6.2 基本示例 了解系统细节之前从一个例子开始。这里是一个最基本的"hello-word"形式的程序: ; asmhello.asm global main extern printf section .data msg db "Hellooooo, nurse!", 0Dh, 0Ah, 0 section .text Linux 下,你是在 "API" 或中断服务的场所里使用系统带来的标准共享库。所有的外部引用由 GCC 管理,它给 asm 程序员节省了大部分的工作。一旦你习惯了基本的技巧,Linux 下的汇编编程实际上要比 DOS 简单的多。 hello.asm 是调用了 Linux 系统的 puts 函数,原理与调用 DOS 下 C 语言的函数相同,先用 extern 声明 puts 是外部函数,再把参数(即0 码力 | 63 页 | 598.28 KB | 2 年前3
The Zig Programming Language 0.12.0 Documentationmain(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:253:5: 0x103: asm volatile (switch (native_arch) { All 1 tests passed. 1 errors were logged. 1 tests leaked memory root.main(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:253:5: 0x103 asm volatile (switch (native_arch) { ???::?: 0x0 in ??? (???) error: the following test command crashed: root.main(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:253:5: 0x103 asm volatile (switch (native_arch) { ???::?:: 0x0 in ??? (???) error: the following test command crashed:0 码力 | 241 页 | 7.37 MB | 2 年前3
The Zig Programming Language 0.11.0 Documentationroot.main(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:243:5:0x224 asm volatile (switch (native_arch) { ???::?:0x0 in ??? (???) error: the following test command crashed: root.main(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:243:5: 0x224 asm volatile (switch (native_arch) { ???::?:: 0x0 in ??? (???) error: the following test command crashed: 0x22root.main(); /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/start.zig:243:5: 0x224asm volatile (switch (native_arch) { ???::?:: 0x0 in ??? (???) error: the following test command crashed:0 码力 | 238 页 | 7.80 MB | 2 年前3
Extending service mesh capabilities using a streamlined way based on WASM and ORAS[Image](/uploads/documents/8/4/0/6/8406eb1be23bbbcdfca562ddc62f7784/p1_1.jpg) Istio服务网格技术解析与实践 王夕宁 | 阿里云服务网格ASM IstioCon Istio in Action Istio服务网格 技术解析与实践 3.75 48 青城城建城100年 江江建城百人本,长江建城百家个市国林,2000 江江建城百人本,长江建城百家个市国林,2000 cn-hangzhou.cr.aliyuncs.com ## 通过oras push命令推送 ☑ oras push acree-1-registry.cn-hangzhou.cr.aliyuncs.com/asm/asm-test:v0.1 --manifest-config runtime- config.json: application/vnd.module.wasm.config.v1+json example-filter / 镜像仓库 / 镜像版本 ← asm-test ## 阿里云服务网格ASM架构 To be integrated: Web Console/Open API/SDK Cloud Native API, Compatible w/ Istio Integration w/ Aliyun Cloud Alibaba Cloud Service Mesh (ASM) Integration/Extension0 码力 | 23 页 | 2.67 MB | 1 年前3
Dapr september 2023 security audit report/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0x7fffb29cd820 sp=0x7fffb29cd818 pc=0x462329 goroutine 1 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:463 fp=0xc00011bc68 +0x207 fp=0xc00011bfe0 sp=0xc00011bf80 pc=0x437367 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00011bfe8 sp=0xc00011bfe0 pc=0x4644e1 goroutine 2 [force gc (idle)]: runtime +0xb0 fp=0xc00004efe0 sp=0xc00004efb0 pc=0x4375d0 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00004efe8 sp=0xc00004efe0 pc=0x4644e1 created by runtime.init.6 /usr0 码力 | 47 页 | 1.05 MB | 2 年前3
Better x86 Assembly Generation with GoFile 2695 internal/x/crypto/.../chacha20poly1305_amd64.s 2348 crypto/elliptic/p256_asm_amd64.s 1632 runtime/asm_amd64.s 1500 crypto/sha1/sha1block_amd64.s 1468 crypto/sha512/sha512block_amd64.s 1377 File 2695 internal/x/crypto/.../chacha20poly1305_amd64.s 2348 crypto/elliptic/p256_asm_amd64.s 1632 runtime/asm_amd64.s 1500 crypto/sha1/sha1block_amd64.s 1468 crypto/sha512/sha512block_amd64.s 1377 CMOVQNE acc0, acc4 CMOVQNE acc1, acc5 CMOVQNE acc2, acc6 CMOVQNE acc3, acc7 RET crypto/elliptic/p256_asm_amd64.s lines 1300-1324 (94e44a9c8e) crypto/elliptic: carry bug in x86-64 P-256 #20040 Closed agI0 码力 | 155 页 | 13.54 MB | 2 年前3
共 550 条
- 1
- 2
- 3
- 4
- 5
- 6
- 55
相关搜索词
FlexClassBlockmake_sharedASMC++Go asm 语法linux/loong64go1.21go1.22LOONGARCHPerformance AnalysisPerformance ProfilingLatencyThroughputCachingIstioService MeshEnvoyWasmPluginLua汇编语言X86指令集内存操作中断处理编译优化Zig LanguageStandard LibraryC InteropTestingBuild SystemZig语言标准库内联汇编构建系统交叉平台服务网格WASMORAS动态插件管理生命周期管理Dapr安全审计漏洞供应链威胁建模Gox86汇编代码生成编译器













