Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/openrisc/include/asm/     Datei vom 24.10.2025 mit Größe 468 B image not shown  

Quelle  fpu.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_OPENRISC_FPU_H
#define __ASM_OPENRISC_FPU_H

struct task_struct;

#ifdef CONFIG_FPU
static inline void save_fpu(struct task_struct *task)
{
 task->thread.fpcsr = mfspr(SPR_FPCSR);
}

static inline void restore_fpu(struct task_struct *task)
{
 mtspr(SPR_FPCSR, task->thread.fpcsr);
}
#else
#define save_fpu(tsk)   do { } while (0)
#define restore_fpu(tsk)  do { } while (0)
#endif

#endif /* __ASM_OPENRISC_FPU_H */

Messung
CHZG
87707878

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland