Home
last modified time | relevance | path

Searched refs:SR (Results 1 – 25 of 25) sorted by relevance

/arch/alpha/math-emu/
Dmath.c101 FP_DECL_S(SA); FP_DECL_S(SB); FP_DECL_S(SR); in alpha_fp_emul()
135 FP_SUB_S(SR, SA, SB); in alpha_fp_emul()
139 FP_ADD_S(SR, SA, SB); in alpha_fp_emul()
143 FP_MUL_S(SR, SA, SB); in alpha_fp_emul()
147 FP_DIV_S(SR, SA, SB); in alpha_fp_emul()
151 FP_SQRT_S(SR, SB); in alpha_fp_emul()
221 FP_CONV(S,D,1,1,SR,DB); in alpha_fp_emul()
259 FP_FROM_INT_S(SR, ((long)vb), 64, long); in alpha_fp_emul()
271 FP_PACK_SP(&vc, SR); in alpha_fp_emul()
/arch/avr32/include/asm/
Dirqflags.h16 return sysreg_read(SR); in arch_local_save_flags()
28 sysreg_write(SR, flags); in arch_local_irq_restore()
/arch/sparc/math-emu/
Dmath_32.c285 FP_DECL_S(SA); FP_DECL_S(SB); FP_DECL_S(SR); in do_one_mathemu()
427 case FADDS: FP_ADD_S (SR, SA, SB); break; in do_one_mathemu()
431 case FSUBS: FP_SUB_S (SR, SA, SB); break; in do_one_mathemu()
435 case FMULS: FP_MUL_S (SR, SA, SB); break; in do_one_mathemu()
443 case FDIVS: FP_DIV_S (SR, SA, SB); break; in do_one_mathemu()
447 case FSQRTS: FP_SQRT_S (SR, SB); break; in do_one_mathemu()
459 case FITOS: IR = rs2->s; FP_FROM_INT_S (SR, IR, 32, int); break; in do_one_mathemu()
466 case FDTOS: FP_CONV (S, D, 1, 2, SR, DB); break; in do_one_mathemu()
467 case FQTOS: FP_CONV (S, Q, 1, 4, SR, QB); break; in do_one_mathemu()
506 case 5: FP_PACK_SP (rd, SR); break; in do_one_mathemu()
Dmath_64.c180 FP_DECL_S(SA); FP_DECL_S(SB); FP_DECL_S(SR); in do_mathemu()
432 case FADDS: FP_ADD_S (SR, SA, SB); break; in do_mathemu()
436 case FSUBS: FP_SUB_S (SR, SA, SB); break; in do_mathemu()
440 case FMULS: FP_MUL_S (SR, SA, SB); break; in do_mathemu()
448 case FDIVS: FP_DIV_S (SR, SA, SB); break; in do_mathemu()
452 case FSQRTS: FP_SQRT_S (SR, SB); break; in do_mathemu()
470 case FXTOS: XR = rs2->d; FP_FROM_INT_S (SR, XR, 64, long); break; in do_mathemu()
473 case FITOS: IR = rs2->s; FP_FROM_INT_S (SR, IR, 32, int); break; in do_mathemu()
480 case FDTOS: FP_CONV (S, D, 1, 1, SR, DB); break; in do_mathemu()
481 case FQTOS: FP_CONV (S, Q, 1, 2, SR, QB); break; in do_mathemu()
[all …]
/arch/avr32/mach-at32ap/
Dintc.c79 status_reg = sysreg_read(SR); in do_IRQ()
82 sysreg_write(SR, status_reg); in do_IRQ()
134 sysreg_write(SR, (sysreg_read(SR) in init_IRQ()
/arch/sh/kernel/
Dhead_64.S168 getcon SR, r29
170 putcon r20, SR
257 getcon SR, r21
300 getcon SR, r21
303 putcon r22, SR /* Try to enable */
304 getcon SR, r22
/arch/sh/include/cpu-sh5/cpu/
Dregisters.h25 #define SR cr0
87 #define __SR __str(SR)
/arch/sh/kernel/cpu/sh2a/
Dentry.S49 bld.b #6,@(0,r2) !previus SR.MD
50 bst.b #6,@(4*4,r15) !set cpu mode to SR.MD
53 bset.b #6,@(0,r2) !set SR.MD
66 mov.l r0,@-r15 ! original SR
94 mov.l @r8+,r11 ! old SR
/arch/sh/kernel/cpu/sh3/
Dentry.S217 ! r8 passes SR bitmask, overwritten with restored data on return
245 mov.l @r15+, k3 ! original SR
259 ! Calculate new SR value
260 mov k3, k2 ! original SR value
264 and k1, k2 ! Mask original SR value
Dswsusp.S109 mov.l 2f, r3 ! get new SR value for bank1
117 mov.l 3f, k4 ! SR bits to clear in k4
/arch/m68k/ifpsp060/
DCHANGES79 SR = SR at time of exception
101 SR = SR at time of exception
Diskeleton.S72 btst #0x5,%sp@ | supervisor bit set in saved SR?
107 | * SR * * SR *
147 | * SR * * SR *
/arch/powerpc/math-emu/
Dmath_efp.c219 FP_DECL_S(SA); FP_DECL_S(SB); FP_DECL_S(SR); in do_spe_mathemu()
250 FP_ADD_S(SR, SA, SB); in do_spe_mathemu()
254 FP_SUB_S(SR, SA, SB); in do_spe_mathemu()
258 FP_MUL_S(SR, SA, SB); in do_spe_mathemu()
262 FP_DIV_S(SR, SA, SB); in do_spe_mathemu()
297 FP_CONV(S, D, 1, 2, SR, DB); in do_spe_mathemu()
331 FP_PACK_SP(vc.wp + 1, SR); in do_spe_mathemu()
/arch/sh/
DKconfig.cpu92 This will enable the use of SR.RB register bank usage. Processors
97 information on SR.RB and register banking in the kernel in general.
DKconfig.debug83 bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
/arch/sh/kernel/cpu/sh2/
Dentry.S58 mov.l @(5*4,r15),r3 ! previous SR
62 mov.l r3,@(5*4,r15) ! update SR
85 mov.l r0,@-r15 ! original SR
129 mov.l @r2+,r0 ! old SR
135 mov.l r0,@-r2 ! save old SR
/arch/sh/kernel/cpu/sh5/
Dentry.S83 getcon SR, r6; \
85 putcon r6, SR;
88 getcon SR, r6; \
90 putcon r6, SR;
606 ! construct useful SR for handle_exception
613 ! SSR is now the current SR with the MD and MMU bits set
831 getcon SR, r6
834 putcon r6, SR
837 putcon r6, SR
909 getcon SR, r7
[all …]
/arch/mips/include/asm/emma/
Demma2rh.h232 #define SR 0x000000ff macro
/arch/avr32/kernel/
Dkprobes.c73 BUG_ON(!(sysreg_read(SR) & SYSREG_BIT(SR_D))); in prepare_singlestep()
Dsignal.c278 if ((sysreg_read(SR) & MODE_MASK) == MODE_SUPERVISOR) in do_notify_resume()
/arch/frv/kernel/
Dcmode.S117 # (7) Set '1' to the DRCN.SR bit, and change SDRAM to the
/arch/m68k/kernel/
Dentry.S269 bclr #7,%sp@(PT_OFF_SR) | clear trace bit in SR
/arch/m68k/ifpsp060/src/
Dpfpsp.S2052 # * SR * * SR *
3001 mov.w 0xc(%sp),0x4(%sp) # move SR
3026 mov.l 0x8(%sp),(%sp) # store SR,hi(PC)
Dfpsp.S2053 # * SR * * SR *
3002 mov.w 0xc(%sp),0x4(%sp) # move SR
3027 mov.l 0x8(%sp),(%sp) # store SR,hi(PC)
4372 mov.l 0x2(%sp),(%sp) # shift SR,hi(PC) "down"
4378 mov.l 0x2(%sp),(%sp) # shift SR,hi(PC) "down"
4397 # ** Next PC ** * SR *
4399 # * SR * (4 words)
4406 mov.w EXC_SR(%a6),2+EXC_PC(%a6) # shift SR "up"
/arch/powerpc/xmon/
Dppc-opc.c482 #define SR SPRG + 1 macro
486 #define STRM SR + 1
3482 { "mtsrd", X(31,82), XRB_MASK|(1<<20), PPC64, { SR, RS } },
3610 { "mtsr", X(31,210), XRB_MASK|(1<<20), COM32, { SR, RS } },
4324 { "mfsr", X(31,595), XRB_MASK|(1<<20), COM32, { RT, SR } },