Merge pull request #446 from loongson-zn/develop

Add support for LoongArch
This commit is contained in:
jzmaddock
2023-03-23 17:40:42 +00:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ obj 64 : 64.cpp ;
obj arm : arm.cpp ;
obj combined : combined.cpp ;
obj loongarch : loongarch.cpp ;
obj mips : mips.cpp ;
alias mips1 : mips ; # Backwards compatibility
obj power : power.cpp ;

View File

@@ -0,0 +1,11 @@
// loongarch.cpp
//
// Copyright (c) 2022 Zhang Na
//
// Distributed under the Boost Software License Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#if !defined(__loongarch__)
#error "Not LoongArch"
#endif