From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 3B3A74C1EC for ; Tue, 23 Jul 2024 11:28:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2C8D168D565; Tue, 23 Jul 2024 14:28:30 +0300 (EEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2ABCD689E58 for ; Tue, 23 Jul 2024 14:28:23 +0300 (EEST) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52f0277daa5so3596443e87.0 for ; Tue, 23 Jul 2024 04:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1721734102; x=1722338902; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KL3c+IHG0UIaYwPfwtBs2SPjILTPfZ3V7Lk15/fAlhY=; b=aMnwTj+F2mBHWw6UzYn32iSeB7hMRUNW1IxWwzlXbWx8CslJg+8VbyuzjDVoxVmzBE wkICOu2ZpgJHIco3BF4PbdkHkP5g3uRvnK3zb3sHao8sPtAbxmCWozocme36aMtXaOW+ 3A3WnPds8TihsCJ0Uv2cT8lVe2Dtl0OkM0RRCCU6kjszsy09TgPiZjDv+zW5EeNBJo5Z GlBqqTqEGTmXLNIzRdAmoToSjStxb5otxsJ7gLL0wWaSok4cVOCL8y/ON2wFWYzwvW4l vCYkh5mmuHpXRY7V+oXula/eNZo4ErlO20DbKqAp9KlxDbB6a5wbZ1EBR3DDFOyKUqxe bdNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734102; x=1722338902; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KL3c+IHG0UIaYwPfwtBs2SPjILTPfZ3V7Lk15/fAlhY=; b=EQ4em6/i0zbZ9dm8fbhW8lmFs6Ue7wKPCcpsYOeCY7yx2FUsALP34XwDRpfuJzkjub +95S1m6/XkEsy7xmsUF220I3xDG67xa4AboE7TkuPc9kf65Cz+qQLcmjNm1igENPGWjo mflOVsrn/V6TFYuIZ39lfCkLXySJ9Zaoz8NCLHStP9CIFr+l/ectEVEAirQC27TPzC1Y 2lbZa4ObZtbf8VzmHlLzKBj4fggGNfpsGelIbiymV6e9hE5Ouq5HkdKPse6dfJ14wMVS cD39ZHFsnq5KTk1Nj10Rw8M1EMKcfNGI5R0ADaApWGpUvjU9a9rJp8/ujOVwswEfa9UE U1mw== X-Gm-Message-State: AOJu0Yxswi5UM8neRKsl0GkVKLwi0G7VC/uy5qXk9iOqkPiOONtQZ+7E 6afT8lLjc/iktypQdERFTxqRb70RoIo4NZngPNStliN7e+fyofE8hLQlfVrn8KJ70fX/6uegOF0 tYw== X-Google-Smtp-Source: AGHT+IH0xUmLU0CqeRZ67PBrkiLTteneWJgc+w8CvJxY6aKZz2R5wb1mGhSaNuAddXZpvK2yg7K9yQ== X-Received: by 2002:a05:6512:1114:b0:52e:91ff:4709 with SMTP id 2adb3069b0e04-52efb63f078mr6592280e87.21.1721734102048; Tue, 23 Jul 2024 04:28:22 -0700 (PDT) Received: from localhost (dsl-tkubng21-58c01c-243.dhcp.inet.fi. [88.192.28.243]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f00af7cc5sm967180e87.85.2024.07.23.04.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:21 -0700 (PDT) From: =?UTF-8?q?Martin=20Storsj=C3=B6?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 23 Jul 2024 14:28:20 +0300 Message-Id: <20240723112821.2185107-1-martin@martin.st> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] aarch64: vvc: Fix compilation of alf.S with MSVC 2022 17.7 and older X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Zhao Zhili Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Use the "ldur" instruction explicitly, instead of having the assembler implicitly convert "ldr" instructions to "ldur". This fixes build errors like these: libavcodec\aarch64\vvc\alf.o.asm(1023) : error A2518: operand 2: Memory offset must be aligned ldr q22, [x3, #24] libavcodec\aarch64\vvc\alf.o.asm(1024) : error A2518: operand 2: Memory offset must be aligned ldr q24, [x2, #24] libavcodec\aarch64\vvc\alf.o.asm(1393) : error A2518: operand 2: Memory offset must be aligned ldr q22, [x3, #24] libavcodec\aarch64\vvc\alf.o.asm(1394) : error A2518: operand 2: Memory offset must be aligned ldr q24, [x2, #24] --- libavcodec/aarch64/vvc/alf.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/aarch64/vvc/alf.S b/libavcodec/aarch64/vvc/alf.S index beb36ac66b..828031cb90 100644 --- a/libavcodec/aarch64/vvc/alf.S +++ b/libavcodec/aarch64/vvc/alf.S @@ -81,8 +81,8 @@ .endif ldr q0, [clip] // clip ldr q1, [filter] // filter - ldr q22, [clip, #24] // clip - ldr q24, [filter, #24] // filter + ldur q22, [clip, #24] // clip + ldur q24, [filter, #24] // filter ldr x5, [pp] // x5: p0 ldr x6, [pp, #(5*8)] // x6: p5 -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".