Lines Matching refs:cpsr
1013 static unsigned long test_check_cc(int cc, unsigned long cpsr) in test_check_cc() argument
1015 int ret = arm_check_condition(cc << 28, cpsr); in test_check_cc()
1026 unsigned long cpsr; in test_context_cpsr() local
1031 cpsr = (scenario & 0xf) << 28; /* N,Z,C,V flags */ in test_context_cpsr()
1032 cpsr |= (scenario & 0xf) << 16; /* GE flags */ in test_context_cpsr()
1033 cpsr |= (scenario & 0x1) << 27; /* Toggle Q flag */ in test_context_cpsr()
1039 probe_should_run = test_check_cc(cc, cpsr) != 0; in test_context_cpsr()
1047 probe_should_run = test_check_cc(cc, cpsr) != 0; in test_context_cpsr()
1067 cpsr |= cond_base << 13; /* ITSTATE<7:5> */ in test_context_cpsr()
1068 cpsr |= (mask & 0x1) << 12; /* ITSTATE<4> */ in test_context_cpsr()
1069 cpsr |= (mask & 0x2) << 10; /* ITSTATE<3> */ in test_context_cpsr()
1070 cpsr |= (mask & 0x4) << 8; /* ITSTATE<2> */ in test_context_cpsr()
1071 cpsr |= (mask & 0x8) << 23; /* ITSTATE<1> */ in test_context_cpsr()
1072 cpsr |= (mask & 0x10) << 21; /* ITSTATE<0> */ in test_context_cpsr()
1074 probe_should_run = test_check_cc((cpsr >> 12) & 0xf, cpsr) != 0; in test_context_cpsr()
1080 cpsr = 0x00000800; in test_context_cpsr()
1084 cpsr = 0xf0007800; in test_context_cpsr()
1088 cpsr = 0x00009800; in test_context_cpsr()
1091 cpsr = 0xf0002800; in test_context_cpsr()
1097 return cpsr; in test_context_cpsr()