Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Any samples for XE6



Permlink Replies: 6 - Last Post: Jul 24, 2016 11:53 PM Last Post By: Philipp S
Gilbert Padilla

Posts: 315
Registered: 3/8/04
Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 11, 2014 10:39 AM
Basm exmaples for XE6?
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2014 8:47 AM   in response to: Gilbert Padilla in response to: Gilbert Padilla
Gilbert Padilla wrote:

Basm exmaples for XE6?

BASM hasn't changed a lot since the introduction of X64 for Delphi. You
can take any BASM example for probably all XE versions.

I'll post my new Decimals.pas (with Win32 and Win64 assembler) to my
website this evening. It is chock full of BASM. But it is not a neat
simple example. <g>

http://rvelthuis.de/programs/decimals.html

--
Rudy Velthuis http://www.rvelthuis.de

"Prohibition goes beyond reason in that it attempts to control
a man's appetite through legislation. A prohibition law strikes
a blow at the very principles this country was founded upon."
-- Abraham Lincoln
Gilbert Padilla

Posts: 315
Registered: 3/8/04
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 24, 2014 7:34 PM   in response to: Rudy Velthuis (... in response to: Rudy Velthuis (...
Thanks for the sample Rudy, I will take a look at it
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 25, 2014 2:05 PM   in response to: Gilbert Padilla in response to: Gilbert Padilla
Gilbert Padilla wrote:

Thanks for the sample Rudy, I will take a look at it

I must admit I still didn't upload the 32/64 bit version.

--
Rudy Velthuis http://www.rvelthuis.de

"One-tenth of the folks run the world. One-tenth watch them run
it, and the other eighty percent don't know what the hell's
going on."
-- Jake Simmons
Philipp S

Posts: 3
Registered: 3/21/06
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2016 8:40 AM   in response to: Rudy Velthuis (... in response to: Rudy Velthuis (...
BASM hasn't changed a lot since the introduction of X64 for Delphi. You
can take any BASM example for probably all XE versions.

Hey there Rudy, long time no read.

Has BASM (or the debugger) actually ever been updated to understand the AVX and more recent instruction sets? (I'm still on XE2)

Cheers, Philipp
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 24, 2016 11:38 PM   in response to: Philipp S in response to: Philipp S
Philipp S wrote:

BASM hasn't changed a lot since the introduction of X64 for Delphi.
You can take any BASM example for probably all XE versions.

Hey there Rudy, long time no read.

Has BASM (or the debugger) actually ever been updated to understand
the AVX and more recent instruction sets? (I'm still on XE2)

I actually don't know. Could you give an example?


--
Rudy Velthuis http://www.rvelthuis.de

"I feel so miserable without you; it's almost like having
you here." -- Stephen Bishop

Philipp S

Posts: 3
Registered: 3/21/06
Re: Any samples for XE6
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 24, 2016 11:53 PM   in response to: Rudy Velthuis (... in response to: Rudy Velthuis (...
Rudy Velthuis (TeamB) wrote:
I actually don't know. Could you give an example?

Essentially, these instructions mostly look like SSE instructions prefixed with "V". Sometimes they act on larger registers (e.g. YMMs) or have more operands. For example like that:

    vmovd xmm5, edx              
    vxorps ymm0, ymm0, ymm0     
    vpshufb xmm5, xmm5, xmm0    
    vinsertf128 ymm5, ymm5, xmm5, 1 
    vzeroupper
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02