[PATCH 0/4] uClibc port to ARCv2 ISA

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Feb 18 21:04:45 UTC 2015


On February 18, 2015 1:11:03 PM GMT+01:00, Vineet Gupta <Vineet.Gupta1 at synopsys.com> wrote:
>Hi,
>
>Please find set of patches to support ARCv2 ISA basis of new HS family
>of cores
>from Synopsys.
>
>http://www.synopsys.com/dw/ipdir.php?ds=arc-hs38-processor&elq_mid=5732&elq_cid=458802
>http://www.synopsys.com/IP/ProcessorIP/ARCProcessors/arc-hs/Pages/default.aspx
>
>* 1/2 and 2/2 account for ARCv2 differences vs. existing ARCompact ISA.

s/don;t/don't/
The new arcv2_defconfig lacks GNU_GLOB.

Do you want me to fix these 2 up before committing or do you want new patches?

>* 3/4 and 4/4 fix handling of SYSCALL_ALIGN_64BIT in general.
>It would seem that 4/4 is needed for any arch, but I've done this
>under__arc__ to
>  not possbily break other arches needing SYSCALL_ALIGN_64BIT

What a pain. Let's expand this to other arches if you think it is right. Again, do you want me to adjust this or can you roll v2 patches?

Thanks,
>
>These patches will make upstream usable for ARC w/o any out-of-tree
>patches.
>Please consider merging.
>
>Thx,
>-Vineet
>
>
>Claudiu Zissulescu (1):
>  ARCv2: optimised string routines
>
>Vineet Gupta (3):
>  ARCv2 ISA support
>  posix_fadvise: handle 2 variants for SYSCALL_ALIGN_64BIT
>  sync_file_range: fix for UCLIBC_SYSCALL_ALIGN_64BIT
>
> Rules.mak                                          |   2 +
> extra/Configs/Config.arc                           |   6 +
> extra/Configs/Config.in                            |   1 +
> extra/Configs/defconfigs/arc/arcv2_defconfig       |  32 +++
> include/elf.h                                      |   1 +
> ldso/ldso/arc/dl-sysdep.h                          |  15 +-
> ldso/ldso/arc/elfinterp.c                          |   4 +
>libc/string/arc/arcv2/memcpy.S                     | 236
>+++++++++++++++++++++
> libc/string/arc/arcv2/memset.S                     |  85 ++++++++
> libc/string/arc/arcv2/strcmp.S                     |  83 ++++++++
> libc/string/arc/memcmp.S                           |  29 +++
> libc/sysdeps/linux/arc/bits/syscalls.h             |  10 +-
> libc/sysdeps/linux/arc/bits/uClibc_arch_features.h |   7 +
> libc/sysdeps/linux/common/posix_fadvise.c          |   6 +-
> libc/sysdeps/linux/common/posix_fadvise64.c        |  11 +-
> libc/sysdeps/linux/common/sync_file_range.c        |   3 +-
> 16 files changed, 525 insertions(+), 6 deletions(-)
> create mode 100644 extra/Configs/defconfigs/arc/arcv2_defconfig
> create mode 100644 libc/string/arc/arcv2/memcpy.S
> create mode 100644 libc/string/arc/arcv2/memset.S
> create mode 100644 libc/string/arc/arcv2/strcmp.S




More information about the uClibc mailing list