Lines Matching refs:spr
239 ((spr INT -1)) ; inputs
248 ((spr INT -1)) ; outputs
684 ((spr INT -1)) ; inputs
701 ((spr INT -1)) ; outputs
1107 ((spr INT -1)) ; inputs
1124 ((spr INT -1)) ; outputs
1484 ((spr INT -1)) ; inputs
1501 ((spr INT -1)) ; outputs
2003 (dnf f-spr-h "upper 6 bits of spr" () 30 6)
2004 (dnf f-spr-l "lower 6 bits of spr" () 17 6)
2005 (dnmf f-spr "special purpose register" () UINT
2006 (f-spr-h f-spr-l)
2008 (set (ifield f-spr-h) (srl (ifield f-spr) (const 6)))
2009 (set (ifield f-spr-l) (and (ifield f-spr) (const #x3f)))
2012 (set (ifield f-spr) (or (sll (ifield f-spr-h) (const 6))
2013 (ifield f-spr-l)))
2461 (name spr-names)
2462 (print-name h-spr)
2596 ; These are not accessible as spr registers (see LSI appendix - section 13.4)
2645 ; These are not accessible as spr registers (see LSI appendix - section 13.4)
2655 ; These are not accessible as spr registers (see LSI appendix - section 13.4)
2831 (name h-spr)
2835 (indices extern-keyword spr-names)
2840 (define-pmacro (spr-pcsr) (reg h-spr 1))
2841 (define-pmacro (spr-bpcsr) (reg h-spr 2))
2842 (define-pmacro (spr-lr) (reg h-spr 272))
2843 (define-pmacro (spr-lcr) (reg h-spr 273))
2844 (define-pmacro (spr-iacc0h) (reg h-spr 280))
2845 (define-pmacro (spr-iacc0l) (reg h-spr 281))
2846 (define-pmacro (spr-sr0) (reg h-spr 768))
2847 (define-pmacro (spr-sr1) (reg h-spr 769))
2848 (define-pmacro (spr-sr2) (reg h-spr 770))
2849 (define-pmacro (spr-sr3) (reg h-spr 771))
2885 (and (reg h-spr (add index 1472)) #xff))
2887 (set (raw-reg UWI h-spr (add index 1472)) (and newval #xff)))
2918 (sll DI (ext DI (trunc QI (reg h-spr (add index 1472))))
2920 (zext DI (reg h-spr (add index 1408)))))
2926 (set (raw-reg UWI h-spr
2928 (set (raw-reg UWI h-spr
2942 (sll DI (zext DI (reg h-spr (add index 1472))) 32)
2943 (zext DI (reg h-spr (add index 1408)))))
2949 (set (raw-reg UWI h-spr
2951 (set (raw-reg UWI h-spr
2973 (get (idx) (or DI (sll DI (ext DI (spr-iacc0h)) 32) (zext DI (spr-iacc0l))))
2976 (set (spr-iacc0h) (trunc SI (srl newval 32)))
2977 (set (spr-iacc0l) (trunc SI newval))))
3271 (name spr)
3274 (type h-spr)
3275 (index f-spr)
3276 (handlers (parse "spr") (print "spr"))
5772 (define-pmacro (register-transfer-spr
5786 (register-transfer-spr movgs OP_03 OPE1_06 GRj spr u-gr2spr "transfer gr->spr")
5787 (register-transfer-spr movsg OP_03 OPE1_07 spr GRj u-spr2gr "transfer spr->gr")
5936 (set tmp (sub (spr-lcr) 1))
5937 (set (spr-lcr) tmp)
5941 (set pc (spr-lr)))
5943 (set pc (spr-lr))))))
5953 (c-call VOID "@cpu@_model_branch" (spr-lr) hint)
5968 (c-call VOID "@cpu@_model_branch" (spr-lr) hint)
5969 (if (cond (.sym i-f CCi_2)) (set pc (spr-lr))))
5982 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_taken)
5983 (set pc (spr-lr)))
5994 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_not_taken)
6021 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_taken)
6022 (set pc (spr-lr)))
6033 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_not_taken)
6061 (c-call VOID "@cpu@_model_branch" (spr-lr) hint)
6075 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_taken)
6088 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_not_taken)
6116 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_taken)
6129 (c-call VOID "@cpu@_model_branch" (spr-lr) hint_not_taken)
6256 (clobber (spr-pcsr))
6262 (clobber (spr-sr0))
6263 (clobber (spr-sr1))
6264 (clobber (spr-sr2))
6265 (clobber (spr-sr3))))
6463 (clobber (spr-bpcsr))