Lines Matching refs:instruction

548 set fmovm_flg,		0x40			# flag bit: fmovm instruction
585 # _imem_read_long() - read instruction longword #
591 # fout() - emulate an opclass 3 instruction #
612 # instruction, the 060 will take an overflow exception whether the #
614 # This handler emulates the instruction to determine what the correct #
621 # the default result (only if the instruction is opclass 3). For #
629 # Also, in the case of an opclass three instruction where #
648 # the FPIAR holds the "current PC" of the faulting instruction
650 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
651 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
652 bsr.l _imem_read_long # fetch the instruction words
825 # _imem_read_long() - read instruction longword #
831 # fout() - emulate an opclass 3 instruction #
852 # instruction, the 060 will take an underflow exception whether the #
854 # This handler emulates the instruction to determine what the correct #
861 # the default result (only if the instruction is opclass 3). For #
869 # Also, in the case of an opclass three instruction where #
888 # the FPIAR holds the "current PC" of the faulting instruction
890 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
891 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
892 bsr.l _imem_read_long # fetch the instruction words
1100 # _imem_read_{word,long}() - read instruction word/longword #
1107 # fout() - emulate an opclass 3 instruction #
1140 # Two main instruction types can enter here: (1) DENORM or UNNORM #
1146 # from the FP register file. The instruction is then emulated by #
1148 # instruction type. Once the instruction has been emulated and result #
1150 # instruction emulation. If none, then we exit through the "callout" #
1154 # PACKED opclass 0 and 2 is similar in how the instruction is #
1176 # post-instruction
1179 # pre-instruction * *
1228 # the FPIAR holds the "current PC" of the faulting instruction
1232 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
1233 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
1234 bsr.l _imem_read_long # fetch the instruction words
1252 # I'm not sure at this point what FPSR bits are valid for this instruction.
1506 # I'm not sure at this point what FPSR bits are valid for this instruction.
1722 # three instruction exceptions don't update the stack pointer. so, if the
1808 # I'm not sure at this point what FPSR bits are valid for this instruction.
2038 # The opclass two PACKED instruction that took an "Unimplemented Data Type"
2065 # I'm not sure at this point what FPSR bits are valid for this instruction.
2185 # the instruction was "fmove.p fpn,-(a7)" from supervisor mode.
2225 # the instruction was "fmove.p fpn,-(a7)" from supervisor mode.
2265 # the instruction was "fmove.p fpn,-(a7)" from supervisor mode.
2371 # _imem_read_long() - read instruction longword #
2384 # fmovm_dynamic() - emulate dynamic fmovm instruction #
2385 # fmovm_ctrl() - emulate fmovm control instruction #
2404 # (2) The "fmovm.x" instruction w/ dynamic register specification. #
2405 # (3) The "fmovm.l" instruction w/ 2 or 3 control registers. #
2409 # as the source operand to the instruction specified by the instruction #
2421 # decode and emulate the instruction. No FP exceptions can be pending #
2425 # For the case of "fmovm.x Dn,-(a7)", where the offending instruction #
2430 # For "fmovm.l", fmovm_ctrl() is used to emulate the instruction. #
2440 # reproducing the effective address of the instruction to put on the #
2469 # PC of instruction that took the exception is the PC in the frame
2472 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
2473 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
2474 bsr.l _imem_read_long # fetch the instruction words
2710 # The opclass two instruction that took an "Unimplemented Effective Address"
2911 # The control reg instruction that took an "Unimplemented Effective Address"
2946 # the faulting instruction to get the "next PC". This is trivial for
2956 # PC of instruction that took the exception is the PC in the frame
2958 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
2959 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
2960 bsr.l _imem_read_long # fetch the instruction words
2965 # instruction is using an extended precision immediate operand. Therefore,
2966 # the total instruction length is 16 bytes.
2968 mov.l &0x10,%d0 # 16 bytes of instruction
2973 # the instruction is a fmovm.l with 2 or 3 registers.
2980 # the instruction is an fmovm.x dynamic which can use many addressing
2981 # modes and thus can have several different total instruction lengths.
2983 # as a by-product, will tell us how long the instruction is.
3071 # _imem_read_long() - read instruction longword #
3090 # for opclass zero and two instruction taking this exception, the #
3116 # the FPIAR holds the "current PC" of the faulting instruction
3119 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
3120 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
3121 bsr.l _imem_read_long # fetch the instruction words
3260 # _imem_read_long() - read instruction longword #
3292 # For the case of an extended precision opclass 3 instruction, #
3312 # the FPIAR holds the "current PC" of the faulting instruction
3315 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
3316 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
3317 bsr.l _imem_read_long # fetch the instruction words
3559 # _imem_read_long() - read instruction longword #
3565 # smovcr() - emulate an "fmovcr" instruction #
3566 # fout() - emulate an opclass 3 instruction #
3581 # for opclass zero and two instruction taking this exception, the #
3584 # instruction in order to get this value and then store it to the #
3604 # the FPIAR holds the "current PC" of the faulting instruction
3607 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
3608 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
3609 bsr.l _imem_read_long # fetch the instruction words
3635 # emulate the whole instruction. Notice, though, that we don't kill the
3745 # _imem_read_long() - read instruction longword from memory #
3778 # the FPIAR holds the "current PC" of the faulting instruction
3781 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
3782 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
3783 bsr.l _imem_read_long # fetch the instruction words
3830 # can occur because then FPU is disabled or the instruction is to be #
4199 # fmovm_dynamic(): emulate "fmovm" dynamic instruction #
4205 # iea_iacc() - instruction memory access error occurred #
4216 # Else if instruction access error, #
4234 # If the instruction is "fmovm.x <ea>,Dn", a _mem_read() is used #
4237 # If the instruction is "fmovm.x DN,<ea>", a _mem_write() is used #
4239 # If the instruction is "fmovm.x DN,-(a7)" from supervisor mode, #
4260 # instruction is a nop. #
4830 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4831 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4843 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4844 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4856 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4857 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4869 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4870 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4882 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4883 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4895 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4896 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4908 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4909 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4921 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4922 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4944 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4945 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
4989 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
4990 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
5003 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5004 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5017 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5018 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
5039 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5040 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
5132 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5133 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5142 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5143 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
5163 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5164 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5173 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5174 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
5265 # Decode the instruction type by looking at the extension word #
5296 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5297 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5304 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5305 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5316 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5317 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5324 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5325 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5336 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5337 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5344 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5345 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5356 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5357 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5364 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5365 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
5372 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
5373 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction ptr
7079 # Decode an fmove out (opclass 3) instruction to determine if #
7090 # For packed, the k-factor must be fetched from the instruction #
7954 # fmul(): emulates the fmul instruction #
7955 # fsmul(): emulates the fsmul instruction #
7956 # fdmul(): emulates the fdmul instruction #
7979 # instruction won't cause an exception. Use the regular fmul to #
8450 # fin(): emulates the fmove instruction #
8451 # fsin(): emulates the fsmove instruction #
8452 # fdin(): emulates the fdmove instruction #
8473 # Norms can be emulated w/ a regular fmove instruction. For #
8771 # fdiv(): emulates the fdiv instruction #
8772 # fsdiv(): emulates the fsdiv instruction #
8773 # fddiv(): emulates the fddiv instruction #
8796 # instruction won't cause an exception. Use the regular fdiv to #
9225 # fneg(): emulates the fneg instruction #
9226 # fsneg(): emulates the fsneg instruction #
9227 # fdneg(): emulates the fdneg instruction #
9551 # ftst(): emulates the ftest instruction #
9554 # res{s,q}nan_1op() - set NAN result for monadic instruction #
9636 # fint(): emulates the fint instruction #
9742 # fintrz(): emulates the fintrz instruction #
9844 # fabs(): emulates the fabs instruction #
9845 # fsabs(): emulates the fsabs instruction #
9846 # fdabs(): emulates the fdabs instruction #
10182 # just use the actual fcmp instruction to produce the correct condition #
10358 # fsglmul(): emulates the fsglmul instruction #
10381 # instruction won't cause an exception. Use the regular fsglmul to #
10699 # fsgldiv(): emulates the fsgldiv instruction #
10722 # instruction won't cause an exception. Use the regular fsgldiv to #
11034 # fadd(): emulates the fadd instruction #
11035 # fsadd(): emulates the fadd instruction #
11036 # fdadd(): emulates the fdadd instruction #
11487 # fsub(): emulates the fsub instruction #
11488 # fssub(): emulates the fssub instruction #
11489 # fdsub(): emulates the fdsub instruction #
11933 # fsqrt(): emulates the fsqrt instruction #
11934 # fssqrt(): emulates the fssqrt instruction #
11935 # fdsqrt(): emulates the fdsqrt instruction #
11956 # instruction won't cause an exception. Use the regular fsqrt to #
12559 # Typically used for an instruction w/ a post-increment <ea>, #
12623 # Typically used for an instruction w/ a pre-decrement <ea>, #
14675 # instruction value. but since we're exiting to the access error
14676 # handler, then AN must be returned to its pre-instruction value.
14725 # if it's a fmove out instruction, we don't have to fix a7
14727 # instruction (data moved in) and the exception was in supervisor