ARCv2: update memset() so it could be used without double load/stores
ARCv2: update memset() so it could be used without double load/stores

Existing version of memset() relies on existence of 64-bit load/stores.
While ARC HS38 may not have those instructions implemented in SoC.

Proposed implementation checks if "-mno-ll64" option was passed to gcc
(for ARCv2 "-mll64" is set implicitly by default) by checking __LL64__
definition and if it is not defined uses 32-bit load/stores.

Signed-off-by: Claudiu Zissulescu <fcfc02377ad792c226278957e074570312cb0c82@synopsys.com>
Signed-off-by: Alexey Brodkin <1fa739873496c8c0c1b521f2061ee5fa4a0306e8@synopsys.com>
Cc: Vineet Gupta <af669d95a4c0de051445d4cafdbb2c5c4a2838be@synopsys.com>

brgl/uclibc-ng,brgl/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,wbx-github/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,brgl/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,wbx-github/uclibc-ng,wbx-github/uclibc-ng,foss-for-synopsys-dwc-arc-processors/uClibc,kraj/uclibc-ng,kraj/uclibc-ng,kraj/uclibc-ng,brgl/uclibc-ng,kraj/uclibc-ng,wbx-github/uclibc-ng