LOONGSON ACCELERATED COMPUTING PLATFORM SOFTWARE LICENSE AGREEMENT

This is a license agreement for customer use of Loongson Accelerated Computing
Platform software ("LICENSE"), which governs use of the software of Loongson
Technology Corporation Limited and its subsidiaries ("LOONGSON") downloadable
herefrom, including computer software and associated printed materials
("SOFTWARE").  By downloading, installing, copying, or otherwise using the
SOFTWARE, you agree to be bound by the terms of this LICENSE.  If you do not
agree to the terms of this LICENSE, do not download the SOFTWARE.

The SOFTWARE is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties.  The
SOFTWARE is not sold, and instead is only licensed for use, strictly in
accordance with this document.  The hardware is protected by various patents,
and is sold, but this agreement does not cover that sale, since it may not
necessarily be sold as a package with the SOFTWARE.  This agreement sets forth
the terms and conditions of the SOFTWARE LICENSE only.

1.  DEFINITIONS

1.1"Customer" means the entity or individual that downloads the SOFTWARE.

1.2"Law" means any constitutional provision, statute or other law, rule,
regulation, official policy or interpretation of any governmental authority and
any order, ruling, decision, verdict, decree, writ, subpoena, mandate, precept,
command, directive, consent, approval, award, judgment, injunction and other
similar determination and finding by, before or under the supervision of any
governmental authority.

2.  GRANT OF LICENSE

2.1  Rights and Limitations of Grant.  LOONGSON hereby grants Customer the
following non-exclusive, non-transferable right to use the SOFTWARE, with the
following limitations:

2.1.1  Rights.  Customer may install and use multiple copies of the SOFTWARE on
a shared computer or concurrently on different computers, and make multiple
back-up copies of the SOFTWARE, solely for Customer's use within Customer's
Enterprise. "Enterprise" shall mean individual use by Customer or any legal
entity (such as a corporation or university) and the subsidiaries it owns by
more than fifty percent (50%).

2.1.2  Linux Exception.  Notwithstanding the foregoing terms of Section 2.1.1,
SOFTWARE designed exclusively for use on the Linux operating systems or other
operating systems derived from the source code to these operating systems, may
be copied and redistributed, provided that the binary files thereof are not
modified in any way (except for unzipping of compressed files).

2.1.3  Limitations.

No Reverse Engineering.  Customer may not reverse engineer, decompile, or
disassemble the SOFTWARE, nor attempt in any other manner to obtain the source
code.

No Separation of Components.  The SOFTWARE is licensed as a single product.  Its
component parts may not be separated for use on more than one computer, nor
otherwise used separately from the other parts.

No Rental.  Customer may not rent or lease the SOFTWARE to someone else.

3.  TERMINATION

This LICENSE will automatically terminate if Customer fails to comply with any
of the terms and conditions hereof.  In such event, Customer must destroy all
copies of the SOFTWARE and all of its component parts.

Defensive Suspension.  If Customer commences or participates in any legal
proceeding against LOONGSON, then LOONGSON may, in its sole discretion, suspend
or terminate all license grants and any other rights provided under this LICENSE
during the pendency of such legal proceedings.

4.  COPYRIGHT

All title and copyrights in and to the SOFTWARE (including but not limited to
all images, photographs, animations, video, audio, music, text, and other
information incorporated into the SOFTWARE), the accompanying printed materials,
and any copies of the SOFTWARE are owned by LOONGSON, or its suppliers.  The
SOFTWARE is protected by copyright laws and international treaty provisions.
Accordingly,Customer is required to treat the SOFTWARE like any other
copyrighted material, except as otherwise allowed pursuant to this LICENSE and
that it may make one copy of the SOFTWARE solely for backup or archive purposes.

5. COMPONENTS UNDER OTHER LICENSES

The SOFTWARE may include or be distributed with components provided with
separate legal notices or terms that accompany the components, such as open
source software licenses and other license terms ("Other Licenses"). The
components are subject to the applicable Other Licenses, including any
proprietary notices, disclaimers, requirements and extended use rights; except
that this Agreement will prevail regarding the use of third-party open source
software, unless a third-party open source software license requires its license
terms to prevail.

6. GOVERNING LAW

This LICENSE shall be governed by and construed in accordance with the laws of
People's Republic of China.

7.  DISPUTE RESOLUTION

Any disputes, controversies or claims that arise from this LICENSE or relate to
this LICENSE (including, without limitation, disputes or claims with respect to
the effectiveness, interpretation, performance, amendment and termination),
collectively, the "Dispute", shall be resolved through business consultation.
If the Parties are unable to resolve the matter through friendly consultation
within thirty (30) days, any Party may bring a cause of action in any court
located in Beijing having appropriate subject matter jurisdiction.

8.  DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY

8.1  No Warranties.  To the maximum extent permitted by governing law, the
SOFTWARE is provided "AS IS" and LOONGSON and its suppliers disclaim all
warranties, either express or implied, including, but not limited to, implied
warranties of merchantability and fitness for a particular purpose.

8.2  No Liability for Consequential Damages.  To the maximum extent permitted by
applicable law, in no event shall LOONGSON or its suppliers be liable for any
special, incidental, indirect, or consequential damages whatsoever (including,
without limitation damages for loss of business profits, business interruption,
loss of business information, or any other pecuniary loss) arising out of the
use of or inability to use the SOFTWARE, even if LOONGSON has been advised of
the possibility of such damages.

8.3  Specific Use.  SOFTWARE is licensed only for use with LOONGSON products.
Customer's use of LOONGSON products with any other firmware is at its own risk
and may cause an LOONGSON product to become non-compliant with certain of its
certification markings.

9.  AMENDMENTS

Any amendment of the provisions of this LICENSE or of a Party's rights or
obligations under this Agreement must be in writing and signed by an authorized
representative of LOONGSON to be effective.

10. Attachment

Additional Licensing Obligations

The following third party components included in the SOFTWARE
are licensed to Licensee pursuant to the following terms and
conditions:

LLVM System Interface Library
-------------------------------------------------------------------------------

Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
See https://llvm.org/LICENSE.txt for license information.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
