File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: Apache-2.0
22// ----------------------------------------------------------------------------
3- // Copyright 2011-2024 Arm Limited
3+ // Copyright 2011-2025 Arm Limited
44//
55// Licensed under the Apache License, Version 2.0 (the "License"); you may not
66// use this file except in compliance with the License. You may obtain a copy
4848 #define ASTCENC_SSE 42
4949 #elif defined(__SSE4_1__)
5050 #define ASTCENC_SSE 41
51- #elif defined(__SSE2__)
51+ #elif defined(__SSE2__) || (defined(_M_AMD64) && !defined(_M_ARM64EC))
5252 #define ASTCENC_SSE 20
5353 #else
5454 #define ASTCENC_SSE 0
6868#endif
6969
7070#ifndef ASTCENC_NEON
71- #if defined(__aarch64__)
71+ #if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
7272 #define ASTCENC_NEON 1
7373 #else
7474 #define ASTCENC_NEON 0
You can’t perform that action at this time.
0 commit comments