http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #1 from Manu 2012-01-31 17:27:58 PST ---
There's a bunch of other handy immediates too:
-1 = cmpeq(anyReg, anyReg)
- 1 opcode, always better than a load
1,3,7,15,etc can be generated by shifting -1 right by some immediate
- 2 op
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #2 from Manu 2012-03-01 13:53:30 PST ---
I'd like to see this promoted above the priority of other SIMD tasks.
This is holding me up. I can't write unit tests without literals.
--
Configure issuemail: http://d.puremagic.com/issues
http://d.puremagic.com/issues/show_bug.cgi?id=7413
Sean Cavanaugh changed:
What|Removed |Added
CC||worksonmymach...@gmail.com
--- Commen
http://d.puremagic.com/issues/show_bug.cgi?id=7413
Manu changed:
What|Removed |Added
Severity|normal |blocker
--
Configure issuemail: http://d.purem
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #4 from Manu 2012-03-11 12:11:46 PDT ---
Walter had planned to use standard array literal syntax as far as I knew:
float4 v = [1.0, 2.0, 3.0, 4.0];
shourt8 sv = [1,2,3,4,5,6,7,8];
How he intended to disambiguate the type, I have no
http://d.puremagic.com/issues/show_bug.cgi?id=7413
SomeDude changed:
What|Removed |Added
CC||lovelyd...@mailmetrash.com
--- Comment #5 f
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #7 from Manu 2012-05-01 07:44:29 PDT ---
(In reply to comment #6)
> Note that for the moment you can do things like:
>
> int[4] o = [1,2,3,4];
> int4 v1;
> v1.array = o;
Indeed, but that's not something you can just ty
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #8 from Walter Bright 2012-05-01
10:40:39 PDT ---
I'm looking in to it, I just thought that the workaround could keep you going
for the moment.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
---
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #9 from Manu 2012-05-01 10:51:12 PDT ---
(In reply to comment #8)
> I'm looking in to it, I just thought that the workaround could keep you going
> for the moment.
Yeah, no worries. Already on it. Cheers :)
--
Configure issuemail
/b4ab1b0982a68284dcb8780e7d1e5f701aeefaa5
fix Issue 7413 - Vector literals don't work
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7413
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #12 from Manu 2012-05-02 06:55:58 PDT ---
(In reply to comment #11)
> Haven't done the special case optimizations for constant loading.
No problem, I'm using GDC anyway which might detect those in the back end.
An efficient implem
http://d.puremagic.com/issues/show_bug.cgi?id=7413
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #13 from Don
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #14 from Manu 2012-05-02 13:06:19 PDT ---
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > Haven't done the special case optimizations for constant loading.
> >
> > No problem, I'm using GDC
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #15 from Don 2012-05-02 15:12:18 PDT ---
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > (In reply to comment #11)
> > > > Haven't done the special case optimizations for constant loading.
>
http://d.puremagic.com/issues/show_bug.cgi?id=7413
--- Comment #16 from Manu 2012-05-03 03:25:43 PDT ---
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > (In reply to comment #12)
> > > > (In reply to comment #11)
> > > > > Haven't done the special case
16 matches
Mail list logo