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:
parent
45dd8a04f5
commit
e34eaa6409
@ -1194,13 +1194,7 @@ while(defined(my $line=<>)) {
|
|||||||
}
|
}
|
||||||
@args = reverse(@args);
|
@args = reverse(@args);
|
||||||
undef $sz if ($nasm && $opcode->mnemonic() eq "lea");
|
undef $sz if ($nasm && $opcode->mnemonic() eq "lea");
|
||||||
|
printf "\t%s\t%s",$insn,join(",",map($_->out($sz),@args));
|
||||||
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 {
|
} else {
|
||||||
printf "\t%s",$opcode->out();
|
printf "\t%s",$opcode->out();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user