diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-02-19 05:32:41 +0100 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 07:44:57 +0200 |
commit | 3dfc242f11d792535db774613c6fd1df565c2137 (patch) | |
tree | 1723b0239d2ca95e2b019efe53051a416d6a1733 /arch/csky/abiv2 | |
parent | Linux 5.1-rc6 (diff) | |
download | linux-3dfc242f11d792535db774613c6fd1df565c2137.tar.xz linux-3dfc242f11d792535db774613c6fd1df565c2137.zip |
csky: Fixup vdsp&fpu issues in kernel
This fixup is continue to commit 35ff802af1c4 (csky: fixup remove
vdsp implement for kernel.) and in that patch I didn't finish the
job. We must forbid gcc to generate any vdsp & fpu instructions
and remove vdsp asm in memmove.S.
eg: For GCC it's -mcpu=ck860 and For AS it's -Wa,-mcpu=ck860fv
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/abiv2')
-rw-r--r-- | arch/csky/abiv2/memmove.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/csky/abiv2/memmove.S b/arch/csky/abiv2/memmove.S index b0c42ecf1889..5721e73ad3d8 100644 --- a/arch/csky/abiv2/memmove.S +++ b/arch/csky/abiv2/memmove.S @@ -35,11 +35,7 @@ ENTRY(memmove) .L_len_larger_16bytes: subi r1, 16 subi r0, 16 -#if defined(__CSKY_VDSPV2__) - vldx.8 vr0, (r1), r19 - PRE_BNEZAD (r18) - vstx.8 vr0, (r0), r19 -#elif defined(__CK860__) +#if defined(__CK860__) ldw r3, (r1, 12) stw r3, (r0, 12) ldw r3, (r1, 8) |