andestech / gcc Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the files whose names start with COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The directory INSTALL contains copies of the installation information as HTML and plain text. The source of this information is gcc/doc/install.texi. The installation information includes details of what is included in the GCC sources and what files GCC installs. See the file gcc/doc/gcc.texi (together with other files that it includes) for usage and porting information. An online readable version of the manual is in the files gcc/doc/gcc.info*. See http://gcc.gnu.org/bugs/ for how to report bugs usefully. Copyright years on GCC source files may be listed using range notation, e.g., 1987-2012, indicating that every year in the range, inclusive, is a copyrightable year that could otherwise be listed individually.
gcc/gcc/config/riscv/multilib-generator
Line 104 in e6cb552
x type is map
object of type 'map' has no len()
please change to
def unique(x):
#
# Drop duplicated entry.
# Convert list to set and then convert back to list.
#
# Add sorted to prevent non-deterministic results in different env.
#
return list(sorted(list(set(x))))
Hi, It looks the implementation for rcras<mode>_le
instruction in gcc/config/riscv/dsp.md
isn't quite right. I think this patch should help fix it :-)
diff --git a/gcc/config/riscv/dsp.md b/gcc/config/riscv/dsp.md
index 057c5bffcae..fbee83cd25a 100644
--- a/gcc/config/riscv/dsp.md
+++ b/gcc/config/riscv/dsp.md
@@ -43,7 +43,7 @@
(define_mode_attr bsize [(HI "8") (SI "16")])
-(define_mode_attr VSH_EXT [(V2SI "DI") (V2HI "HI")])
+(define_mode_attr VSH_EXT [(V2SI "DI") (V2HI "SI")])
(define_mode_attr VELT [(V4QI "QI") (V2HI "HI") (V8QI "QI") (V4HI "HI")])
@@ -506,7 +506,7 @@
(vec_select:<VNHALF>
(match_dup 2)
(parallel [(const_int 0)])))
- (sign_extend:SI
+ (sign_extend:<VSH_EXT>
(vec_select:<VNHALF>
(match_dup 1)
(parallel [(const_int 1)]))))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.