Lines Matching refs:scenario
1074 static unsigned long test_context_cpsr(int scenario) in test_context_cpsr() argument
1081 cpsr = (scenario & 0xf) << 28; /* N,Z,C,V flags */ in test_context_cpsr()
1082 cpsr |= (scenario & 0xf) << 16; /* GE flags */ in test_context_cpsr()
1083 cpsr |= (scenario & 0x1) << 27; /* Toggle Q flag */ in test_context_cpsr()
1090 if (scenario == 15) in test_context_cpsr()
1100 if (scenario == 15) in test_context_cpsr()
1105 unsigned x = (scenario >> 4); in test_context_cpsr()
1113 if ((scenario & 0xf) == 0xf) in test_context_cpsr()
1128 switch (scenario) { in test_context_cpsr()
1152 int scenario = test_case_run_count>>1; in setup_test_context() local
1161 val = (scenario & 1) ? VALM : ~VALM; in setup_test_context()
1171 val = (scenario & 2) ? VALR : ~VALR; in setup_test_context()
1176 regs->ARM_cpsr |= test_context_cpsr(scenario); in setup_test_context()