提交 4e3d2866 编写于 作者: A Andy Polyakov

perlasm/x86*.pl: add endbranch instruction.

For further information see "Control-flow Enforcement Technology
Preview" by Intel.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 cc77d0d8
......@@ -864,6 +864,10 @@ my $vprotq = sub {
}
};
my $endbranch = sub {
(0xf3,0x0f,0x1e,0xfa);
};
if ($nasm) {
print <<___;
default rel
......
......@@ -172,6 +172,11 @@ sub ::vprotd
{ &::generic("vprotd",@_); }
}
sub ::endbranch
{
&::data_byte(0xf3,0x0f,0x1e,0xfb);
}
# label management
$lbdecor="L"; # local label decoration, set by package
$label="000";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册