comparison gen/tocall.cpp @ 949:b2d27ddf8f45

changes to get the naked asm stuff working for x64
author wilsonk@ubuntu
date Tue, 10 Feb 2009 08:02:25 -0700
parents 03d7c4aac654
children f31b29eb6980
comparison
equal deleted inserted replaced
948:780530d1cad3 949:b2d27ddf8f45
462 462
463 // get return value 463 // get return value
464 LLValue* retllval = (retinptr) ? args[0] : call->get(); 464 LLValue* retllval = (retinptr) ? args[0] : call->get();
465 465
466 // swap real/imag parts on a x87 466 // swap real/imag parts on a x87
467 if (global.params.cpu == ARCHx86 && tf->nextOf()->toBasetype()->iscomplex()) 467 if ((global.params.cpu == ARCHx86 || global.params.cpu == ARCHx86_64) && tf->nextOf()->toBasetype()->iscomplex())
468 { 468 {
469 retllval = DtoAggrPairSwap(retllval); 469 retllval = DtoAggrPairSwap(retllval);
470 } 470 }
471 471
472 // repaint the type if necessary 472 // repaint the type if necessary