Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
4986 connectés 

 

Sujet(s) à lire :
    - Who's who@Programmation
 

 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  6903  6904  6905  ..  26991  26992  26993  26994  26995  26996
Auteur Sujet :

[blabla@olympe] Le topic du modo, dieu de la fibre et du monde

n°1024302
Harkonnen
Modérateur
Un modo pour les bannir tous
Posté le 24-03-2005 à 23:06:19  profilanswer
 

Reprise du message précédent :
d'ailleurs dans la doc d'AMD, y'a plusieurs exemples de memcpy particulièrement parlants :
version "basique" bien pourrie :

Code :
  1. (bandwidth: ~570 Mbytes/sec)
  2. mov esi, [src] // source array
  3. mov edi, [dst] // destination array
  4. mov ecx, [len] // number of QWORDS (8 bytes)
  5. shl ecx, 3 // convert to byte count
  6. rep movsb


 
version block prefetch

Code :
  1. (bandwidth: ~1630 Mbytes/sec improvement: 30%)
  2. #define CACHEBLOCK 400h // QWORDs in a block (8K bytes)
  3. mov esi, [src] // source array
  4. mov edi, [dst] // destination array
  5. mov ecx, [len] // total number of QWORDS (8 bytes)
  6. // (assumes len / CACHEBLOCK = integer)
  7. lea esi, [esi+ecx*8]
  8. lea edi, [edi+ecx*8]
  9. neg ecx
  10. emms
  11. mainloop:
  12. mov eax, CACHEBLOCK / 16 // note: prefetch loop is
  13. // unrolled 2X
  14. prefetchloop:
  15. mov ebx, [esi+ecx*8] // Read one address in line,
  16. mov ebx, [esi+ecx*8+64]// and one address in the next.
  17. add ecx, 16 // add 16 QWORDS, = 2 64-byte
  18. // cache lines
  19. dec eax
  20. jnz prefetchloop
  21. sub ecx, CACHEBLOCK
  22. mov eax, CACHEBLOCK / 8
  23. writeloop:
  24. movq mm0, qword ptr [esi+ecx*8]
  25. .
  26. .
  27. movq mm7, qword ptr [esi+ecx*8+56]
  28. movntq qword ptr [edi+ecx*8], mm0
  29. .
  30. .
  31. movntq qword ptr [edi+ecx*8+56], mm7
  32. add ecx, 8
  33. dec eax
  34. jnz writeloop
  35. or ecx, ecx
  36. jnz mainloop
  37. sfence
  38. emms


ça arrache [:kbchris]


Message édité par Harkonnen le 24-03-2005 à 23:06:47

---------------
J'ai un string dans l'array (Paris Hilton)
mood
Publicité
Posté le 24-03-2005 à 23:06:19  profilanswer
 

n°1024304
masklinn
í dag viðrar vel til loftárása
Posté le 24-03-2005 à 23:07:45  profilanswer
 


Et moi elles puent du gland mes suggestions? [:mmmfff]  
 
Enflure impérialiste [:mmmfff]


Message édité par masklinn le 24-03-2005 à 23:09:54

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1024305
schnapsman​n
Zaford Beeblefect
Posté le 24-03-2005 à 23:08:38  profilanswer
 

masklinn a écrit :

Et moi elles puent du glant mes suggestions? [:mmmfff]  
 
Enflure impérialiste [:mmmfff]


quoted  :o  


---------------
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!"
n°1024306
masklinn
í dag viðrar vel til loftárása
Posté le 24-03-2005 à 23:09:35  profilanswer
 

Harkonnen a écrit :

d'ailleurs dans la doc d'AMD, y'a plusieurs exemples de memcpy particulièrement parlants :
version "basique" bien pourrie :

Code :
  1. (bandwidth: ~570 Mbytes/sec)


 
version block prefetch

Code :
  1. (bandwidth: ~1630 Mbytes/sec improvement: 30%)


ça arrache [:kbchris]


570Mo/s > 1630Mo/s
Amélioration de 30%
 [:gratgrat] ils ont encore des pentium pour faire leurs calculs?


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1024307
masklinn
í dag viðrar vel til loftárása
Posté le 24-03-2005 à 23:10:13  profilanswer
 


[:sisicaivrai]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1024308
WhatDe
Posté le 24-03-2005 à 23:10:26  profilanswer
 

http://forum.hardware.fr/hardwaref [...] m#t5146160 :D
 
On est pas vendredi pourtant.


---------------
[:whatde]
n°1024309
Harkonnen
Modérateur
Un modo pour les bannir tous
Posté le 24-03-2005 à 23:11:02  profilanswer
 

masklinn a écrit :

570Mo/s > 1630Mo/s
Amélioration de 30%
 [:gratgrat] ils ont encore des pentium pour faire leurs calculs?


non, mais entre les 2 méthodes, y'a 7 autres méthodes dont la rapidité est progressive. les 30% gagnés, c'est par rapport à la méthode précédente


---------------
J'ai un string dans l'array (Paris Hilton)
n°1024310
Harkonnen
Modérateur
Un modo pour les bannir tous
Posté le 24-03-2005 à 23:11:30  profilanswer
 

masklinn a écrit :

Et moi elles puent du gland mes suggestions? [:mmmfff]  
 
Enflure impérialiste [:mmmfff]


rooo mais gueule pas bon dieu, j'avais pas vu :o
noté aussi :o


---------------
J'ai un string dans l'array (Paris Hilton)
n°1024311
masklinn
í dag viðrar vel til loftárása
Posté le 24-03-2005 à 23:12:25  profilanswer
 

Harkonnen a écrit :

non, mais entre les 2 méthodes, y'a 7 autres méthodes dont la rapidité est progressive. les 30% gagnés, c'est par rapport à la méthode précédente


Ah oui, ceci explique cela [:moule_bite]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1024312
simogeo
j'ai jamais tué de chats, ...
Posté le 24-03-2005 à 23:15:26  profilanswer
 

jean claude est t'il silencieux dans le noir ? [:sinking]


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
mood
Publicité
Posté le 24-03-2005 à 23:15:26  profilanswer
 

n°1024313
masklinn
í dag viðrar vel til loftárása
Posté le 24-03-2005 à 23:17:14  profilanswer
 

simogeo a écrit :

jean claude est t'il silencieux dans le noir ? [:sinking]


non, il crie aigu :o


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1024314
gm_superst​ar
Appelez-moi Super
Posté le 24-03-2005 à 23:18:33  profilanswer
 

Et pourquoi le bouton en bas à droite s'appelle message_go maintenant ? :heink:


---------------
Incongru : une FAQ abandonnée sur les Standards du Web - FAQ périmée de blabla@Prog
n°1024315
Harkonnen
Modérateur
Un modo pour les bannir tous
Posté le 24-03-2005 à 23:18:51  profilanswer
 

en plus, ce qu'il y a de bien avec le block prefetch, c'est qu'on peut éviter de passer par l'asm en ligne. il suffit juste de lire la mémoire dans une variable "réservoir" pour prefetcher (lire = MOV)
 
tiré de la doc d'AMD

Code :
  1. (bandwidth: ~1125 Mbytes/sec )
  2. static const int CACHEBLOCK = 0x1000; // prefetch chunk size (4K bytes)
  3. int p_fetch; // this "anchor" variable helps us
  4.              // fool the C optimizer
  5. static const void inline BLOCK_PREFETCH_4K (void* addr) {
  6.    int* a = (int*) addr; // cast as INT pointer for speed
  7.    p_fetch += a[0] + a[16] + a[32] + a[48] // Grab every
  8.            + a[64] + a[80] + a[96] + a[112] // 64th address,
  9.            + a[128] + a[144] + a[160] + a[176] // to hit each
  10.            + a[192] + a[208] + a[224] + a[240]; // cache line once.
  11.    a += 256; // point to second 1K stretch of addresses
  12.    p_fetch += a[0] + a[16] + a[32] + a[48]
  13.            + a[64] + a[80] + a[96] + a[112]
  14.            + a[128] + a[144] + a[160] + a[176]
  15.            + a[192] + a[208] + a[224] + a[240];
  16.    a += 256; // point to third 1K stretch of addresses
  17.    p_fetch += a[0] + a[16] + a[32] + a[48]
  18.            + a[64] + a[80] + a[96] + a[112]
  19.            + a[128] + a[144] + a[160] + a[176]
  20.            + a[192] + a[208] + a[224] + a[240];
  21.    a += 256; // point to fourth 1K stretch of addresses
  22.    p_fetch += a[0] + a[16] + a[32] + a[48]
  23.            + a[64] + a[80] + a[96] + a[112]
  24.            + a[128] + a[144] + a[160] + a[176]
  25.            + a[192] + a[208] + a[224] + a[240];
  26. }
  27. for (int m = 0; m < MEM_SIZE; m += CACHEBLOCK) { // process in blocks
  28.    BLOCK_PREFETCH_4K(a_ptr); // get next 4K bytes of "a" into cache
  29.    BLOCK_PREFETCH_4K(b_ptr); // get next 4K bytes of "b" into cache
  30.    for (int i = 0; i < CACHEBLOCK; i += 8) {
  31.       double summo += *a_ptr++ + *b_ptr++; // reads from cache!
  32.   }
  33. }


Message édité par Harkonnen le 24-03-2005 à 23:20:17

---------------
J'ai un string dans l'array (Paris Hilton)
n°1024316
the real m​oins moins
Posté le 24-03-2005 à 23:22:44  profilanswer
 

gm_superstar a écrit :

Et pourquoi le bouton en bas à droite s'appelle message_go maintenant ? :heink:


parce que joce avait oublié de le "traduire" ?


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024317
gm_superst​ar
Appelez-moi Super
Posté le 24-03-2005 à 23:23:27  profilanswer
 
n°1024319
the real m​oins moins
Posté le 24-03-2005 à 23:30:23  profilanswer
 

de la Creuse [:aloy]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024320
the real m​oins moins
Posté le 24-03-2005 à 23:30:56  profilanswer
 

Citation :

Le point G, le kanda pour les tantriques et la perle noire pour les taoïstes, doit son nom actuel à l'initiale de son inventeur le docteur Graffenberg


 
ok [:arcueid brunestud]
 
 
(bon c'est qui qu'a posté un lien vers un topic qu'avait un lien vers doctishit? [:kiki])


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024321
drasche
Posté le 24-03-2005 à 23:30:59  profilanswer
 

[:draschke] [:moktar1er]


---------------
Whichever format the fan may want to listen is fine with us – vinyl, wax cylinders, shellac, 8-track, iPod, cloud storage, cranial implants – just as long as it’s loud and rockin' (Billy Gibbons, ZZ Top)
n°1024322
simogeo
j'ai jamais tué de chats, ...
Posté le 24-03-2005 à 23:31:52  profilanswer
 

gm_superstar a écrit :

Bonne réponse de Madame Moins.


Madame Moins vous avez gagné cet ensemble luxieux de canapé cuir avec son fauteuil
 
http://www.sldm.fr/dynamic/IMG/arton300.jpg
 
ce magnétoscope de marque à la rénommée internationale
 
http://www.marcopoly.com/img/ph/gr/maso0034.jpg
 
et un assortiment de boudins noirs & blanc (plat pour deux personnes) offert par la boucherie-charcuterie Biteaudeau de Saint-Quentin-en-Yvelines
 
http://cooking2000.free.fr/image/dossier/cic/boudins.jpg


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024324
the real m​oins moins
Posté le 24-03-2005 à 23:32:14  profilanswer
 

le 2e post bi-quotidien du drasche \o/
 
vivement demain :bounce:


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024325
the real m​oins moins
Posté le 24-03-2005 à 23:32:45  profilanswer
 

simogeo a écrit :

Madame Moins vous avez gagné cet ensemble luxieux de canapé cuir avec son fauteuil
 
http://www.sldm.fr/dynamic/IMG/arton300.jpg
 
ce magnétoscope de marque à la rénommée internationale
 
http://www.marcopoly.com/img/ph/gr/maso0034.jpg
 
et un assortiment de boudins noirs & blanc (plat pour deux personnes) offert par la boucherie-charcuterie Biteaudeau de Saint-Quentin-en-Yvelines
 
http://cooking2000.free.fr/image/d [...] oudins.jpg


jpouvais pas avoir l'aspirateur pour 500 francs? :(


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024329
black_lord
Truth speaks from peacefulness
Posté le 24-03-2005 à 23:39:56  profilanswer
 

the real moins moins a écrit :

le 2e post bi-quotidien du drasche \o/
 
vivement demain :bounce:


:??:
 
sur son "blog" ?


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°1024330
simogeo
j'ai jamais tué de chats, ...
Posté le 24-03-2005 à 23:42:31  profilanswer
 

the real moins moins a écrit :

jpouvais pas avoir l'aspirateur pour 500 francs? :(


faut p'tet pas exagerer heinnn :/


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024331
the real m​oins moins
Posté le 24-03-2005 à 23:42:53  profilanswer
 

black_lord a écrit :

:??:
 
sur son "blog" ?


ben non.. le post du matin "draschke world :hello:", et le post du soir "[:draschke] [:moktar1er]"


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024332
tet2neu
emmerdeur
Posté le 24-03-2005 à 23:43:12  profilanswer
 

simogeo a écrit :

faut p'tet pas exagerer heinnn :/


A la pace des boudins peut-être ?

n°1024333
simogeo
j'ai jamais tué de chats, ...
Posté le 24-03-2005 à 23:45:27  profilanswer
 

tet2neu a écrit :

A la pace des boudins peut-être ?


ben ca m'embête on les a sorti du congel [:spamafote]
(l'aspirateur y est encore lui [:icon12] )


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024335
gm_superst​ar
Appelez-moi Super
Posté le 24-03-2005 à 23:50:53  profilanswer
 

simogeo a écrit :

Madame Moins vous avez gagné cet ensemble luxieux de canapé cuir avec son fauteuil
 
http://www.sldm.fr/dynamic/IMG/arton300.jpg
 
ce magnétoscope de marque à la rénommée internationale
 
http://www.marcopoly.com/img/ph/gr/maso0034.jpg
 
et un assortiment de boudins noirs & blanc (plat pour deux personnes) offert par la boucherie-charcuterie Biteaudeau de Saint-Quentin-en-Yvelines
 
http://cooking2000.free.fr/image/d [...] oudins.jpg


Han comme il refile des vieux trucs dépassés/démodés lui [:w3c compliant]


Message édité par gm_superstar le 24-03-2005 à 23:52:10

---------------
Incongru : une FAQ abandonnée sur les Standards du Web - FAQ périmée de blabla@Prog
n°1024336
simogeo
j'ai jamais tué de chats, ...
Posté le 24-03-2005 à 23:56:20  profilanswer
 

gm_superstar a écrit :

Han comme il refile des vieux trucs dépassés/démodés lui [:w3c compliant]


 
 
j'ai racheté le fond de la roue de la fortune sur ebay [:chupachupz] , alors je diffuse.
 
Quelqu'un pour Christian Morin ou/et Annie Pujol ? [:tinostar]


Message édité par simogeo le 24-03-2005 à 23:56:29

---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024338
the real m​oins moins
Posté le 25-03-2005 à 00:04:20  profilanswer
 

simogeo a écrit :

j'ai racheté le fond de la roue de la fortune sur ebay [:chupachupz] , alors je diffuse.
 
Quelqu'un pour Christian Morin ou/et Annie Pujol ? [:tinostar]


http://www.lgml.net/HFR/owned/WOF%20go%20fuck%20yourself.jpg


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024339
the real m​oins moins
Posté le 25-03-2005 à 00:04:34  profilanswer
 

mes images [:sisicaivrai]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024341
tet2neu
emmerdeur
Posté le 25-03-2005 à 00:09:48  profilanswer
 

simogeo a écrit :

ben ca m'embête on les a sorti du congel [:spamafote]
(l'aspirateur y est encore lui [:icon12] )


Je comprends :jap:  
 
Pour Annie Pujol, tu peux la laisser dans le congel aussi :D

n°1024342
the real m​oins moins
Posté le 25-03-2005 à 00:11:18  profilanswer
 

tet2neu a écrit :

Je comprends :jap:  
 
Pour Annie Pujol, tu peux la laisser dans le congel aussi :D


boh, le con gelé c'est quand même pas le truc le plus sensuel :o


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024343
simogeo
j'ai jamais tué de chats, ...
Posté le 25-03-2005 à 00:12:37  profilanswer
 

the real moins moins a écrit :

boh, le con gelé c'est quand même pas le truc le plus sensuel :o


http://www.lgml.net/HFR/owned/WOF%20go%20fuck%20yourself.jpg


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024352
simogeo
j'ai jamais tué de chats, ...
Posté le 25-03-2005 à 00:29:34  profilanswer
 

Voilà ce que nous dit Mr Mala (de loin) [:klem3i1]
 

Citation :

Tu diras merci à antp de ma part .. les autres, je les hais ! :o


 


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
n°1024358
the real m​oins moins
Posté le 25-03-2005 à 00:36:29  profilanswer
 

fallait http://forum-images.hardware.fr/themes_static/images/presence%20pc/exclam.gif'er en preums [:klem3i1]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024361
tet2neu
emmerdeur
Posté le 25-03-2005 à 00:40:05  profilanswer
 

Citation :

fallait http://forum-images.hardware.fr/themes_static/images/presence%20pc/exclam.gif'er en preums [:klem3i1]

n°1024362
the real m​oins moins
Posté le 25-03-2005 à 00:40:23  profilanswer
 

merci mon brave.


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1024364
In Ze Navy​ II
Obsédée textuelle
Posté le 25-03-2005 à 00:43:32  profilanswer
 

Quelqu'un pour une petite java ? [:ma muse]
 
 

n°1024365
tet2neu
emmerdeur
Posté le 25-03-2005 à 00:44:54  profilanswer
 

[:coldlake]  
 
Bonne nuit [:darkmavis ultra]

n°1024366
schnapsman​n
Zaford Beeblefect
Posté le 25-03-2005 à 00:45:14  profilanswer
 

In Ze Navy II a écrit :

Quelqu'un pour une petite java ? [:ma muse]


du genre E/S répétitives?
si non, ça m'interesse pas [:itm]


---------------
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!"
n°1024369
simogeo
j'ai jamais tué de chats, ...
Posté le 25-03-2005 à 00:47:42  profilanswer
 

In Ze Navy II a écrit :

Quelqu'un pour une petite java ? [:ma muse]


avec plaisir. tu danses ? [:fande--]


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  6903  6904  6905  ..  26991  26992  26993  26994  26995  26996

Aller à :
Ajouter une réponse
 

Sujets relatifs
Plus de sujets relatifs à : [blabla@olympe] Le topic du modo, dieu de la fibre et du monde


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)