Re: SSE2 register addition (linux gas)



Alexander Knopf a écrit :
quick questions about the above.

i'm writing a program that handles large numbers, over 128 bits.
now i understand i could just put 4 DWord sections of any number into an
xmm register, put another 4 DWords into a second and add them.
however, i don't know how the carry flag is handled.
so questions as follows:
1) which byte order would i have to use ?
2) would the carry bit be added to the next higher dword ?
3) what happens if the highest dword addition produces a carry ?

any help is greatly appreciated.

-Alexander Knopf


I would check first if there is a 128 bit ADD instruction...

.



Relevant Pages

  • SSE2 register addition (linux gas)
    ... i'm writing a program that handles large numbers, ... would the carry bit be added to the next higher dword? ... what happens if the highest dword addition produces a carry? ... -Alexander Knopf ...
    (comp.lang.asm.x86)
  • Re: Memory Manager DLL Validation
    ... Validation 14 *writes* past the end which is very very bad ... > reading the last dword, but writing is a no-no. ... the dword containing the zero-terminator. ...
    (borland.public.delphi.language.basm)
  • request:help reqd in using bus_dma functions
    ... I am writing a network driver where in have created tags and maps for ... tx_desc of transmit-q-size by using these functions. ... DWORD data_buff; ... docs but not very sure as I'm writing n/w drivers for the first time .I'm ...
    (freebsd-hackers)
  • Re: newbie: MUL product
    ... basis, or dword by dword? ... writing ax to memory will write al then ah. ... same memory address, will write dl, then dh. ... think that endian order is a byte by byte basis in memory, ...
    (alt.lang.asm)
  • Re: Fastcode Uppercase Validation
    ... > I was against writing the last dword at that time because I was working on ... > 1-byte header MM, but that idea didn't work out... ... Prev by Date: ...
    (borland.public.delphi.language.basm)