lkml.org 
[lkml]   [2018]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/4] riscv: Add support to no-FPU systems
Date
This patchset adds an option, CONFIG_FPU, to enable/disable floating-
point procedures.

Changes in v3:
- Refactor the whole patch into independent ones.

Changes in v2:
- Various code cleanups and style fixes.

Alan Kao (4):
Extract FPU context operations from entry.S
Refactor FPU codes in signal setup/return procedures
Cleanup ISA string setting
Add an option to support no-FPU systems

arch/riscv/Kconfig | 9 +++
arch/riscv/Makefile | 19 +++---
arch/riscv/include/asm/switch_to.h | 12 ++++
arch/riscv/kernel/Makefile | 1 +
arch/riscv/kernel/entry.S | 87 ------------------------
arch/riscv/kernel/fpu.S | 105 +++++++++++++++++++++++++++++
arch/riscv/kernel/process.c | 4 +-
arch/riscv/kernel/signal.c | 70 +++++++++++--------
8 files changed, 181 insertions(+), 126 deletions(-)
create mode 100644 arch/riscv/kernel/fpu.S

--
2.18.0

\
 
 \ /
  Last update: 2018-08-02 07:40    [W:0.058 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site