2012/10/2 Jeppe Græsdal Johansen jjoha...@student.aau.dk
Integer is not a specifically sized type. It might differ based on what
platform you are on. For example, it's 16bit on i386-linux when compiled
with mode fpc. With mode objfpc on the same platform it's 32bit.
The code is compiled
Hi,
03.10.2012 5:29, luiz americo pereira camara:
[...]
The complete procedure:
{$ASMMODE INTEL}
procedure AlphaBlendLineConstant(Source, Destination: Pointer; Count:
Integer; ConstantAlpha, Bias: Integer);
asm
{$ifdef CPU64}
// RCX contains Source
// RDX contains Destination
// R8D contains
It depends on the compiler mode, not the platform - at least according
to the docs in http://www.freepascal.org/docs-html/ref/refsu5.html:
---
The integer type maps to the smallint type in the default Free Pascal
mode. It maps to either a longint in either Delphi or ObjFPC mode. The
cardinal type
On 03 Oct 2012, at 03:29, luiz americo pereira camara wrote:
I'm porting some Delphi assembly code.
It worked fine with fpc 2.6.0 i386-64bit windows compiler
When i tried the same code with fpc 2.6.0 i386-64bit for linux it
failed to
compile with the following error:
Error: Asm: 16 or 32
2012/10/3 Jonas Maebe jonas.ma...@elis.ugent.be
On 03 Oct 2012, at 03:29, luiz americo pereira camara wrote:
at the line
// Load XMM5 with the bias value.
MOVDXMM5, [Bias] //Bias = Integer
Is it a know issue or a limitation of linux version?
Win64 uses a
2012/10/4 luiz americo pereira camara luiz...@oi.com.br
2012/10/3 Jonas Maebe jonas.ma...@elis.ugent.be
On 03 Oct 2012, at 03:29, luiz americo pereira camara wrote:
at the line
// Load XMM5 with the bias value.
MOVDXMM5, [Bias] //Bias = Integer
Is it a know
Hi,
I'm porting some Delphi assembly code.
It worked fine with fpc 2.6.0 i386-64bit windows compiler
When i tried the same code with fpc 2.6.0 i386-64bit for linux it failed to
compile with the following error:
Error: Asm: 16 or 32 Bit references not supported
at the line
// Load
Integer is not a specifically sized type. It might differ based on what
platform you are on. For example, it's 16bit on i386-linux when compiled
with mode fpc. With mode objfpc on the same platform it's 32bit.
Also, wouldn't MOVD XMM5, [Bias] imply that you are moving from the
address stored