Changeset 58788 in vbox
- Timestamp:
- Nov 19, 2015 11:33:22 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 104238
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm-watcom-x86-16.h
r58771 r58788 340 340 modify exact [ax cx di]; 341 341 342 #undef ASMMem Zero32343 #pragma aux ASMMem Zero32 = \342 #undef ASMMemFill32 343 #pragma aux ASMMemFill32 = \ 344 344 "and ecx, 0ffffh" /* probably not necessary, lazy bird should check... */ \ 345 345 "shr ecx, 2" \ … … 466 466 modify exact [ax dx]; 467 467 468 #undef ASMBitTest 469 #pragma aux ASMBitTest = \ 470 "shl edx, 16" \ 471 "mov dx, ax" \ 472 "bt es:[bx], edx" \ 473 "setc al" \ 474 parm [es bx] [ax dx] nomemory \ 475 value [al] \ 476 modify exact [ax dx] nomemory; 477 478 #if 0 468 479 /** @todo this is way to much inline assembly, better off in an external function. */ 469 480 #undef ASMBitFirstClear … … 521 532 522 533 /* ASMBitNextSet: Too much work, do when needed. */ 534 #else 535 /* ASMBitFirstClear: External file. */ 536 /* ASMBitNextClear: External file. */ 537 /* ASMBitFirstSet: External file. */ 538 /* ASMBitNextSet: External file. */ 539 #endif 523 540 524 541 #undef ASMBitFirstSetU32 -
trunk/include/iprt/asm-watcom-x86-32.h
r58771 r58788 310 310 modify exact [eax ecx edi]; 311 311 312 #undef ASMMem Zero32313 #pragma aux ASMMem Zero32 = \312 #undef ASMMemFill32 313 #pragma aux ASMMemFill32 = \ 314 314 "shr ecx, 2" \ 315 315 "rep stosd" \ … … 409 409 modify exact [eax]; 410 410 411 #undef ASMBitTest 412 #pragma aux ASMBitTest = \ 413 "bt [ecx], eax" \ 414 "setc al" \ 415 parm [ecx] [eax] nomemory \ 416 value [al] \ 417 modify exact [eax] nomemory; 418 419 #if 0 411 420 /** @todo this is way to much inline assembly, better off in an external function. */ 412 421 #undef ASMBitFirstClear … … 454 463 455 464 /* ASMBitNextSet: Too much work, do when needed. */ 465 #else 466 /* ASMBitFirstClear: External file. */ 467 /* ASMBitNextClear: External file. */ 468 /* ASMBitFirstSet: External file. */ 469 /* ASMBitNextSet: External file. */ 470 #endif 456 471 457 472 #undef ASMBitFirstSetU32
Note:
See TracChangeset
for help on using the changeset viewer.