Add testcases for divde, divde., divdeu, divdeu. emulated instructions
to cover few scenarios,
- with same dividend and divisor to have undefine RT
for divdeu[.]
- with divide by zero to have undefine RT for both
divde[.] and divdeu[.]
- with negative dividend to cover -|divisor| < r <= 0 if
the dividend is negative for divde[.]
- normal case with proper dividend and divisor for both
divde[.] and divdeu[.]
Signed-off-by: Balamuruhan S <bala24@linux.ibm.com>
Reviewed-by: Sandipan Das <sandipan@linux.ibm.com>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200728130308.1790982-4-bala24@linux.ibm.com
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| alloc.c | ||
| checksum_32.S | ||
| checksum_64.S | ||
| checksum_wrappers.c | ||
| code-patching.c | ||
| copy_32.S | ||
| copypage_64.S | ||
| copypage_power7.S | ||
| copyuser_64.S | ||
| copyuser_power7.S | ||
| crtsavres.S | ||
| div64.S | ||
| error-inject.c | ||
| feature-fixups-test.S | ||
| feature-fixups.c | ||
| hweight_64.S | ||
| inst.c | ||
| ldstfp.S | ||
| locks.c | ||
| mem_64.S | ||
| memcmp_32.S | ||
| memcmp_64.S | ||
| memcpy_64.S | ||
| memcpy_mcsafe_64.S | ||
| memcpy_power7.S | ||
| pmem.c | ||
| quad.S | ||
| rheap.c | ||
| sstep.c | ||
| string.S | ||
| string_32.S | ||
| string_64.S | ||
| strlen_32.S | ||
| test_code-patching.S | ||
| test_emulate_step.c | ||
| test_emulate_step_exec_instr.S | ||
| vmx-helper.c | ||
| xor_vmx.c | ||
| xor_vmx.h | ||
| xor_vmx_glue.c | ||