Searched refs:fpc (Results 1 – 13 of 13) sorted by relevance
/arch/s390/math-emu/ |
D | math.c | 152 mode = current->thread.fp_regs.fpc & 3; in emu_axbr() 173 mode = current->thread.fp_regs.fpc & 3; in emu_adbr() 188 mode = current->thread.fp_regs.fpc & 3; in emu_adb() 203 mode = current->thread.fp_regs.fpc & 3; in emu_aebr() 218 mode = current->thread.fp_regs.fpc & 3; in emu_aeb() 420 mode = current->thread.fp_regs.fpc & 3; in emu_cxfbr() 436 mode = current->thread.fp_regs.fpc & 3; in emu_cdfbr() 450 mode = current->thread.fp_regs.fpc & 3; in emu_cefbr() 466 mode = current->thread.fp_regs.fpc & 3; in emu_cfxbr() 488 mode = current->thread.fp_regs.fpc & 3; in emu_cfdbr() [all …]
|
/arch/s390/kernel/ |
D | traps.c | 386 static inline void do_fp_trap(struct pt_regs *regs, int fpc) in do_fp_trap() argument 390 if ((fpc & 0x00000300) == 0) { in do_fp_trap() 392 if (fpc & 0x8000) /* invalid fp operation */ in do_fp_trap() 394 else if (fpc & 0x4000) /* div by 0 */ in do_fp_trap() 396 else if (fpc & 0x2000) /* overflow */ in do_fp_trap() 398 else if (fpc & 0x1000) /* underflow */ in do_fp_trap() 400 else if (fpc & 0x0800) /* inexact */ in do_fp_trap() 464 do_fp_trap(regs, current->thread.fp_regs.fpc); in illegal_op() 516 do_fp_trap(regs, current->thread.fp_regs.fpc); in specification_exception() 533 asm volatile("stfpc %0" : "=m" (current->thread.fp_regs.fpc)); in data_exception() [all …]
|
D | ptrace.c | 211 if (addr == (addr_t) &dummy->regs.fp_regs.fpc) in __peek_user() 336 if (addr == (addr_t) &dummy->regs.fp_regs.fpc && in __poke_user() 638 if (addr == (addr_t) &dummy32->regs.fp_regs.fpc && in __poke_user_compat() 852 u32 fpc[2] = { target->thread.fp_regs.fpc, 0 }; in s390_fpregs_set() local 853 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &fpc, in s390_fpregs_set() 857 if ((fpc[0] & ~FPC_VALID_MASK) != 0 || fpc[1] != 0) in s390_fpregs_set() 859 target->thread.fp_regs.fpc = fpc[0]; in s390_fpregs_set()
|
D | process.c | 247 current->thread.fp_regs.fpc = 0; in execve_tail()
|
D | compat_linux.h | 104 unsigned int fpc; member
|
D | crash_dump.c | 146 memcpy(&nt_fpregset.fpc, &sa->fp_ctrl_reg, sizeof(sa->fp_ctrl_reg)); in nt_fpregset()
|
D | signal.c | 166 current->thread.fp_regs.fpc &= FPC_VALID_MASK; in restore_sigregs()
|
D | compat_linux.c | 433 current->thread.fp_regs.fpc=0; in sys32_execve()
|
D | compat_signal.c | 328 current->thread.fp_regs.fpc &= FPC_VALID_MASK; in restore_sigregs32()
|
/arch/s390/include/asm/ |
D | kvm.h | 33 __u32 fpc; member
|
D | sigcontext.h | 53 unsigned int fpc; member
|
D | ptrace.h | 203 __u32 fpc; member
|
/arch/s390/kvm/ |
D | kvm-s390.c | 308 vcpu->arch.guest_fpregs.fpc &= FPC_VALID_MASK; in kvm_arch_vcpu_load() 337 vcpu->arch.guest_fpregs.fpc = 0; in kvm_s390_vcpu_initial_reset() 338 asm volatile("lfpc %0" : : "Q" (vcpu->arch.guest_fpregs.fpc)); in kvm_s390_vcpu_initial_reset() 464 vcpu->arch.guest_fpregs.fpc = fpu->fpc & FPC_VALID_MASK; in kvm_arch_vcpu_ioctl_set_fpu() 472 fpu->fpc = vcpu->arch.guest_fpregs.fpc; in kvm_arch_vcpu_ioctl_get_fpu() 706 &vcpu->arch.guest_fpregs.fpc, 4, prefix)) in kvm_s390_vcpu_store_status()
|