Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/44485 )
Change subject: dev: Fix GCN3_X86 builds on aarch64 host
......................................................................
dev: Fix GCN3_X86 builds on aarch64 host
Signed-off-by: Giacomo Travaglini <[email protected]>
Change-Id: Ic826f0cb46e07b9b5135eee1e518bc13f3d978a1
---
M src/dev/hsa/hsa.h
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dev/hsa/hsa.h b/src/dev/hsa/hsa.h
index 55a98b1..ef01de6 100644
--- a/src/dev/hsa/hsa.h
+++ b/src/dev/hsa/hsa.h
@@ -80,7 +80,7 @@
// Try to detect CPU endianness
#if !defined(LITTLEENDIAN_CPU) && !defined(BIGENDIAN_CPU)
#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || \
- defined(_M_X64)
+ defined(_M_X64) || defined(__aarch64__)
#define LITTLEENDIAN_CPU
#endif
#endif
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/44485
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ic826f0cb46e07b9b5135eee1e518bc13f3d978a1
Gerrit-Change-Number: 44485
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s