acadia-newlib/newlib/libc/machine/arc
Anton Kolesov 06537f05d4 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>
2015-12-17 22:48:16 +01:00
..
Makefile.am
Makefile.in
aclocal.m4
asm.h ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
configure
configure.in
memcmp-bs-norm.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memcmp-stub.c
memcmp.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memcpy-archs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memcpy-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memcpy-stub.c
memcpy.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memset-archs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memset-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
memset-stub.c
memset.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
setjmp.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strchr-bs-norm.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strchr-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strchr-stub.c
strchr.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strcmp-archs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strcmp-stub.c
strcmp.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strcpy-bs-arc600.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strcpy-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strcpy-stub.c
strcpy.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strlen-bs-norm.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strlen-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strlen-stub.c
strlen.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strncpy-bs.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00
strncpy-stub.c
strncpy.S ARC: Use new definitions for optional ARC CPU features 2015-12-17 22:48:16 +01:00