diff options
author | Balamuruhan S <[email protected]> | 2020-07-28 18:33:08 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-29 23:47:52 +1000 |
commit | b859c95cf4b936b5e8019e7ab68ee2740e609ffd (patch) | |
tree | 921ab79d7fb91870ffe0e83a2a6a7ebeeb7ab07d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 151c32bf5ebdd41114267717dc4b53d2632cbd30 (diff) |
powerpc/test_emulate_step: Add testcases for divde[.] and divdeu[.] instructions
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 <[email protected]>
Reviewed-by: Sandipan Das <[email protected]>
Acked-by: Naveen N. Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions