WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit cf8d1126 authored by qinsoon's avatar qinsoon
Browse files

fix last commit, inst name is shl instead of shld

parent 40a91786
......@@ -1790,8 +1790,8 @@ impl CodeGenerator for ASMCodeGen {
)
}
fn emit_shld_r64_cl (&mut self, dest: &P<Value>) {
trace!("emit shld {}, CL -> {}", dest, dest);
fn emit_shl_r64_cl (&mut self, dest: &P<Value>) {
trace!("emit shl {}, CL -> {}", dest, dest);
let (reg1, id1, loc1) = self.prepare_reg(dest, 4 + 1 + 3 + 1);
let rcx = self.prepare_machine_reg(&x86_64::RCX);
......@@ -1811,8 +1811,8 @@ impl CodeGenerator for ASMCodeGen {
)
}
fn emit_shld_mem64_cl (&mut self, dest: &P<Value>) {
trace!("emit shld {}, CL -> {}", dest, dest);
fn emit_shl_mem64_cl (&mut self, dest: &P<Value>) {
trace!("emit shl {}, CL -> {}", dest, dest);
let (mem, mut uses) = self.prepare_mem(dest, 4 + 1 + 3 + 1);
let rcx = self.prepare_machine_reg(&x86_64::RCX);
......@@ -1831,8 +1831,8 @@ impl CodeGenerator for ASMCodeGen {
)
}
fn emit_shld_r64_imm8 (&mut self, dest: &P<Value>, src: i8) {
trace!("emit shld {},{} -> {}", dest, src, dest);
fn emit_shl_r64_imm8 (&mut self, dest: &P<Value>, src: i8) {
trace!("emit shl {},{} -> {}", dest, src, dest);
let (reg1, id1, loc1) = self.prepare_reg(dest, 4 + 1 + 1 + src.to_string().len() + 1);
......@@ -1850,8 +1850,8 @@ impl CodeGenerator for ASMCodeGen {
)
}
fn emit_shld_mem64_imm8(&mut self, dest: &P<Value>, src: i8) {
trace!("emit shld {},{} -> {}", dest, src, dest);
fn emit_shl_mem64_imm8(&mut self, dest: &P<Value>, src: i8) {
trace!("emit shl {},{} -> {}", dest, src, dest);
let (mem, mut uses) = self.prepare_mem(dest, 4 + 1 + 1 + src.to_string().len() + 1);
......
......@@ -64,10 +64,10 @@ pub trait CodeGenerator {
fn emit_idiv_r64 (&mut self, src: &P<Value>);
fn emit_idiv_mem64(&mut self, src: &P<Value>);
fn emit_shld_r64_cl (&mut self, dest: &P<Value>);
fn emit_shld_mem64_cl (&mut self, dest: &P<Value>);
fn emit_shld_r64_imm8 (&mut self, dest: &P<Value>, src: i8);
fn emit_shld_mem64_imm8(&mut self, dest: &P<Value>, src: i8);
fn emit_shl_r64_cl (&mut self, dest: &P<Value>);
fn emit_shl_mem64_cl (&mut self, dest: &P<Value>);
fn emit_shl_r64_imm8 (&mut self, dest: &P<Value>, src: i8);
fn emit_shl_mem64_imm8(&mut self, dest: &P<Value>, src: i8);
fn emit_cqo(&mut self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment