SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
•
•
•
•
•
•
•
•
•
•

• 
•
// Some examples
void vecf4_store4(float* ptr, VECF4_ARG value)
{
vst1q_f32(ptr, value);
}
vecf4 vecf4_load4(const float* values)
{
return vld1q_f32(values);
}
vecf4 vecf4_add(VECF4_ARG v0, VECF4_ARG v1)
{
return vaddq_f32(v0, v1);
}
bool vecf4_is_near_equal4(VECF4_ARG v0, VECF4_ARG v1, VECF4_ARG tol)
{
uint32x4_t v = vecf4_near_equal(v0, v1, tol);
uint32x2_t qlow = vget_low_u32(v);
uint32x2_t qhigh= vget_high_u32(v);
uint32x2_t qtemp = vtst_u32(qlow, qhigh);
uint32x2_t qtemp2 = vrev64_u32(qtemp);
uint32x2_t res = vtst_u32(qtemp, qtemp2);
uint32_t ret = 0;
vst1_lane_u32(&ret, res, 0);
return (bool)ret;
}
// ...more...
__pld(dest);
__pld(data);
for (int i = 0; i < count; ++i)
{
float32x4_t v = vld1q_f32(data + i*4);
vst1q_f32(dest + i*4, v);
}
void* memcpy (void* destination, const void* source, size_t num);
•
•
•
•
•
•
•
•
•
•
•
•
Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch
Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch
Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch
Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch
Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch

Weitere ähnliche Inhalte

Was ist angesagt?

openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習B
openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習BopenFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習B
openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習BAtsushi Tadokoro
 
Тененёв Анатолий, Boost.Asio в алгоритмической торговле
Тененёв Анатолий, Boost.Asio в алгоритмической торговлеТененёв Анатолий, Boost.Asio в алгоритмической торговле
Тененёв Анатолий, Boost.Asio в алгоритмической торговлеPlatonov Sergey
 
Membuat traffic light dengan avr at mega
Membuat traffic light dengan avr at megaMembuat traffic light dengan avr at mega
Membuat traffic light dengan avr at megaPriyo Harjiyono
 
The Ring programming language version 1.5.4 book - Part 176 of 185
The Ring programming language version 1.5.4 book - Part 176 of 185The Ring programming language version 1.5.4 book - Part 176 of 185
The Ring programming language version 1.5.4 book - Part 176 of 185Mahmoud Samir Fayed
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionRitesh Kumar
 
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートII
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートIIopenFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートII
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートIIAtsushi Tadokoro
 
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートII
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートIIopenFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートII
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートIIAtsushi Tadokoro
 
Teknik simulasi
Teknik simulasiTeknik simulasi
Teknik simulasiqoriaini
 
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tips
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tipsOpenResty/Lua 70+ Advanced Programming Skills and Optimization tips
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tipsHo Kim
 
Sujet bac info 2012 g1, g2 et g3 avec correction
Sujet bac info 2012 g1, g2 et g3 avec correctionSujet bac info 2012 g1, g2 et g3 avec correction
Sujet bac info 2012 g1, g2 et g3 avec correctionborhen boukthir
 
Metodo newton-raphson
Metodo newton-raphsonMetodo newton-raphson
Metodo newton-raphsondhanniell
 

Was ist angesagt? (15)

openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習B
openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習BopenFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習B
openFrameworks基礎 動きを生みだす、アニメーション入門 - 芸大グラフィックスプログラミング演習B
 
Passato
PassatoPassato
Passato
 
Тененёв Анатолий, Boost.Asio в алгоритмической торговле
Тененёв Анатолий, Boost.Asio в алгоритмической торговлеТененёв Анатолий, Boost.Asio в алгоритмической торговле
Тененёв Анатолий, Boost.Asio в алгоритмической торговле
 
Membuat traffic light dengan avr at mega
Membuat traffic light dengan avr at megaMembuat traffic light dengan avr at mega
Membuat traffic light dengan avr at mega
 
Algoritmo secuencial
Algoritmo secuencialAlgoritmo secuencial
Algoritmo secuencial
 
The Ring programming language version 1.5.4 book - Part 176 of 185
The Ring programming language version 1.5.4 book - Part 176 of 185The Ring programming language version 1.5.4 book - Part 176 of 185
The Ring programming language version 1.5.4 book - Part 176 of 185
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Turbo pascal
Turbo pascalTurbo pascal
Turbo pascal
 
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートII
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートIIopenFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートII
openFrameworks、プログラムの制御構造の基本 - 多摩美メディアアートII
 
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートII
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートIIopenFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートII
openFrameworks 動きを生みだす様々なアルゴリズム - 多摩美メディアアートII
 
Img 0001
Img 0001Img 0001
Img 0001
 
Teknik simulasi
Teknik simulasiTeknik simulasi
Teknik simulasi
 
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tips
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tipsOpenResty/Lua 70+ Advanced Programming Skills and Optimization tips
OpenResty/Lua 70+ Advanced Programming Skills and Optimization tips
 
Sujet bac info 2012 g1, g2 et g3 avec correction
Sujet bac info 2012 g1, g2 et g3 avec correctionSujet bac info 2012 g1, g2 et g3 avec correction
Sujet bac info 2012 g1, g2 et g3 avec correction
 
Metodo newton-raphson
Metodo newton-raphsonMetodo newton-raphson
Metodo newton-raphson
 

Saints Row on the Go - Bringing Saints Row The Third to the Nintendo Switch

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 7.
  • 8.
  • 9.
  • 10.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. •  • // Some examples void vecf4_store4(float* ptr, VECF4_ARG value) { vst1q_f32(ptr, value); } vecf4 vecf4_load4(const float* values) { return vld1q_f32(values); } vecf4 vecf4_add(VECF4_ARG v0, VECF4_ARG v1) { return vaddq_f32(v0, v1); } bool vecf4_is_near_equal4(VECF4_ARG v0, VECF4_ARG v1, VECF4_ARG tol) { uint32x4_t v = vecf4_near_equal(v0, v1, tol); uint32x2_t qlow = vget_low_u32(v); uint32x2_t qhigh= vget_high_u32(v); uint32x2_t qtemp = vtst_u32(qlow, qhigh); uint32x2_t qtemp2 = vrev64_u32(qtemp); uint32x2_t res = vtst_u32(qtemp, qtemp2); uint32_t ret = 0; vst1_lane_u32(&ret, res, 0); return (bool)ret; } // ...more...
  • 22. __pld(dest); __pld(data); for (int i = 0; i < count; ++i) { float32x4_t v = vld1q_f32(data + i*4); vst1q_f32(dest + i*4, v); } void* memcpy (void* destination, const void* source, size_t num);
  • 23.
  • 24.
  • 25.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.