mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-22 18:45:10 +08:00
18e86fae2a
2020-12-20 Max Filippov <jcmvbkbc@gmail.com> gcc/ * config/xtensa/xtensa.md (bswapsi2, bswapdi2): New patterns. gcc/testsuite/ * gcc.target/xtensa/bswap.c: New test. libgcc/ * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New functions. * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and _bswapdi2.
17 lines
603 B
Plaintext
17 lines
603 B
Plaintext
LIB1ASMSRC = xtensa/lib1funcs.S
|
|
LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 _udivsi3 _umodsi3 \
|
|
_umulsidi3 _clz _clzsi2 _ctzsi2 _ffssi2 \
|
|
_ashldi3 _ashrdi3 _lshrdi3 \
|
|
_bswapsi2 _bswapdi2 \
|
|
_negsf2 _addsubsf3 _mulsf3 _divsf3 _cmpsf2 _fixsfsi _fixsfdi \
|
|
_fixunssfsi _fixunssfdi _floatsisf _floatunsisf \
|
|
_sqrtf _recipsf2 _rsqrtsf2 \
|
|
_floatdisf _floatundisf \
|
|
_negdf2 _addsubdf3 _muldf3 _divdf3 _cmpdf2 _fixdfsi _fixdfdi \
|
|
_fixunsdfsi _fixunsdfdi _floatsidf _floatunsidf \
|
|
_floatdidf _floatundidf \
|
|
_truncdfsf2 _extendsfdf2 \
|
|
_sqrt _recipdf2 _rsqrtdf2
|
|
|
|
LIB2ADD = $(srcdir)/config/xtensa/lib2funcs.S
|