General

Profile

gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)

  • Login: gustavo.pedrosa
  • Registered on: 07/14/2014
  • Last sign in: 01/14/2015

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

07/23/2014

05:11 PM Ruby Feature #10087 (Closed): [PATCH] Specifying "target_cpu" for structure packing in ppc64
This change adds new "target_cpu" for structure packing in ppc64.
~~~
- [x86*|i?86|x64], [packed_struct_unaligned='PACKED_STRUCT(x)'])
+ [x86*|i?86|x64|powerpc64*|ppc64*], [packed_struct_unaligned='PACKED_STRUCT(x)'])
~~~
Note: ...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
11:28 AM Ruby Feature #10081: [PATCH] Specifying MACRO for increase performence in ppc64
Nobuyoshi Nakada wrote:
> PowerPC64 can unaligned access?
Yes, I have tested in my IBM POWER 7+ (rev 2.1)
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)

07/22/2014

06:48 PM Ruby Bug #10080: Functions marked as "static inline" are not inlined by gcc
Eric Wong wrote:
> gustavo.pedrosa@eldorado.org.br wrote:
> ...
I don't have permissions to close, can you close for me, please?
Thank you very much, indeed.
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
06:15 PM Ruby Bug #10080: Functions marked as "static inline" are not inlined by gcc
Eric Wong wrote:
> I don't think removing "inline" is necessary, either. It is a hint
> ...
Yes, you are right.
So, can I close this issue?
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
04:31 PM Ruby Bug #10080: Functions marked as "static inline" are not inlined by gcc
Eric Wong wrote:
> Can you show a performance difference with always_inline on those
> ...
Sorry, yes, you are right. There is a small performance penalty when
every function marked as inline is, in fact, inlined. There are other
iss...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
06:40 PM Ruby Feature #10081 (Closed): [PATCH] Specifying MACRO for increase performence in ppc64
To increase performance on ppc64 machines, the MACRO "powerpc64" were specified for the architecture, just like for x86_64 machines.
I've executed some benchmarks, see below:
~~~
Benchmark Before (milliseconds) After...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)

07/21/2014

04:50 PM Ruby Bug #10080 (Rejected): Functions marked as "static inline" are not inlined by gcc
Since GCC 4.8.3, some static inline functions (such as rb_call0) are not
inlined in the generated machine code. This happens in both x86-64 and ppc64
platforms and it can be verified by using the following commands:
~~~
(in ppc64)
...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
04:19 PM Ruby Bug #10079 (Closed): Warnings in definition of macro 'PACKED_STRUCT'
After the commit db433dc39d07449184a908d417919e3de8b70405, the building shows many warnings like below:
~~~
compiling pty.c
In file included from pty.c:1:0:
../.././include/ruby/io.h:54:30: warning: 'packed' attribute ignored [-Wat...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)

Also available in: Atom