NO

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Expert questions / Re: 128-bit intrinsic math buggy?
« Last post by frankie on May 26, 2023, 11:49:40 PM »
It seems that for the functions _umul128() and _udiv128() the compiler don't emits the intrinsic code, but emits a call to the specific function that, obviously, is missing (doesn't exist in any library).
For me is a compiler bug.
12
Assembly discussions / FOR macro
« Last post by Vortex on May 24, 2023, 08:17:44 PM »
Here is a simple FOR macro for Poasm to handle more effectively the loops :

Code: [Select]
ForCounter = 0

FOR_ MACRO var,init,_end

    mov     var,init

    ForCounter=ForCounter+1

@CatStr(<Cnd>,ForCounter)= _end

@CatStr(<ForLoop>,ForCounter) :

ENDM

NEXT MACRO var

    inc     var

    cmp     var,@CatStr(<Cnd>,ForCounter)

    jbe     @CatStr(<ForLoop>,ForCounter)

ENDM
13
Chit-Chat / Re: OnePlus
« Last post by John Z on May 24, 2023, 10:54:13 AM »
I'm glad I've seen this.  OnePlus has been on my radar for the 'next' phone, guess not now..
Nokia was my first possibly best too, Blackberry Touch version 1 was excellent....now Samsung
as primary and Xiaomei Note 10 Pro (international version) to use when traveling.  Dislike the
trend to monster sized phones too.

Crap apps are a bane too though.  Lost 32Gig of what I at least thought was worth saving on a 64 Gig Flash
Drive when the iKlips software went buggy and wiped it out....no recovery software could get more than
the list of filenames....sad - backup to backups !

John Z
14
Expert questions / 128-bit intrinsic math buggy?
« Last post by Akko on May 24, 2023, 12:21:06 AM »
The following code works in MSVC (64-bit) but I cannot make it run in PC12 (64-bit console):

// Intrinsic 128-bit multiplication/division test

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <intrin.h>

int main(void) {
   uint64_t upl,uph,uq,ur=7;
   upl=_umul128(-1,2,&uph);
   printf("\nuph=1?%d upl=-2?%d",(int)uph,(int)upl);
   uq=_udiv128(uph,upl,2,&ur);
   printf("\nuq=-1?%d ur=0?%d",(int)uq,(int)ur);
   return 0;
}

I tried /Ze compiler flags et cetera, but PC12 always struggles with the division  :-(
Multiplication is no issue.
15
Chit-Chat / Re: OnePlus
« Last post by TimoVJL on May 23, 2023, 03:58:45 PM »
My normal phone is Samsung, i have used Samsungs since 2013.
Before Samsung, i had Nokia 51e
Samsung Galaxy S4 mini was a very good small phone.


16
Chit-Chat / Re: OnePlus
« Last post by Pelle on May 22, 2023, 10:50:51 AM »
Yeah. I guess by paying for a known brand, it's not just about the brand name itself but also a hope of better quality control...
17
Chit-Chat / Re: OnePlus
« Last post by frankie on May 21, 2023, 09:36:12 PM »
I have always used only SAMSUNG after NOKIA stopped the business. Obviously not because I was considering any malware issue anyway, but it has been a good choice seems...  :(
The real problem is that more complex are the devices more easy is to hide something malicious running inside.  >:(
18
User contributions / Re: Computing the QTH locator (For SWL)
« Last post by John Z on May 21, 2023, 05:50:03 PM »
Nice - I never knew shortwave radio available to listen over the internet!

Great!

John Z
19
Chit-Chat / Re: OnePlus
« Last post by Pelle on May 21, 2023, 04:53:04 PM »
20
Chit-Chat / OnePlus
« Last post by TimoVJL on May 21, 2023, 02:27:36 PM »
It's just so sad, that you can't trust chinese phone.
Mine OnePlus lost all photos, so i bought a Deep Scan application to recover some of those.
A small part of photos was recovered, but don't ever trust OnePlus phone, do backups continuously.
Good phone with good camera, but not as reliable as Samsung.


Pages: 1 [2] 3 4 ... 10