Skip to content

Commit

Permalink
- Fixed x86 emitters
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed Oct 30, 2018
1 parent fd9cd73 commit 9674b54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Mosa.Platform.x64/Instructions/StaticEmitters.cs
Expand Up @@ -426,7 +426,7 @@ internal static void EmitMovupsLoad(InstructionNode node, BaseCodeEmitter emitte
.AppendRegister(node.Result.Register) // 3:register (destination)
.AppendRM(node.Operand1) // 3:r/m (source)

.AppendConditionalDisplacement(!node.Operand2.IsResolvedByLinker, node.Operand2) // 8/32:displacement value
.AppendConditionalDisplacement(!node.Operand2.IsConstantZero, node.Operand2) // 8/32:displacement value
.GetPosition(out int patchOffset)
.AppendConditionalPlaceholder32(node.Operand1.IsResolvedByLinker); // 32:memory

Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Platform.x86/Instructions/StaticEmitters.cs
Expand Up @@ -421,7 +421,7 @@ internal static void EmitMovupsLoad(InstructionNode node, BaseCodeEmitter emitte
.AppendRegister(node.Result.Register) // 3:register (destination)
.AppendRM(node.Operand1) // 3:r/m (source)

.AppendConditionalDisplacement(!node.Operand2.IsResolvedByLinker, node.Operand2) // 8/32:displacement value
.AppendConditionalDisplacement(!node.Operand2.IsConstantZero, node.Operand2) // 8/32:displacement value
.GetPosition(out int patchOffset)
.AppendConditionalPlaceholder32(node.Operand1.IsResolvedByLinker); // 32:memory

Expand Down

0 comments on commit 9674b54

Please sign in to comment.