From 54c10ec475bc3f59bae7b5c84c971e67169f835d Mon Sep 17 00:00:00 2001 From: Mike <45243121+tankf33der@users.noreply.github.com> Date: Mon, 24 Mar 2025 01:03:42 +0200 Subject: [PATCH] cgen: fix asm comments of arm32 (#24025) --- vlib/v/gen/c/cheaders.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vlib/v/gen/c/cheaders.v b/vlib/v/gen/c/cheaders.v index da700feb20..5efbaf589d 100644 --- a/vlib/v/gen/c/cheaders.v +++ b/vlib/v/gen/c/cheaders.v @@ -113,15 +113,15 @@ static char __CLOSURE_GET_DATA_BYTES[] = { static char __closure_thunk[] = { 0x04, 0xC0, 0x4F, 0xE2, // adr ip, here // here: - 0x01, 0xC9, 0x4C, 0xE2, // sub ip, ip, #4000 + 0x01, 0xC9, 0x4C, 0xE2, // sub ip, ip, #0x4000 0x90, 0xCA, 0x07, 0xEE, // vmov s15, ip 0x00, 0xC0, 0x9C, 0xE5, // ldr ip, [ip, 0] 0x1C, 0xFF, 0x2F, 0xE1 // bx ip }; static char __CLOSURE_GET_DATA_BYTES[] = { - 0x90, 0x0A, 0x17, 0xEE, - 0x04, 0x00, 0x10, 0xE5, - 0x1E, 0xFF, 0x2F, 0xE1 + 0x90, 0x0A, 0x17, 0xEE, // vmov r0, s15 + 0x04, 0x00, 0x10, 0xE5, // ldr r0, [r0, #-4] + 0x1E, 0xFF, 0x2F, 0xE1 // bx lr }; #elif defined (__V_rv64) static char __closure_thunk[] = {