Skip to content

Commit

Permalink
Remove comments with register names that might not be right and don't…
Browse files Browse the repository at this point in the history
… really matter.
  • Loading branch information
nlewycky committed Dec 21, 2019
1 parent e738a9f commit bba0129
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/singlepass-backend/src/codegen_x64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5104,7 +5104,7 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
self.value_stack.push(ret);

let tmp_out = self.machine.acquire_temp_gpr().unwrap();
let tmp_in = self.machine.acquire_temp_xmm().unwrap(); // xmm2
let tmp_in = self.machine.acquire_temp_xmm().unwrap();

Self::emit_relaxed_binop(
a,
Expand Down Expand Up @@ -5135,9 +5135,9 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
if a.arch_has_itruncf() {
a.arch_emit_i64_trunc_uf32(tmp_in, tmp_out);
} else {
let tmp = m.acquire_temp_gpr().unwrap(); // r15
let tmp_x1 = m.acquire_temp_xmm().unwrap(); // xmm1
let tmp_x2 = m.acquire_temp_xmm().unwrap(); // xmm3
let tmp = m.acquire_temp_gpr().unwrap();
let tmp_x1 = m.acquire_temp_xmm().unwrap();
let tmp_x2 = m.acquire_temp_xmm().unwrap();

a.emit_mov(
Size::S32,
Expand Down Expand Up @@ -5623,7 +5623,7 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
self.value_stack.push(ret);

let tmp_out = self.machine.acquire_temp_gpr().unwrap();
let tmp_in = self.machine.acquire_temp_xmm().unwrap(); // xmm2
let tmp_in = self.machine.acquire_temp_xmm().unwrap();

Self::emit_relaxed_binop(
a,
Expand Down Expand Up @@ -5654,9 +5654,9 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
if a.arch_has_itruncf() {
a.arch_emit_i64_trunc_uf64(tmp_in, tmp_out);
} else {
let tmp = m.acquire_temp_gpr().unwrap(); // r15
let tmp_x1 = m.acquire_temp_xmm().unwrap(); // xmm1
let tmp_x2 = m.acquire_temp_xmm().unwrap(); // xmm3
let tmp = m.acquire_temp_gpr().unwrap();
let tmp_x1 = m.acquire_temp_xmm().unwrap();
let tmp_x2 = m.acquire_temp_xmm().unwrap();

a.emit_mov(
Size::S64,
Expand Down

0 comments on commit bba0129

Please sign in to comment.