]> sourceware.org Git - newlib-cygwin.git/commit
ARC: Use new definitions for optional ARC CPU features
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Tue, 15 Dec 2015 17:54:58 +0000 (20:54 +0300)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 17 Dec 2015 21:48:16 +0000 (22:48 +0100)
commit06537f05d4b6a0d2db01c6afda1d2a0ea2588126
tree21087b5c996c9d5fed46a56ced03693475205a80
parent088f7a723962dd18dcae09e8e8fa168bbea6ed0b
ARC: Use new definitions for optional ARC CPU features

GCC for ARC has been updated to provide consistent naming of preprocessor
definitions for different optional architecture features:

    * __ARC_BARREL_SHIFTER__ instead of __Xbarrel_shifter for
      -mbarrel-shifter
    * __ARC_LL64__ instead of __LL64__ for -mll64
    * __ARCEM__ instead of __EM__ for -mcpu=arcem
    * __ARCHS__ instead of __HS__ for -mcpu=archs
    * etc (not used in newlib)

This patch updates assembly routines for ARC to use new definitions instead
of a deprecated ones. To ensure compatibility with older compiler new
definitions are also defined in asm.h if needed, based on deprecated
preprocessor definitions.

*** newlib/ChangeLog ***
2015-12-15  Anton Kolesov  <Anton.Kolesov@synopsys.com>

* libc/machine/arc/asm.h: Define new GCC definition for old compiler.
* libc/machine/arc/memcmp-bs-norm.S: Use new GCC defines to detect
  processor features.
* libc/machine/arc/memcmp.S: Likewise.
* libc/machine/arc/memcpy-archs.S: Likewise.
* libc/machine/arc/memcpy-bs.S: Likewise.
* libc/machine/arc/memcpy.S: Likewise.
* libc/machine/arc/memset-archs.S: Likewise.
* libc/machine/arc/memset-bs.S: Likewise.
* libc/machine/arc/memset.S: Likewise.
* libc/machine/arc/setjmp.S: Likewise.
* libc/machine/arc/strchr-bs-norm.S: Likewise.
* libc/machine/arc/strchr-bs.S: Likewise.
* libc/machine/arc/strchr.S: Likewise.
* libc/machine/arc/strcmp-archs.S: Likewise.
* libc/machine/arc/strcmp.S: Likewise.
* libc/machine/arc/strcpy-bs-arc600.S: Likewise.
* libc/machine/arc/strcpy-bs.S: Likewise.
* libc/machine/arc/strcpy.S: Likewise.
* libc/machine/arc/strlen-bs-norm.S: Likewise.
* libc/machine/arc/strlen-bs.S: Likewise.
* libc/machine/arc/strlen.S: Likewise.
* libc/machine/arc/strncpy-bs.S: Likewise.
* libc/machine/arc/strncpy.S: Likewise.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
24 files changed:
newlib/ChangeLog
newlib/libc/machine/arc/asm.h
newlib/libc/machine/arc/memcmp-bs-norm.S
newlib/libc/machine/arc/memcmp.S
newlib/libc/machine/arc/memcpy-archs.S
newlib/libc/machine/arc/memcpy-bs.S
newlib/libc/machine/arc/memcpy.S
newlib/libc/machine/arc/memset-archs.S
newlib/libc/machine/arc/memset-bs.S
newlib/libc/machine/arc/memset.S
newlib/libc/machine/arc/setjmp.S
newlib/libc/machine/arc/strchr-bs-norm.S
newlib/libc/machine/arc/strchr-bs.S
newlib/libc/machine/arc/strchr.S
newlib/libc/machine/arc/strcmp-archs.S
newlib/libc/machine/arc/strcmp.S
newlib/libc/machine/arc/strcpy-bs-arc600.S
newlib/libc/machine/arc/strcpy-bs.S
newlib/libc/machine/arc/strcpy.S
newlib/libc/machine/arc/strlen-bs-norm.S
newlib/libc/machine/arc/strlen-bs.S
newlib/libc/machine/arc/strlen.S
newlib/libc/machine/arc/strncpy-bs.S
newlib/libc/machine/arc/strncpy.S
This page took 0.036158 seconds and 5 git commands to generate.