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

Quelle  reg_ops.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __ASM_REGS_OPS_H
#define __ASM_REGS_OPS_H

#define mfcr(reg)  \
({    \
 unsigned int tmp; \
 asm volatile(  \
 "mfcr %0, "reg"\n" \
 : "=r"(tmp)  \
 :   \
 : "memory");  \
 tmp;   \
})

#define mtcr(reg, val)  \
({    \
 asm volatile(  \
 "mtcr %0, "reg"\n" \
 :   \
 : "r"(val)  \
 : "memory");  \
})

#endif /* __ASM_REGS_OPS_H */

Messung
CHZG
979710097

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland