PPC/s390: Ignore overflow/notoverflow for poisoning

R=joransiu@ca.ibm.com

Change-Id: Id88187906f82cc9956ffbc9c70e4a1fdd8b20b30
Reviewed-on: https://chromium-review.googlesource.com/1234974
Reviewed-by: Joran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#56055}
This commit is contained in:
Junliang Yan 2018-09-19 15:42:44 -04:00 committed by Commit Bot
parent 3e49607c9d
commit efc797179f
2 changed files with 4 additions and 2 deletions

View File

@ -2121,7 +2121,8 @@ void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) {
void CodeGenerator::AssembleBranchPoisoning(FlagsCondition condition,
Instruction* instr) {
// TODO(John) Handle float comparisons (kUnordered[Not]Equal).
if (condition == kUnorderedEqual || condition == kUnorderedNotEqual) {
if (condition == kUnorderedEqual || condition == kUnorderedNotEqual ||
condition == kOverflow || condition == kNotOverflow) {
return;
}

View File

@ -2779,7 +2779,8 @@ void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) {
void CodeGenerator::AssembleBranchPoisoning(FlagsCondition condition,
Instruction* instr) {
// TODO(John) Handle float comparisons (kUnordered[Not]Equal).
if (condition == kUnorderedEqual || condition == kUnorderedNotEqual) {
if (condition == kUnorderedEqual || condition == kUnorderedNotEqual ||
condition == kOverflow || condition == kNotOverflow) {
return;
}