Public Gists by bzoli22

Gravatar
Wed Jan 14 13:36:52 -0800 2009
1
2
3
typedef
__attribute__ ((aligned(16)))
float Vector[1024];
gist: 47092 automatic vectorization dep...
Gravatar
Wed Jan 14 13:24:31 -0800 2009
1
2
3
_add:
pushl %ebp
movl %esp, %ebp
Gravatar
Wed Jan 14 13:00:35 -0800 2009
1
2
3
L7:
movss (%ecx,%eax,4), %xmm0
addss (%edx,%eax,4), %xmm0
Gravatar
Wed Jan 14 12:58:20 -0800 2009
1
2
3
void add( float a[1024], float b[1024], float c[1024])
{
for ( int i=0; i<1024; i++ )
Gravatar
Wed Jan 14 12:48:17 -0800 2009
1
2
3
_add:
pushl %ebp
movl %esp, %ebp
Gravatar
Wed Jan 14 12:41:54 -0800 2009
1
2
3
static float a[1024], b[1024], c[1024];
 
void add()
Gravatar
Sun Dec 28 04:49:08 -0800 2008
1
2
3
_create_vector:
movss 8(%esp), %xmm1
movss 4(%esp), %xmm0
Gravatar
Sun Dec 28 04:38:33 -0800 2008
1
2
3
_create_vector:
movss 8(%esp), %xmm0
movss 4(%esp), %xmm2
Gravatar
Sun Dec 28 04:37:04 -0800 2008
1
2
3
typedef float v4t __attribute__ ((vector_size(16), aligned(16)));
 
v4t create_vector(float a, float b, float c, float d)
Gravatar
Sun Dec 28 04:31:47 -0800 2008
1
2
3
typedef float v3t __attribute__ ((vector_size(12), aligned(16)));
 
v3t addv3( v3t a, v3t b)
Gravatar
Sun Dec 28 04:13:13 -0800 2008
1
2
3
typedef float v4t __attribute__ ((vector_size(16), aligned(16)));
 
v4t addv4( v4t a, v4t b)
Gravatar
Sat Dec 20 12:56:30 -0800 2008
1
2
3
int f(int x)
{
if ( x == 0 )
Gravatar
Sat Dec 20 12:52:56 -0800 2008
1
2
3
_f:
pushl %ebp
movl %esp, %ebp
Gravatar
Sat Dec 20 12:49:49 -0800 2008
1
2
3
_f:
pushl %ebp
movl %esp, %ebp
gist: 38395 http://bzoli.blogspot.com/2...
Gravatar
Sat Dec 20 12:31:07 -0800 2008
1
2
3
int f(unsigned int x)
{
if ( x == 0 )
Gravatar
Sat Dec 20 12:12:13 -0800 2008
1
2
3
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Gravatar
Fri Dec 19 12:53:46 -0800 2008
1
2
3
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
Gravatar
Tue Dec 16 02:10:31 -0800 2008
1
2
3
#ifdef __WIN32
#include <windows.h>
 
Gravatar
Tue Dec 16 01:59:18 -0800 2008
1
2
3
#include <stdio.h>
#include <omp.h>
 
Gravatar
Tue Dec 09 07:50:29 -0800 2008
1
2
3
static Molecule add_explicit_hydrogens( Molecule mol2d ) throws CDKException
{
// set atom types for mol2d, needed for implicit hydrogens