[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2013-08-14T08:49:32+00:00 https://parallella.org/forums/feed.php?f=43&t=542 2013-08-14T08:49:32+00:00 2013-08-14T08:49:32+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3343#p3343 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> Statistics: Posted by simoncook — Wed Aug 14, 2013 8:49 am


]]>
2013-08-14T07:51:34+00:00 2013-08-14T07:51:34+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3339#p3339 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]>
2 instructions to implement lea would be fine even if it wasn't reduced :). An absolute lea for resolving far labels might also be handy. I guess I was wondering if it should have assembler support (analagous to the = syntax on arm, or lea on 68k), or just leave it to a macro/manual.

One of my initial thoughts on utilising the cores was a 'shader' based mechanism that used async dma to hide code and data overlays, and my first approach would be to utilise PIC to allow flexibility; and then i noticed the compiler didn't support it. So I went to look how it could be done. Of course, even in plain C there are ways around this such as a custom function call table using a base pointer. I'm leaving that idea on hold for the moment whilst i get more familiar with the device.

Thanks for creating the assembly forum too. IMO The small instruction set, lots of registers, and small memory size makes both hand assembly and (dynamically) generated code approaches that will be used.

Statistics: Posted by notzed — Wed Aug 14, 2013 7:51 am


]]>
2013-08-13T23:05:50+00:00 2013-08-13T23:05:50+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3331#p3331 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> Statistics: Posted by hewsmike — Tue Aug 13, 2013 11:05 pm


]]>
2013-08-13T13:18:02+00:00 2013-08-13T13:18:02+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3307#p3307 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> Statistics: Posted by Gravis — Tue Aug 13, 2013 1:18 pm


]]>
2013-08-13T13:13:36+00:00 2013-08-13T13:13:36+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3305#p3305 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> Statistics: Posted by 9600 — Tue Aug 13, 2013 1:13 pm


]]>
2013-08-13T06:06:34+00:00 2013-08-13T06:06:34+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3295#p3295 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> Statistics: Posted by Gravis — Tue Aug 13, 2013 6:06 am


]]>
2013-08-13T04:15:26+00:00 2013-08-13T04:15:26+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3292#p3292 <![CDATA[Re: position independent code, pc-relative, assembly forum?]]> reduced instruction set ... :-)

Fair points. LEA is probably the sort of thing you could mimic with a parameterised macro. In fact there's a fair bit of scope for macro use with Epiphany to emulate 'higher' operations typical of CISC's.

The other one I see is not there is a COMPARE ie. set the flags as per the difference of two operands, but no modification of said operands. But that wouldn't be hard to mimic, just pick some register as scratch for the destination to a SUB.

As for an assembly language forum : I'd be happy to see one and contribute. Surely there must be more than two of us prepared to crawl over broken glass across the software landscape. :-)

Cheers, Mike.

Statistics: Posted by hewsmike — Tue Aug 13, 2013 4:15 am


]]>
2013-08-11T08:23:01+00:00 2013-08-11T08:23:01+00:00 https://parallella.org/forums/viewtopic.php?t=542&p=3250#p3250 <![CDATA[position independent code, pc-relative, assembly forum?]]>
After a bit of searching it seems movfs can be used to access the PC, and I presume from that one could emulate a "load effective address" opcode. Although without assembler + linker support, the offset would need to be manually calculated and only work within single compilation units.

An 11-bit signed lea psuedo-op could be implemented using 2 instructions without requiring additional registers, movfs and add immediate. Is this, or some alternative mechanism planned/in the works for e-gas?

I also noticed that for all the language forums there isn't one for assembly language, although I wouldn't be fussed if it stayed that way.

Statistics: Posted by notzed — Sun Aug 11, 2013 8:23 am


]]>