Remove old masm workaround.

This dates to ded93581f1674f81faa0dba4b15a842756066ab2, but we have
since switched to building with nasm, to match upstream's supported
assemblers. Since this doesn't affect anything we generate, remove the
workaround to reduce the diff against upstream.

Change-Id: I549ae97ad6d6f28836f6c9d54dcf51c518de7521
Reviewed-on: https://boringssl-review.googlesource.com/15986
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2017-05-05 18:06:19 -04:00 committed by Adam Langley
parent 45dd8a04f5
commit e34eaa6409

View File

@ -1194,14 +1194,8 @@ while(defined(my $line=<>)) {
}
@args = reverse(@args);
undef $sz if ($nasm && $opcode->mnemonic() eq "lea");
if ($insn eq "movq" && $#args == 1 && $args[0]->out($sz) eq "xmm0" && $args[1]->out($sz) eq "rax") {
# I have no clue why MASM can't parse this instruction.
printf "DB 66h, 48h, 0fh, 6eh, 0c0h";
} else {
printf "\t%s\t%s",$insn,join(",",map($_->out($sz),@args));
}
}
} else {
printf "\t%s",$opcode->out();
}