Home
last modified time | relevance | path

Searched refs:fpc (Results 1 – 12 of 12) sorted by relevance

/arch/s390/math-emu/
Dmath.c152 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/
Dtraps.c437 int fpc, long interruption_code) in do_fp_trap() argument
446 if ((fpc & 0x00000300) == 0) { in do_fp_trap()
448 if (fpc & 0x8000) /* invalid fp operation */ in do_fp_trap()
450 else if (fpc & 0x4000) /* div by 0 */ in do_fp_trap()
452 else if (fpc & 0x2000) /* overflow */ in do_fp_trap()
454 else if (fpc & 0x1000) /* underflow */ in do_fp_trap()
456 else if (fpc & 0x0800) /* inexact */ in do_fp_trap()
526 current->thread.fp_regs.fpc, interruption_code); in illegal_op()
598 current->thread.fp_regs.fpc, interruption_code); in specification_exception()
629 asm volatile("stfpc %0" : "=m" (current->thread.fp_regs.fpc)); in data_exception()
[all …]
Dptrace.c187 if (addr == (addr_t) &dummy->regs.fp_regs.fpc) in __peek_user()
291 if (addr == (addr_t) &dummy->regs.fp_regs.fpc && in __poke_user()
548 if (addr == (addr_t) &dummy32->regs.fp_regs.fpc && in __poke_user_compat()
771 u32 fpc[2] = { target->thread.fp_regs.fpc, 0 }; in s390_fpregs_set() local
772 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &fpc, in s390_fpregs_set()
776 if ((fpc[0] & ~FPC_VALID_MASK) != 0 || fpc[1] != 0) in s390_fpregs_set()
778 target->thread.fp_regs.fpc = fpc[0]; in s390_fpregs_set()
Dprocess.c274 current->thread.fp_regs.fpc = 0; in execve_tail()
Dcompat_linux.h108 unsigned int fpc; member
Dsignal.c157 current->thread.fp_regs.fpc &= FPC_VALID_MASK; in restore_sigregs()
Dcompat_signal.c338 current->thread.fp_regs.fpc &= FPC_VALID_MASK; in restore_sigregs32()
Dcompat_linux.c467 current->thread.fp_regs.fpc=0; in sys32_execve()
/arch/s390/include/asm/
Dkvm.h41 __u32 fpc; member
Dsigcontext.h53 unsigned int fpc; member
Dptrace.h201 __u32 fpc; member
/arch/s390/kvm/
Dkvm-s390.c243 vcpu->arch.guest_fpregs.fpc &= FPC_VALID_MASK; in kvm_arch_vcpu_load()
269 vcpu->arch.guest_fpregs.fpc = 0; in kvm_s390_vcpu_initial_reset()
270 asm volatile("lfpc %0" : : "Q" (vcpu->arch.guest_fpregs.fpc)); in kvm_s390_vcpu_initial_reset()
392 vcpu->arch.guest_fpregs.fpc = fpu->fpc; in kvm_arch_vcpu_ioctl_set_fpu()
401 fpu->fpc = vcpu->arch.guest_fpregs.fpc; in kvm_arch_vcpu_ioctl_get_fpu()
589 &vcpu->arch.guest_fpregs.fpc, 4, prefix)) in __kvm_s390_vcpu_store_status()