Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    175
    Views
    4,393

    That segfault is not caused by a NULL pointer (I...

    That segfault is not caused by a NULL pointer (I checked for that before even posting it), I think it's more likely corrupted information being passed onto the handlers, just haven't managed to...
  2. Replies
    175
    Views
    4,393

    Tried calling the function directly and it turned...

    Tried calling the function directly and it turned out it was working perfectly, it seems the fault actually lied in this function:


    int_t alup_rol( alup_t _NUM, alup_t _VAL, void *_tmp )
    {...
  3. Replies
    175
    Views
    4,393

    Realised I was slightly going in the wrong...

    Realised I was slightly going in the wrong direction previously, new code succeeds on rotate by 1 but fails subsequent rotates, any ideas?


    // FIXME: Unfinished train of thought here
    int_t...
  4. Replies
    175
    Views
    4,393

    Not gotten round to retrying to find the cause of...

    Not gotten round to retrying to find the cause of that segfault I was on about but for now I want to ask if anyone has any ideas for finishing this train of thought to a working function:


    //...
  5. Replies
    175
    Views
    4,393

    So am I, I just happened to be interested in the...

    So am I, I just happened to be interested in the inner workings of the CPU is all
  6. Replies
    175
    Views
    4,393

    Done now

    Done now
  7. Replies
    175
    Views
    4,393

    Have you looked at my signature? As for the...

    Have you looked at my signature?

    As for the README, that's something I completely forgot about since creating it at the start of the project, I'll make a few edits 2mw but for now it's basically...
  8. Replies
    175
    Views
    4,393

    1st: what do you mean trying to lose friends? Xey...

    1st: what do you mean trying to lose friends? Xey said xey didn't understand what I was going on about so I suggested a starting point for xem to understand, understanding how binary math works gives...
  9. Replies
    175
    Views
    4,393

    I suggest you youtube binary math then

    I suggest you youtube binary math then
  10. Replies
    175
    Views
    4,393

    Please clarify what parts you struggle to...

    Please clarify what parts you struggle to understand, I did after all try to make it more readable
  11. Replies
    175
    Views
    4,393

    Ended up starting with the subtraction instead of...

    Ended up starting with the subtraction instead of the random additions, now I'm running into a segfault and I have no clue why, stops at this line:
    alu/alup.c at master * awsdert/alu * GitHub
    ...
  12. Replies
    175
    Views
    4,393

    Judging by the lack of responses I can only...

    Judging by the lack of responses I can only predict 3 scenarios:

    1. Peops lost interest (doubt this one)
    2. Peops didn't bother to try any additions they though of (suspect this one strongly)
    3....
  13. Replies
    175
    Views
    4,393

    I FIXED IT!!! It always felt like I needed the...

    I FIXED IT!!!

    It always felt like I needed the original exponents somehow, now I have coded evidence:


    int_t alur__add(
    alu_t *alu
    , alur_t NUM
    , alur_t VAL
    , uint_t cpy
  14. Replies
    175
    Views
    4,393

    I've managed to greatly simplify the FPN addition...

    I've managed to greatly simplify the FPN addition code, still same bug but now the code is far easier to read, it seems adding that extra variable to the shift functions was the greatest mistake I've...
  15. Replies
    175
    Views
    4,393

    Because I initialise them before I use them, it...

    Because I initialise them before I use them, it only kicks up a fuss when there is no sign of it being initialised at all before the attempt to use the information it has

    Here's an example:

    ...
  16. Replies
    175
    Views
    4,393

    Fixed that segfault, turned I had poorly...

    Fixed that segfault, turned I had poorly initialised a few variables in the process of moving core code, anyways I got closer to the correct behavior of FPN, addition, turned out I had to check the...
  17. Replies
    175
    Views
    4,393

    Since I was drawing a blank on how to fix the...

    Since I was drawing a blank on how to fix the exponent I decided to move as much core code into ptr handling variants as possible, now I've a segfault and I'm drawing a blank on the how there also,...
  18. Replies
    175
    Views
    4,393

    In this case I need to first fully understand...

    In this case I need to first fully understand what needs to happen, I find that I tend to understand stuff like this better by actually going through the trial and error stuff, judging by the fact...
  19. Replies
    175
    Views
    4,393

    This is the closest I've gotten: make...

    This is the closest I've gotten:


    make check.run
    ...
    gdb -ex run ../bin/check_alu_d.AppImage
    GNU gdb (GDB) 9.2
    ...
    Reading symbols from ../bin/check_alu_d.AppImage...
    Starting program:...
  20. Replies
    175
    Views
    4,393

    Gotten a heck of a lot closer, realised I forgot...

    Gotten a heck of a lot closer, realised I forgot to take the position of the mantissa bits into account


    int_t alu_reg_addition(
    alu_t *alu
    , alu_reg_t NUM
    , alu_reg_t VAL
    , uint_t cpy...
  21. Replies
    175
    Views
    4,393

    Managed to fix the mantissa, now it just the...

    Managed to fix the mantissa, now it just the exponent that is the problem, I welcome any ideas there:


    int_t alu_reg_addition(
    alu_t *alu
    , alu_reg_t NUM
    , alu_reg_t VAL
    , uint_t cpy
    ,...
  22. Replies
    175
    Views
    4,393

    I finally spotted one of the reasons why my FPN...

    I finally spotted one of the reasons why my FPN math is failing, just can't spot the cause of that reason, basically the mantissa is not far enough to the right by the time the result is given, I've...
  23. Replies
    175
    Views
    4,393

    Thank you :) Wrong fix but helped me see what was...

    Thank you :) Wrong fix but helped me see what was wrong, instead of v being filled n got filled, n was supposed to only refer to either NUM or CPY (depends on where it is used), likewise v is only...
  24. Replies
    175
    Views
    4,393

    Still looking through your post but are you sure...

    Still looking through your post but are you sure you've got up to date files?
    When I look at that line with what I have uploaded all I see is this:

    }
  25. Replies
    175
    Views
    4,393

    You're building the wrong one for the bug I...

    You're building the wrong one for the bug I experienced, you have however reminded me that I need to go fix that file again after the minor API change, use "make check" or if you have gede installed...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4