Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44

Thread: Dynamic assembly machine code in thinBasic

  1. #41
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Dynamic assembly machine code in thinBasic

    Hi Abraxas,

    very nice program!
    And you are right, I was refering to some occasional GPFs of thinAir itself.


    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #42

    Re: Dynamic assembly machine code in thinBasic

    Thank you both, they are useful quick references to have around. OpCodes2 has the more specialised SIMD and 3DNOW instructions should we need them.

  3. #43
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Dynamic assembly machine code in thinBasic

    Charles,

    is there any way to determine whether CPU can run for example SSE instructions.
    With high performance code in strings, we could test on script startup whether MMX or SSE is supported and then assign apropriate values ( once ) to the machine code variable. So kind of JIT script optimization


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #44

    Re: Dynamic assembly machine code in thinBasic


    Yes Petr, the magic instruction is CPUID (0F A2) which will give chapter and verse on the CPU. The manual goes into great detail from page 3-111. I'll have to study it, and find out what codings AMD and VIA use on their chips, in addition to the standard codings.

    http://developer.intel.com/design/pe...als/243191.htm




Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. DEP and machine code
    By Petr Schreiber in forum Machine Code
    Replies: 4
    Last Post: 13-03-2008, 22:13

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •